Back to results for “GitOps Principles”
ArgoCD › GitOps Principles

What role do webhooks play in GitOps with ArgoCD?

Intermediate

Answer

Git webhooks notify ArgoCD immediately when a repo changes, triggering reconciliation without waiting for the poll interval. This shortens deploy latency from minutes to seconds and reduces unnecessary polling load, while polling remains a fallback if a webhook is missed.
# Configure a webhook to POST to /api/webhook on push
Real-world example A push to main triggers an ArgoCD webhook, syncing the change within seconds instead of the next 3-minute poll.

Common follow-ups: What happens if a webhook is missed? | How much latency do webhooks save?