What is GitOps?
Short answer
GitOps is an operational model where the desired state of infrastructure and applications is declaratively defined in Git, and an automated agent continuously reconciles the live system to match Git.
Advertisement
AModel answer
GitOps is an operational model where the desired state of infrastructure and applications is declaratively defined in Git, and an automated agent continuously reconciles the live system to match Git. Git becomes the single source of truth; changes are made via pull requests, giving version control, review, auditability, and easy rollback.
Real-world example
A team deploys only by merging YAML to a Git repo; ArgoCD detects the change and applies it to the cluster automatically.
Likely follow-ups
- What are the core GitOps principles? | Why is Git the source of truth?
Related topics