apiVersion: v1 kind: Service metadata: name: {{ include "mimir.resourceName" (dict "ctx" . "component" "store-gateway") }}-headless labels: {{- include "mimir.labels" (dict "ctx" . "component" "store-gateway" "memberlist" true) | nindent 4 }} prometheus.io/service-monitor: "false" {{- with .Values.store_gateway.service.labels }} {{- toYaml . | nindent 4 }} {{- end }} annotations: {{- toYaml .Values.store_gateway.service.annotations | nindent 4 }} namespace: {{ .Release.Namespace | quote }} spec: type: ClusterIP clusterIP: None ports: - port: {{ include "mimir.serverHttpListenPort" .}} protocol: TCP name: http-metrics targetPort: http-metrics - port: {{ include "mimir.serverGrpcListenPort" . }} protocol: TCP name: grpc targetPort: grpc selector: {{- include "mimir.selectorLabels" (dict "ctx" . "component" "store-gateway" "memberlist" true) | nindent 4 }}