Skip to content

Commit

Permalink
Helm: Change Ruler to not use alertmanager headless service.
Browse files Browse the repository at this point in the history
The jsonnet deployment configures the Ruler to use the cluster IP alertmanager
service, whereas the Helm deployment uses the headless service. This change
updates the Helm chart to match the jsonnet.

The reason we do not need to use a headless service for Mimir Alertmanager is
because it has a distributor built in, so it's only necessary to send alerts
to a single Alertmanager replica, and they will be then distributed to the
correct three replicas for the tenant.
  • Loading branch information
stevesg committed Apr 12, 2024
1 parent 9930b29 commit 647735a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operations/helm/charts/mimir-distributed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ mimir:
max_outstanding_requests_per_tenant: 800
ruler:
alertmanager_url: dnssrvnoa+http://_http-metrics._tcp.{{ template "mimir.fullname" . }}-alertmanager-headless.{{ .Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}/alertmanager
alertmanager_url: dnssrvnoa+http://_http-metrics._tcp.{{ template "mimir.fullname" . }}-alertmanager.{{ .Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}/alertmanager
enable_api: true
rule_path: /data
Expand Down

0 comments on commit 647735a

Please sign in to comment.