Interview Prep/GitOps & Argo CD/Operations, Scale, Upgrades & DR

After a big refactor of the config repo, you want to verify that nothing in the cluster will change. How?

IntermediateScenarioOperations, Scale, Upgrades & DR
Answer

Situation read → Refactor should be a no-op for live state.

What I'd do →

  1. Render both versions in CI (helm template, kustomize build) and diff the outputs; any difference must be intended.
  2. Point a copy of an Application at the PR branch with no sync policy, or run argocd app diff <app> --local <path> / --revision <branch> for each affected app.
  3. Merge only when diffs are empty, with prune disabled for the first sync.

Why → Rendering diffs prove equivalence before Argo CD acts.

Interview tip → Mention tools like argocd-diff-preview or rendered-manifest diffs in PR comments.

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

More on Operations, Scale, Upgrades & DR