GitOps es un enfoque para el despliegue continuo (especialmente para Kubernetes) donde Git es la única fuente de verdad para el estado deseado de la infraestructura y aplicaciones, y un agente automatizado continuamente reconcilia el estado actual para que coincida con Git. Los cambios se realizan a través de Git, y el sistema los obtiene y aplica automáticamente.
El modelo GitOps
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.
