GitOps continuous deployment (विशेष रूप से Kubernetes के लिए) का एक दृष्टिकोण है जहाँ Git ही infrastructure और applications की desired state के लिए single source of truth है, और एक automated agent वास्तविक state को Git से मिलाने के लिए लगातार reconcile करता है। परिवर्तन Git के माध्यम से किए जाते हैं, और system उन्हें pull करके लागू करता है।
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.
