DevOps / ArgoCD interview questions
What is GitOps and how does ArgoCD implement it?
GitOps is an operational framework that uses Git as the single source of truth for infrastructure and application configuration. All desired states are stored as code in a Git repository, and automated agents continuously reconcile the live system to match what is in Git. Changes are made exclusively through Git operations (commits, pull requests, merges) rather than direct cluster access.
ArgoCD implements GitOps through its Application CRD and reconciliation loop. You define an Application that points to a Git repository path (Helm chart, Kustomize overlay, plain YAML, or Jsonnet) and a target cluster/namespace. The ArgoCD controller runs a continuous reconciliation loop — by default every 3 minutes, or immediately on Git webhook — comparing the rendered manifests from Git against the live cluster resources.
When differences are found, ArgoCD marks the application as OutOfSync. With automated sync enabled (syncPolicy.automated), it applies the Git state to the cluster automatically. With manual sync, an operator triggers the sync explicitly. Either way, the Git repo remains the authoritative record: to roll back, you revert the Git commit and ArgoCD reconciles back to the previous state.
The four GitOps principles ArgoCD satisfies are: declarative configuration, versioned and immutable state, pulled automatically by software agents, and continuously reconciled.
More Related questions...