VID Resiliency & Scalability
[oom.git] / kubernetes / vid / charts / vid-galera / templates / service.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   annotations:
5     service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
6 #  name: {{ include "common.servicename" . }}
7   name: {{ .Values.service.name }}
8   namespace: {{ include "common.namespace" . }}
9   labels:
10     app: {{ include "common.fullname" . }}
11     chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
12     release: "{{ .Release.Name }}"
13     heritage: "{{ .Release.Service }}"
14 spec:
15   ports:
16     - name: {{ .Values.service.portName }}
17       port: {{ .Values.service.internalPort }}
18   clusterIP: None
19   selector:
20     app: {{ include "common.fullname" . }}