Argo CD is an open-source, declarative GitOps continuous delivery tool for Kubernetes that continuously compares the live state of applications in a cluster with the desired state stored in a Git repository and reconciles any difference. In DevOps practice, it replaces imperative deployment scripts with a pull-based model: the cluster fetches its configuration from Git instead of a pipeline pushing changes into it.
Argo CD is a graduated project of the Cloud Native Computing Foundation, often written as ArgoCD, and part of the wider Argo family alongside Argo Workflows, Argo Rollouts and Argo Events. Its core promise is that Git becomes the single source of truth, so every change is reviewed, versioned and reversible.
How Argo CD reconciles Git and the cluster
Argo CD works through a reconciliation loop. It periodically reads manifests from Git, renders them with the configured tool, compares the result with the live objects in the Kubernetes API, and reports each Application as Synced or OutOfSync. The default polling interval is about three minutes, and Git webhooks can trigger an immediate refresh.
The system is built from several cooperating services, each with a distinct responsibility, as the following table shows.
| Component | Responsibility | Typical scaling concern |
|---|---|---|
| API server | Serves the web UI, CLI and gRPC/REST API; enforces RBAC | Number of concurrent users |
| Repository server | Clones Git repositories and renders manifests | Size and number of repositories |
| Application controller | Compares desired and live state and performs syncs | Number of managed resources |
| ApplicationSet controller | Generates many Applications from templates | Number of generated Applications |
| Redis | Caches rendered manifests and cluster state | Memory consumption |
| Dex | Optional single sign-on through OIDC, SAML or LDAP | Identity provider availability |
The central object is the Application custom resource, which links a source (repository, revision and path) to a destination (cluster and namespace). Applications are grouped into AppProjects, which restrict the allowed repositories, target clusters and resource kinds, and therefore act as a multi-tenancy boundary.
Sync policies, health and drift detection
A sync is the operation that applies the desired manifests to the cluster. It can be manual, after an operator reviews the diff, or automated. With automated sync, Argo CD applies new commits on its own; the optional self-heal flag also reverts manual changes made directly in the cluster, and prune deletes resources that were removed from Git.
The table below summarizes the main sync options and when they are appropriate.
| Setting | Effect | When to use it |
|---|---|---|
| Manual sync | Changes wait for an operator to approve them | Production with strict change control |
| Automated sync | New commits are applied without intervention | Development and staging environments |
| Self-heal | Manual cluster edits are reverted to the Git state | Environments where drift must not persist |
| Prune | Objects deleted from Git are deleted from the cluster | When Git must fully describe the namespace |
| Sync waves and hooks | Resources are applied in a defined order | Database migrations before application rollout |
Separately from sync status, Argo CD evaluates health status: Healthy, Progressing, Degraded, Suspended or Missing. Built-in checks understand Deployments, StatefulSets and Ingress objects, and custom health checks in Lua can be written for operators and custom resources. An application can therefore be Synced yet Degraded when the manifests are applied but Pods fail to start.
Supported configuration formats and scaling patterns
Argo CD is tool-agnostic about manifest generation. It renders plain YAML directories, Kustomize overlays, Helm charts and Jsonnet natively, and other generators through Config Management Plugins. Helm charts are rendered with helm template, so Argo CD owns the resulting objects and Helm release history is not used.
For many environments or clusters, teams use the app-of-apps pattern, in which one parent Application points to a directory of child Application manifests, or the ApplicationSet controller, whose generators create Applications from cluster lists, Git directories or pull requests. A single Argo CD instance can manage hundreds of clusters, although large estates often shard the application controller or run one instance per region to limit the blast radius.
Argo CD compared with push-based pipelines and other GitOps tools
The decisive difference between Argo CD and a classic CI/CD pipeline is the direction of deployment. In a push model, a system such as Jenkins, GitHub Actions or GitLab CI/CD holds cluster credentials and runs kubectl apply. In the GitOps pull model, the agent inside or next to the cluster pulls changes, so CI no longer needs cluster credentials.
| Approach | Deployment direction | Drift detection | Typical strengths |
|---|---|---|---|
| Argo CD | Pull from Git | Continuous, visible in UI | Rich web UI, multi-cluster view, SSO and RBAC |
| Flux | Pull from Git | Continuous | Lightweight, composable controllers, CLI-first |
| Push pipeline | CI pushes to cluster | None by default | Simple to start, familiar to CI users |
| Manual kubectl | Operator pushes | None | Quick experiments only |
Argo CD does not replace continuous integration. A common split is that CI builds and tests images, then updates an image tag in a configuration repository, and Argo CD handles delivery. Progressive strategies such as canary deployment and blue-green deployment are provided by the companion project Argo Rollouts rather than by Argo CD itself.
Security considerations and common mistakes
Because Argo CD can create any resource it is allowed to manage, it is a highly privileged component. Its service accounts, repository credentials and admin account deserve the same protection as cluster administrator credentials. Sensible defaults include disabling the local admin user after enabling SSO, scoping AppProjects tightly and restricting cluster-scoped resources.
The following table lists frequent problems and how experienced teams address them.
| Symptom | Likely cause | Remedy |
|---|---|---|
| Application permanently OutOfSync | Fields mutated by controllers or webhooks | Configure ignoreDifferences for those fields |
| Secrets committed in plain text | No secret management strategy | Use Sealed Secrets, SOPS or an external secret operator |
| Slow refreshes on large repositories | Repository server overloaded | Add replicas, use webhooks and smaller repositories |
| Accidental mass deletion | Prune enabled with a wrong path | Use deletion protection and review diffs before merge |
Another frequent mistake is mixing GitOps with manual changes. With self-heal enabled, emergency edits made through kubectl disappear within minutes, so incident runbooks must describe how to change Git or temporarily disable automated sync.
Stripped to the essentials
Argo CD is like a building inspector who carries the official blueprint. The blueprint lives in Git, and the building is the Kubernetes cluster. The inspector keeps walking through the building and fixes anything that does not match the blueprint.
To change the building, people do not move walls by hand. They update the blueprint, a colleague reviews it, and Argo CD carries out the change. The result is that every change is recorded and can be undone by returning to an earlier version of the blueprint.
Where it is applied
A software company runs twelve Kubernetes clusters across development, staging and production in three regions. Previously, Jenkins jobs deployed with kubectl, and engineers often fixed problems directly in clusters, so environments drifted apart and nobody knew which version was running where.
The platform team installs one Argo CD instance per region and defines an ApplicationSet that creates an Application for every service in every cluster. CI now only builds images and opens a pull request that updates the image tag. Development uses automated sync with self-heal, while production uses manual sync after review. Within a quarter, the team can answer which version runs in each cluster from a single dashboard, and a rollback becomes a Git revert completed in minutes.