GitOps is een benadering van continuous deployment (vooral voor Kubernetes) waarbij Git de enkele bron van waarheid is voor de gewenste staat van infrastructuur en applicaties, en een geautomatiseerd agent continu reconcilieert de werkelijke staat zodat deze overeenkomt met Git. Wijzigingen worden aangebracht via Git, en het systeem haalt deze op en past ze toe.
Het 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.
