GitOps je přístup k nepřetržitému nasazování (zejména pro Kubernetes), kde je Git jediným zdrojem pravdy pro požadovaný stav infrastruktury a aplikací, a automatizovaný agent neustále slaďuje skutečný stav tak, aby odpovídal Gitu. Změny se provádějí přes Git a systém je stahuje a aplikuje.
Gitops model
Git holds the DESIRED STATE (declarative configs: Kubernetes manifests, Helm charts, etc.):
→ an AGENT in the cluster continuously COMPARES actual state vs Git (desired state)
→ it RECONCILES: automatically applies changes to make reality match Git
→ to deploy/change: commit to Git → the agent detects and applies it (PULL-based)
→ Git = single source of truth; the system continuously converges to it.
