Skip to content

Instantly share code, notes, and snippets.

@nfons
Created December 13, 2018 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nfons/cc2f5881bbe4808a41a29e4c6f83f574 to your computer and use it in GitHub Desktop.
Save nfons/cc2f5881bbe4808a41a29e4c6f83f574 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: helloweb
labels:
app: hello
spec:
selector:
app: hello
tier: web
ports:
- port: 80
targetPort: 8080
type: LoadBalancer
loadBalancerIP: {{.HTTPSVC_LB_IP}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment