Argo CD
Medium
CLI Usage
Which flag enables automatic self-healing (sync on drift) for an Argo CD application?
Select your answer:
Show answer and explanation
Answer: --self-heal
Explanation
Use `argocd app set <appName> --self-heal` to tell Argo CD to automatically sync the application if the live cluster state drifts from Git.
More medium Argo CD questions
- Which `argocd repo list` option forces a refresh of the repository connection status?
- By default, what happens to an application’s resources when you delete it with `argocd app delete`?
- True or False: The Argo CD Web UI allows users to manually synchronize applications.
- What can you configure in an Argo CD AppProject?
- In which Kubernetes namespace must you apply an Argo CD Application resource manifest?
- Which command enables automated synchronization (auto-deploy) for an Argo CD application?