Argo CD shows an app as `OutOfSync` constantly though nothing changed. Why?
IntermediateScenarioHelm, operators and GitOps
Answer
Situation read → A Deployment is always out of sync with Git.
What I'd do →
argocd app diff webto see the differing fields- Typical causes: HPA changing replicas, mutating webhooks adding fields, controllers adding defaults
- Add
ignoreDifferenceswith jsonPointers - Remove
replicasfrom Git when using HPA - Use
ServerSideApply=truesync option
Why → Fields written by other controllers show as drift unless ignored.
Interview tip → Mention managedFieldsManagers.
More on Helm, operators and GitOps
A `helm upgrade` failed halfway. How do you see state and recover?BeginnerHelm says `cannot re-use a name that is still in use` or `another operation is in progress`. What now?IntermediateHow do you review what a Helm upgrade will change before running it?IntermediateWhere do you keep chart values for multiple environments?BeginnerWhat does `helm template` do and how is it different from `helm install`?BeginnerA Helm chart upgrade changed an immutable field and failed. How do you proceed?Advanced