Argo CD
Medium
Syncing & Deployment
Which command enables automated synchronization (auto-deploy) for an Argo CD application?
Select your answer:
Show answer and explanation
Answer: `argocd app set <appName> --sync-policy automated`
Explanation
Setting `--sync-policy automated` on an application (e.g. `argocd app set guestbook --sync-policy automated`) enables automated syncing for that application.
More medium Argo CD questions
- How can you configure Argo CD to automatically reconcile an application when its live state changes outside of Git?
- Which sync option would use `kubectl replace` instead of apply for resources?
- If you enable anonymous access in Argo CD (`users.anonymous.enabled`), what permissions do anonymous users have by default?
- Which identity provider is NOT listed as supported out-of-the-box by Argo CD for SSO integration?
- In Argo CD RBAC policy CSV, which prefix is used to assign a user or group to a role?
- In Argo CD RBAC policy CSV, which prefix is used to define a permission rule (policy)?