GitOps هو نهج لنشر مستمر (خاصة لـ Kubernetes) حيث Git هو مصدر الحقيقة الوحيد للحالة المرغوبة للبنية التحتية والتطبيقات، وعامل آلي يقوم بشكل مستمر بالتوفيق بين الحالة الفعلية لمطابقتها مع 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.
