What is GitOps?
⚡
Quick Answer
GitOps is an operating model where the desired state of infrastructure and apps lives in Git, and an automated controller continuously reconciles the live system to match the repo — Git is the single source of truth.
Detailed Answer
A controller (Argo CD, Flux) watches the repo and applies changes automatically, reverting drift so the cluster always matches Git. Benefits: every change is a reviewed, audited, revertable commit; deployments are pull-based (the cluster pulls, rather than CI pushing credentials in); and recovery is git revert. It is declarative IaC applied continuously.
💡
Interview Tip
Emphasize the reconciliation loop and pull-based model (better security, easy rollback via git revert).
gitopsargocdflux