Use Flux CD drift detection with the Kustomization reconciliation interval and health checks to detect and alert on out-of-band cluster changes

domain: fluxcd.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Set a short reconciliation interval on the Kustomization object to reduce the window between a drift event and its detection
  2. Add a healthChecks block listing the Deployments, StatefulSets, or other workload resources whose Ready status Flux should verify after applying manifests
  3. Configure Flux notification-controller with an Alert targeting a Provider such as Slack or PagerDuty, and use the event severity level to differentiate drift warnings from hard failures
  4. Simulate drift by manually scaling a Deployment outside of Git and observe the Kustomization condition transition to a failed or degraded state within one reconciliation interval
  5. Review the Flux event stream and notification delivery to confirm the alert reaches the configured provider and contains actionable context about the drifted resource

Known gotchas

Related routes

Enable HCP Terraform workspace health assessments for drift detection and continuous validation
developer.hashicorp.com/terraform/cloud-docs · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans