Skip to content

Instantly share code, notes, and snippets.

@inyee786
Last active September 2, 2019 19:14
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 inyee786/4ea635c5c821898ae49bb66e3614b599 to your computer and use it in GitHub Desktop.
Save inyee786/4ea635c5c821898ae49bb66e3614b599 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
labels:
service-label-key: service-label-value
name: service-name-loadbalancer
spec:
type: LoadBalancer
ports:
- name: service-port-name
port: 80
protocol: TCP
selector:
deployment-label-key: deployment-label-value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment