Git Operations (GitOps)¶
GitOps runs infrastructure from Git: the desired state of a system lives in a repository, and an agent in the cluster continuously pulls it and reconciles the live system to match. Start with the concepts, then pick a repo layout and follow its guide.
Concepts¶
- GitOps: A Comprehensive Guide: history, the OpenGitOps principles, architecture, workflow, benefits and pitfalls.
Hands-on: GitOps on k3s with Argo CD¶
- Single Repo vs Multi-Repo: pros and cons of each layout, and what changes on GitLab. Read this first to choose a guide.
- Getting-Started Guide (Multi-Repo): one platform repo holding Argo CD, cluster services and per-project guardrails, plus one repo per project.
- Getting-Started Guide (Single Repo): Argo CD, cluster services and every project in one repo.
Both guides default to GitHub and include a GitLab appendix covering credentials, webhooks, CI, Renovate, SSO and the container registry.