1234567891011121314151617181920212223242526272829303132333435363738 |
- apiVersion: v1
- kind: Service
- metadata:
- name: {{ include "loki.queryFrontendFullname" . }}
- namespace: {{ .Release.Namespace }}
- labels:
- {{- include "loki.queryFrontendLabels" . | nindent 4 }}
- {{- with .Values.queryFrontend.serviceLabels }}
- {{- toYaml . | nindent 4 }}
- {{- end }}
- {{- with .Values.loki.serviceAnnotations }}
- annotations:
- {{- toYaml . | nindent 4 }}
- {{- end }}
- spec:
- type: ClusterIP
- publishNotReadyAddresses: true
- ports:
- - name: http
- port: 3100
- targetPort: http
- protocol: TCP
- - name: grpc
- port: 9095
- targetPort: grpc
- protocol: TCP
- {{- if .Values.queryFrontend.appProtocol.grpc }}
- appProtocol: {{ .Values.queryFrontend.appProtocol.grpc }}
- {{- end }}
- - name: grpclb
- port: 9096
- targetPort: grpc
- protocol: TCP
- {{- if .Values.queryFrontend.appProtocol.grpc }}
- appProtocol: {{ .Values.queryFrontend.appProtocol.grpc }}
- {{- end }}
- selector:
- {{- include "loki.queryFrontendSelectorLabels" . | nindent 4 }}
|