What does the application controller do on each reconcile?
IntermediateConceptArgo CD Architecture & Internals
Answer
- Asks the repo-server for the desired manifests at the resolved revision.
- Reads live state from its in-memory cluster cache (built from watches on every resource kind in each managed cluster).
- Normalizes and diffs desired vs live, applying
ignoreDifferences. - Computes sync status and health (built-in and Lua checks).
- If automated sync applies, or a user requested a sync, runs the sync operation (phases, waves, hooks) with
kubectl applysemantics. - Writes the result into the Application's
.status.
More on Argo CD Architecture & Internals
What are the main components of Argo CD?BeginnerWhat does the argocd-repo-server do, and what does it not do?BeginnerWhat is stored in Redis, and what happens if Redis is lost?IntermediateWhy is the application controller a StatefulSet rather than a Deployment?AdvancedWhere does Argo CD keep its configuration?BeginnerHow does the Argo CD CLI talk to the server?Beginner