Last active
October 27, 2016 15:00
-
-
Save bkonkle/7aa3e6374330c80542d795cc734a0a75 to your computer and use it in GitHub Desktop.
Helm Load Balancer example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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