Created
September 26, 2019 15:58
-
-
Save d33d33/f57681a7cc4a9c990e406563752ab572 to your computer and use it in GitHub Desktop.
K8S Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: my-lb | |
spec: | |
selector: | |
app: my-app | |
ports: | |
- name: http | |
protocol: TCP | |
port: 80 | |
targetPort: 9200 | |
type: LoadBalancer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment