k8wiz
Argo CD
Hard
Syncing & Deployment

An app has a PreSync migration Job. You run argocd app sync shop --resource apps:Deployment:web. What happens to the migration Job?

Select your answer:

Show answer and explanation

Answer: It does not run, since selective syncs skip hooks

Explanation

Passing --resource makes the operation a selective sync, and Argo CD does not run hooks during a selective sync. Only the named Deployment is applied, so new pods can start against the old schema. Run a full sync for releases that carry schema changes.

Read more about Argo CD