When Flux CD misbehaves, the cause is usually one of a handful of familiar issues. Here is how to spot and fix them fast.
The usual suspects
- Long reconcile intervals hiding how stale the cluster is
- Forgetting prune:true, so deleted files stay live in the cluster
- No notifications wired up, so failed reconciliations go unnoticed
Commands for diagnosis
flux get kustomizations
flux reconcile kustomization web --with-source
flux suspend kustomization webPrevent the repeat
- Set prune:true and sensible intervals per Kustomization
- Use the notification controller to alert on reconcile failures
- Separate infrastructure and app Kustomizations with dependsOn
Want senior help putting Flux CD to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.