Skip to content
Latchkey

What Is GitOps?

GitOps is an operational model where the desired state of infrastructure and applications is declared in a git repository, and automated controllers continuously reconcile the live environment to match it. Changes are made by committing to git, not by touching the cluster directly. This gives deployments the same review, audit trail, and rollback as code.

Why it matters

Manual changes to production are hard to audit and easy to forget. GitOps makes git the single source of truth, so every change is reviewed, versioned, and reversible, and any drift is automatically corrected back to the committed state.

Related concepts

  • Typically pull-based, with an in-cluster agent
  • Drift detection and reconciliation are core to it
  • Tools include Argo CD and Flux

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →