Skip to content

Instantly share code, notes, and snippets.

@akash-gautam
Created March 25, 2019 06:47
Show Gist options
  • Save akash-gautam/2a89fb0eaa65f4a3c087b6cff3cacd14 to your computer and use it in GitHub Desktop.
Save akash-gautam/2a89fb0eaa65f4a3c087b6cff3cacd14 to your computer and use it in GitHub Desktop.
service.yaml file for hello app
apiVersion: v1
kind: Service
metadata:
name: helloapp
spec:
type: {{ .Values.service.type }}
ports:
- name: helloapp
port: {{ .Values.service.port }}
protocol: TCP
targetPort: {{ .Values.service.targetPort }}
selector:
app: helloapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment