What is the primary function of the 'reconciliation loop' in GitOps?
The reconciliation loop polls or watches Git for the declared desired state, compares it against live cluster resources, and applies or reverts changes so the two converge. This continuous comparison-and-correction mechanism is precisely what maintains Git as the authoritative source of truth.
Why this answer
The reconciliation loop is the core control mechanism of GitOps: an agent continuously observes the actual state of the cluster and compares it to the desired state stored in Git, then takes corrective action to eliminate any difference. This closed-loop feedback ensures the cluster converges on the declared configuration and stays there despite manual changes, failures, or drift. It is what makes Git the authoritative source of truth in practice.
Exam trap
The trap is confusing the reconciliation loop with CI/CD build pipelines — candidates must remember that GitOps reconciliation is about continuously enforcing desired state, not compiling code or managing access.
How to eliminate wrong answers
Option B is wrong because user access control is handled by RBAC and authentication mechanisms (OIDC, certificates), not by the reconciliation loop, which deals with configuration state rather than identity. Option C is wrong because compiling source code into container images is the job of a CI system (Jenkins, GitHub Actions, Tekton), which is separate from the GitOps reconciliation loop that deploys already-built artifacts. Option D is wrong because updating documentation in Git is a human or CI task; the reconciler reads from Git and writes to the cluster, not the other way around.