Skip to content

Instantly share code, notes, and snippets.

@PLaRoche
Created June 5, 2018 14:40
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 PLaRoche/b8679758768c49317d7be3954abcb351 to your computer and use it in GitHub Desktop.
Save PLaRoche/b8679758768c49317d7be3954abcb351 to your computer and use it in GitHub Desktop.
sample k8s service
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
io.kompose.service: web
randomlabel : website
name: web
spec:
ports:
- name: "8080"
port: 8080
targetPort: 80
selector:
io.kompose.service: web
randomlabel : website
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment