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 · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified 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

Force Flux CD reconciliation via annotations and the Flux CLI
fluxcd.io/flux/cmd · 5 steps · unrated
Enable HCP Terraform workspace health assessments for drift detection and continuous validation
developer.hashicorp.com/terraform/cloud-docs · 6 steps · unrated
Detect and remediate drift in an AWS CloudFormation stack using the detect-stack-drift API
docs.aws.amazon.com/AWSCloudFormation · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

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