Interview Prep/Kubernetes/Helm, operators and GitOps

How would you migrate workloads from `kubectl apply` scripts to Argo CD without downtime?

AdvancedScenarioHelm, operators and GitOps
Answer

Situation read → Many resources already exist, deployed manually.

What I'd do →

  1. Commit current live manifests to Git (kubectl get -o yaml cleaned)
  2. Create the Argo Application with automated sync off
  3. Use argocd app diff until it is clean
  4. Enable sync without prune first
  5. Then enable prune and self-heal

Why → Adoption is safe when Argo sees no difference before taking control.

Interview tip → Say you do the first sync manually.

All Kubernetes questions Roadmap: Platform engineering

More on Helm, operators and GitOps