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

27 lines
953 B
YAML

{{- if .Values.ruler.remoteEvaluationDedicatedQueryPath }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "mimir.resourceName" (dict "ctx" . "component" "ruler-querier") }}
labels:
{{- include "mimir.labels" (dict "ctx" . "component" "ruler-querier" "memberlist" true) | nindent 4 }}
{{- with .Values.ruler_querier.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations:
{{- toYaml .Values.ruler_querier.service.annotations | nindent 4 }}
namespace: {{ .Release.Namespace | quote }}
spec:
type: ClusterIP
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" "ruler-querier" "memberlist" true) | nindent 4 }}
{{- end }}