Cluster API
The Cluster API (AKA CAPI) is a project from the Cluster Lifecycle SIG. Its goal is to make provisioning, upgrading, and operating multiple Kubernetes clusters easy. It supports both kubeadm-based clusters as well as managed clusters via dedicated providers. It has a cool logo inspired by the famous “It’s turtles all the way down” story. The idea is that the Cluster API uses Kubernetes to manage Kubernetes clusters.
Figure 11.1: The Cluster API logo
Cluster API architecture
The Cluster API has a very clean and extensible architecture. The primary components are:
- The management cluster
- The work cluster
- The bootstrap provider
- The infrastructure provider
- The control plane
- Custom resources
Figure 11.2: Cluster API architecture
Let’s understand the role of each one of these components and how they interact with each other.
Management cluster
The management cluster...