[Demo] GitOps with Argo CD: what I learned running deployments from Git

  • 10 Nov, 2026

GitOps means the desired state of your cluster lives in Git, and a controller makes the cluster match it. Argo CD is the controller I use most. Here is why the model works and what keeps it working.

Why Git as the source of truth

  • Every change is reviewed. A deployment is a pull request, so it has an author, a reviewer, and a history.
  • Rollback is a revert. No hunting for the old values. Revert the commit and Argo CD syncs the cluster back.
  • Drift is visible. If someone changes a resource by hand, Argo CD shows the app as OutOfSync.

Habits that help

  1. Keep app code and manifests in separate repos. A code commit should not trigger a config change by accident.
  2. One app per service per environment. Small apps sync fast and fail in isolation.
  3. Turn on self-heal carefully. It is great for dev. In prod, decide deliberately who may sync.
  4. Pin versions. Image tags and chart versions should be explicit, never latest.

Where it gets tricky

  • Secrets need their own answer. Do not commit plain secrets. Use a sealed or external secret store.
  • Large mono-repos make sync slow. Split them by team or environment.
  • Hooks and sync waves are powerful, but overusing them hides the real order of dependencies.

GitOps does not remove incidents. It makes the answer to “what changed?” a one-line git log.

Related Posts