Skip to content

Instantly share code, notes, and snippets.

@nfons
Created December 13, 2018 19:48
Show Gist options
  • Save nfons/9c05f5445ea4be65990ed75261bfbd6b to your computer and use it in GitHub Desktop.
Save nfons/9c05f5445ea4be65990ed75261bfbd6b to your computer and use it in GitHub Desktop.
Service.yaml
apiVersion: v1
kind: Service
metadata:
name: helloweb
labels:
app: hello
spec:
selector:
app: hello
tier: web
ports:
- port: 80
targetPort: 8080
type: LoadBalancer
loadBalancerIP: "YOUR.IP.ADDRESS.HERE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment