Interview Prep/GitOps & Argo CD/Argo CD Architecture & Internals

What does the application controller do on each reconcile?

IntermediateConceptArgo CD Architecture & Internals
Answer
  1. Asks the repo-server for the desired manifests at the resolved revision.
  2. Reads live state from its in-memory cluster cache (built from watches on every resource kind in each managed cluster).
  3. Normalizes and diffs desired vs live, applying ignoreDifferences.
  4. Computes sync status and health (built-in and Lua checks).
  5. If automated sync applies, or a user requested a sync, runs the sync operation (phases, waves, hooks) with kubectl apply semantics.
  6. Writes the result into the Application's .status.
All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Argo CD Architecture & Internals