GitOps とは、継続的デプロイ(特にKubernetes向け)へのアプローチであり、Gitがインフラとアプリケーションの望ましい状態に対する唯一の信頼できる情報源(single source of truth) となり、自動化されたエージェントが実際の状態を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.
