How do notifications work for sync and health events?
Short answer
The Argo CD Notifications controller (now built-in) sends alerts to Slack, email, Teams, webhooks, etc., based on triggers (e.g., on-sync-failed, on-health-degraded) and templates.
Advertisement
AModel answer
The Argo CD Notifications controller (now built-in) sends alerts to Slack, email, Teams, webhooks, etc., based on triggers (e.g., on-sync-failed, on-health-degraded) and templates. You configure triggers/templates in a ConfigMap and subscribe apps via annotations, enabling proactive alerting on failures or drift.
metadata:
annotations:
notifications.argoproj.io/subscribe.on-health-degraded.slack: my-channelReal-world example
When an app goes Degraded, the team gets a Slack alert immediately via the notifications controller.
Likely follow-ups
- What triggers are available? | How do you subscribe an app to notifications?
Related topics