apiVersion: v1 kind: Service metadata: name: {{ template "tempo.resourceName" (dict "ctx" . "component" "querier") }} namespace: {{ .Release.Namespace }} labels: {{- include "tempo.labels" (dict "ctx" . "component" "querier") | nindent 4 }} {{- with .Values.querier.service.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} spec: ports: - name: http-metrics port: 3100 protocol: TCP targetPort: 3100 - name: grpc port: 9095 protocol: TCP targetPort: 9095 {{- if .Values.querier.appProtocol.grpc }} appProtocol: {{ .Values.querier.appProtocol.grpc }} {{- end }} selector: {{- include "tempo.selectorLabels" (dict "ctx" . "component" "querier" "memberlist" true) | nindent 4 }}