123456789101112131415161718192021222324252627282930 |
- apiVersion: v1
- kind: Service
- metadata:
- name: {{ include "loki.ingesterFullname" . }}
- namespace: {{ .Release.Namespace }}
- labels:
- {{- include "loki.ingesterLabels" . | nindent 4 }}
- {{- with .Values.ingester.serviceLabels }}
- {{- toYaml . | nindent 4 }}
- {{- end }}
- {{- with .Values.loki.serviceAnnotations }}
- annotations:
- {{- toYaml . | nindent 4 }}
- {{- end }}
- spec:
- type: ClusterIP
- ports:
- - name: http
- port: 3100
- targetPort: http
- protocol: TCP
- - name: grpc
- port: 9095
- targetPort: grpc
- protocol: TCP
- {{- if .Values.ingester.appProtocol.grpc }}
- appProtocol: {{ .Values.ingester.appProtocol.grpc }}
- {{- end }}
- selector:
- {{- include "loki.ingesterSelectorLabels" . | nindent 4 }}
|