GitOps అనేది continuous deployment (ముఖ్యంగా Kubernetes కోసం) కి చేరుకోవడానికి ఒక విధానం, ఇక్కడ Git అనేది infrastructure మరియు applications యొక్క కావలసిన స్థితికి సంబంధించిన ఏకైక సత్యం మరియు ఒక automated agent నిరంతరం reconciles చేస్తూ వాస్తవ స్థితిని Git కు సరిపోల్చుకోవడానికి సరిపోల్చుకుంటుంది. Git ద్వారా మార్పులు చేయబడతాయి, మరియు సిస్టమ్ వాటిని pull చేస్తూ apply చేస్తుంది.
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.
