GitOps एक continuous deployment (विशेषगरी Kubernetes को लागि) को दृष्टिकोण हो जहाँ Git अवस्थापना र अनुप्रयोगहरूको इच्छित अवस्थाको एकमात्र स्रोत हो, र एक स्वचालित agent सतत reconciles गरी वास्तविक अवस्थालाई Git सँग मेल खाइयो। परिवर्तनहरू Git को माध्यमबाट गरिन्छ, र प्रणालीले तिनलाई तान्छ र लागू गर्छ।
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.
