GitOps as the delivery backbone
ArgoCD/Flux: app-of-apps, ApplicationSets for fleet rollout, sync waves, drift detection. Git as the platform API — every change reviewable, every state reproducible.
The mental model
A restaurant kitchen runs off tickets on a rail, not shouted orders. Every dish that goes out corresponds to a printed ticket; if the rail is empty, nothing should be cooking; if a cook plates something not on the rail, the expo yanks it. The rail is the single source of truth for what the kitchen is making, and anyone can walk up and read exactly what state the kitchen is in and who ordered it. No dish exists without a ticket.
GitOps is that ticket rail for your infrastructure. **Git is the single source of truth for what should be running**, and a controller in the cluster continuously compares the live state to what Git says and reconciles the difference. Nobody runs kubectl apply by hand — that is a cook plating a dish with no ticket. A deploy is a pull request; a promotion from dev to prod is a merge; a rollback is a revert. If someone hand-edits the cluster (scales a deployment, patches an image), the controller detects the drift and either heals it back to Git or flags it, because the cluster is only allowed to be what the rail says.
For a platform team this reframing is the whole point: Git becomes the platform API. Instead of building a bespoke deployment service with its own auth, audit log, and rollback button, you get all of that for free from Git and a reconciler — every change is reviewed, every state is reproducible, every action is attributable to a commit, and the delivery backbone is the same for two services or three hundred. The platform's job shifts from "run deploys" to "own the reconciliation loop and the repo structure that scales it across the fleet."
- Deep dive
- Internal architecture
- Real-world use cases
- Best practices
- Common mistakes
- Performance
- Security
- Production troubleshooting
- Advantages & disadvantages
- Alternatives
- Interview expectations
- Interview questions
- Facts to remember
- Cheat sheet
- Quick revision