Skip to content

Instantly share code, notes, and snippets.

@bkonkle
Last active October 27, 2016 15:00
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 bkonkle/7aa3e6374330c80542d795cc734a0a75 to your computer and use it in GitHub Desktop.
Save bkonkle/7aa3e6374330c80542d795cc734a0a75 to your computer and use it in GitHub Desktop.
Helm Load Balancer example
apiVersion: v1
kind: Service
metadata:
name: {{ template "fullname" . }}
labels:
app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
type: LoadBalancer
ports:
- name: node
port: {{ .Values.port }}
targetPort: node
selector:
app: {{ template "fullname" . }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment