Argo CD
GitOps comparison across eight review-gated application directories, plus one bounded credential-lifecycle path that self-heals. Pruning remains disabled.
What it is & why I use it
Argo CD is the GitOps engine for its registered cluster scope. It continuously compares what is declared in git against what is running. It reports differences for review-gated applications and reconciles the bounded credential-lifecycle application automatically. The repo is the control input, not a record written after the fact.
I use it because it makes its registered scope auditable and reproducible: a durable change is a commit, a rollback is a revert, and "what is supposed to be running?" has one answer that lives in version control rather than in someone's memory of what they last applied by hand.
How I use it in the lab
- General applications are review-gated. Eight registered directories are defined in git. Argo CD watches the repo and cluster, reports where they differ, and waits for an operator to review the object-level diff and start the sync.
- One bounded path self-heals. The credential-lifecycle application is already live and changes frequently as rotators are proved, so Argo CD restores that path to its reviewed main-branch definition automatically.
- Pruning is disabled. Automated reconciliation for credential lifecycle can repair changed resources but cannot remove resources that disappear from git.
- Visible drift and health. The sync/health view makes it obvious when something has diverged or a rollout is unhealthy, so problems surface instead of hiding.
Architecture
Lessons learned & gotchas
- Treat self-heal and prune as separate decisions. The credential-lifecycle path can repair drift but cannot delete resources absent from git. That keeps automated correction bounded without granting automated removal.
- Argo syncs manifests, not everything. It reconciles what is declared as Kubernetes state; out-of-band concerns it does not own (for example, a database schema behind an app) still need their own apply step. Do not assume a green sync means the whole world is in the desired state.
- Investigate repeated drift. A resource that keeps drifting often points to an out-of-band change. Investigate that cause before re-syncing the symptom.
Impact
Argo CD makes divergence visible across its registered scope. Eight general application directories remain behind an object-level review and manual sync; one credential-lifecycle application corrects drift automatically. Neither mode permits automated pruning.