Interview Prep/GitOps & Argo CD/OutOfSync Loops & Diff Problems

A Deployment is OutOfSync on `resources.limits.cpu`: Git says `1000m`, live says `1`.

IntermediateTroubleshootingOutOfSync Loops & Diff Problems
Answer

Likely causes → The API server normalizes quantities. Argo CD normalizes most cases, but some combinations (especially inside CRDs, which are not normalized by Argo CD's known-type logic) remain.

Diagnose → argocd app diff shows the quantity formats; check whether the object is a built-in kind or a CRD.

Fix → Write canonical values (cpu: "1", memory: 512Mi) or enable ServerSideDiff=true.

Prevent → Standardize quantity formats in chart defaults.

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

More on OutOfSync Loops & Diff Problems