1
GitOps and Kubernetes
In this chapter, we’re going to see what GitOps is and how the idea makes a lot of sense in a Kubernetes cluster. We will get introduced to specific components, such as the application programming interface (API) server and controller manager that make the cluster react to state changes. We will start with imperative APIs and get through the declarative ones and will see how applying a file and a folder up to applying a Git repository was just one step—and, when it was taken, GitOps appeared.
We will cover the following main topics in this chapter:
- What is GitOps?
- Kubernetes and GitOps
- Imperative and declarative APIs
- Building a simple GitOps operator
- Infrastructure as code (IaC) and GitOps
Technical requirements
For ...
Get Argo CD in Practice now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.