GitOps & ArgoCD (50 Qs)•Part 1: GitOps Fundamentals & Core Principles (Junior / Entry-Level)
What is GitOps and what are the four OpenGitOps core principles?
junior LevelgitopsGitOps Fundamentals
In Simple Words: GitOps is an operational framework that takes DevOps best practices (version control, collaboration, compliance, and CI/CD) and applies them to infrastructure and application deployment on Kubernetes. In GitOps, Git is the single source of truth for the desired state of your systems.
The 4 OpenGitOps Core Principles:
- Declarative: The desired state of the system must be described declaratively (e.g., Kubernetes YAML, Helm, Kustomize), not procedurally.
- Versioned and Immutable: Desired state is stored in a version control system (Git), providing an immutable commit history, auditing, and rollback capabilities.
- Pulled Automatically: Software agents (like ArgoCD) running inside the target environment automatically pull the desired state from Git.
- Continuously Reconciled: Agents continuously monitor the live state and apply corrective action if live state drifts from the desired Git state.