Interview Prep/GitOps & Argo CD/The Application CRD & Sync Policies

Explain `selfHeal`. When might you not want it?

IntermediateConceptThe Application CRD & Sync Policies
Answer

With selfHeal: true, Argo CD syncs whenever live state diverges from Git, even without a new commit, so manual edits are reverted within seconds. You might disable it during incident response (an on-call engineer scales a Deployment and does not want it undone), for prod where every change must be a human-initiated sync, or for resources that controllers legitimately modify and you have not yet excluded. Prefer pausing via argocd app set --self-heal=false temporarily, with the change tracked.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on The Application CRD & Sync Policies