grafana: drop alerting Service and POD_IP env owned by grafana-operator #510

Merged
benvin merged 1 commits from benvin/grafana-alerting-dedupe into main 2026-10-02 22:44:54 +10:00
Member

grafana-operator already creates the headless grafana-alerting Service (port 9094) and injects POD_IP into the grafana container, so the copies added in #509 make Argo CD and the operator fight over the same objects.

  • remove service-alerting.yaml from the grafana base
  • remove the POD_IP env entry from the Grafana CR
  • keep the unified_alerting ha_* config, which targets the operator's Service
grafana-operator already creates the headless `grafana-alerting` Service (port 9094) and injects `POD_IP` into the grafana container, so the copies added in #509 make Argo CD and the operator fight over the same objects. - remove `service-alerting.yaml` from the grafana base - remove the `POD_IP` env entry from the Grafana CR - keep the `unified_alerting` `ha_*` config, which targets the operator's Service
unkin-agent added 1 commit 2026-10-02 22:41:05 +10:00
grafana: drop alerting Service and POD_IP env owned by grafana-operator
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
adaa74e9e2
Author
Member
  • apps/base/grafana/grafana.yaml:50 — nit: operator grafana-alerting Service sets no publishNotReadyAddresses (the removed one did), so ha_peers DNS lists only Ready pods; on a cold 3-replica start peers are found only after readiness (gossip retries, converges). Accept, or confirm HA forms after rollout.
- apps/base/grafana/grafana.yaml:50 — nit: operator `grafana-alerting` Service sets no `publishNotReadyAddresses` (the removed one did), so `ha_peers` DNS lists only Ready pods; on a cold 3-replica start peers are found only after readiness (gossip retries, converges). Accept, or confirm HA forms after rollout.
benvin merged commit 5a8559e97c into main 2026-10-02 22:44:54 +10:00
benvin deleted branch benvin/grafana-alerting-dedupe 2026-10-02 22:44:54 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/argocd-apps#510