Skip to content

Instantly share code, notes, and snippets.

@inyee786
Created April 2, 2019 07:05
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/395b68284d70fdcb4b70771851b59803 to your computer and use it in GitHub Desktop.
Save inyee786/395b68284d70fdcb4b70771851b59803 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
labels:
service-label-key: service-label-value
name: service-name
spec:
type: ClusterIP
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