Last active
October 3, 2017 13:22
-
-
Save 0xAhmed/d8b27bf01205fa91f13dac8d7330684c to your computer and use it in GitHub Desktop.
Example k8s LB as a 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: app-lb | |
spec: | |
type: LoadBalancer | |
ports: | |
- name: http | |
port: 80 | |
targetPort: 8080 | |
protocol: TCP | |
selector: | |
app: kubeapp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment