You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
GitOps is an operational model that uses Git as the single source of truth for declarative infrastructure and application configuration. Changes are made through pull requests, and an automated system reconciles the live environment with the desired state stored in Git. On Google Cloud, GitOps is most commonly implemented with GKE, Config Sync, and Cloud Build or Cloud Deploy.
GitOps applies the principles of Git-based version control to infrastructure and application operations:
| Principle | Description |
|---|---|
| Declarative | The entire system is described declaratively (YAML, HCL, etc.) |
| Versioned | All changes are stored in Git with full history |
| Automated | An agent automatically applies changes from Git |
| Self-healing | If the live state drifts from Git, the agent corrects it |
| Observable | The system state is always auditable through Git history |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.