Interview Prep/GitOps & Argo CD/Sync Behaviour, Waves & Hooks

You need to delete an Application but keep all its workloads running (handing over to another team's app). How?

IntermediateScenarioSync Behaviour, Waves & Hooks
Answer

Situation read → Non-cascading delete.

What I'd do →

  1. argocd app delete web --cascade=false (or remove the resources-finalizer.argocd.argoproj.io finalizer before kubectl delete).
  2. Create the new Application pointing at the same manifests and sync; it adopts the resources.
  3. Verify no pods restarted and the old tracking annotation is replaced.

Why → Without the finalizer, Argo CD removes only the Application object.

Interview tip → Warn that deleting a parent app-of-apps with prune can cascade into children unless they also lack finalizers.

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

More on Sync Behaviour, Waves & Hooks