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
What Is Pull-Based Deployment?In pull-based deployment, an agent inside the target environment fetches and applies the desired state, rathe…
What Is Drift Detection?Drift detection finds differences between the desired state declared in code and the actual live state of inf…
What Is a Declarative Pipeline?A declarative pipeline describes the desired stages and outcomes of CI/CD, letting the system figure out how…