Files
devops-infra-helm-charts-gcp/helm-templates/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml
T
2026-08-26 03:39:42 +05:30

28 lines
954 B
YAML

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 }}