GitOps — Pull-Based Deployment Model
OpenGitOps 4 principles: declarative, versioned+immutable, pulled automatically, continuously reconciled. ArgoCD and Flux implement the pull model — in-cluster agents watch Git and reconcile desired vs actual state.
Overview
Git as the source of truth
GitOps is a set of practices where the desired state of infrastructure and applications lives in Git. An automated operator continuously reconciles actual state to match it.
The picture has three parts. Engineers change the system only by committing to Git. An agent inside the cluster, such as ArgoCD or Flux, pulls that desired state and applies it. The same agent keeps watching the cluster, so when the actual state drifts away from Git, it sees the difference and acts on it.
Key concepts
- Pull vs Push Model
- ArgoCD
- Flux
- Drift Detection
Interview questions
- What are the four OpenGitOps principles?
- How does ArgoCD implement GitOps?
Sign up free to read the full topic
More DevOps topics
Start free on Cariara · Coding problems · System design studio