Created
December 26, 2018 18:09
-
-
Save kimschles/210821e4ad84e8382a7a5c6156830cd1 to your computer and use it in GitHub Desktop.
service example for beginners_guide_to_k8s
This file contains hidden or 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
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: dvlp-app | |
| labels: | |
| app: dvlp-app | |
| spec: | |
| type: LoadBalancer | |
| ports: | |
| - name: http | |
| protocol: TCP | |
| port: 80 | |
| targetPort: 8080 | |
| selector: | |
| app: dvlp-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment