Skip to content

Instantly share code, notes, and snippets.

@karthikeyanVK
Created September 15, 2020 12:54
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 karthikeyanVK/3d5973d2276042573a97965c92f56a13 to your computer and use it in GitHub Desktop.
Save karthikeyanVK/3d5973d2276042573a97965c92f56a13 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-products-service
labels:
app: {{ .Values.products.label.name }}
spec:
ports:
- port: {{ .Values.products.service.port }}
protocol: TCP
targetPort: {{ .Values.products.container.port }}
selector:
app: {{ .Values.products.label.name }}
type: {{ .Values.products.service.type }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment