GitOps is a DevOps methodology that uses Git as the single source of truth for managing infrastructure and application deployments. All desired state is stored in Git repositories, and automated tools (like ArgoCD or Flux) continuously reconcile the actual cluster state with the desired state defined in Git. It is identified as a key future trend in DevOps for managing both infrastructure and deployments declaratively.
Key Concepts
Core Principles
The entire system described declaratively — All infrastructure and application configurations are stored as code
The canonical desired state in Git — Git is the source of truth; any change goes through Git workflow
Approved changes automatically pulled into the system — Automated agents detect drift and reconcile
Tools
ArgoCD — Kubernetes-native GitOps controller
Flux — GitOps toolkit for Kubernetes
Atlantis — Terraform GitOps automation (mentioned in CTP topics)
Connections
DevOps Culture — GitOps is an operational pattern emerging from DevOps culture