kafkamagic-service.yml 473 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apiVersion: v1
kind: Service
metadata:
  namespace: "{{ .Values.k8sNamespace }}"
  name: "{{ .Values.k8sGroup }}-{{ .Values.k8sName }}-service"
  labels:
    app: "{{ .Values.k8sGroup }}-{{ .Values.k8sName }}"
    group: "{{ .Values.k8sGroupName }}"
spec:
  ports:
    - port: {{ .Values.servicePort }}
      targetPort: {{ .Values.internalPort }}
  selector:
    app: "{{ .Values.k8sGroup }}-{{ .Values.k8sName }}"
    group: "{{ .Values.k8sGroupName }}"
  clusterIP: None