GitOps – Moving from pushing to pulling the desired state
CI/CD has been around for many years. The Continuous Delivery book was initially released back in 2010 – years before the emergence of containers (made popular through Docker, starting in 2013) and container orchestration platforms (such as Kubernetes, starting in 2014).
Fast forward to 2024 when this book was initially published; we live in a world where the following is the case:
- Git is the source of truth. It contains everything as code: source code, tests, infrastructure and deployment definitions, observability, ownership, and so on.
- CI/CD is building, testing, and packaging container / Open Container Initiative (OCI) images from a source code Git repository and publishing them to an artifact registry (e.g., Harbor).
- GitOps continuously attempts to apply the latest desired state as declared in a deployment Git repository (e.g., Helm Charts) on the target Kubernetes environment and pushes...