chapter ten
This chapter covers:
- How kubelet launches containers
- A look at specific runtimes, such as containerd
- How the container runtime interface (CRI) has evolved as an abstraction for starting containers
- kubelet internal functions
Kubelet is the workhorse of a Kubernetes cluster, and there may be thousands of kubelets in a production data center. In this chapter, we’ll go through the internals of what kubelets do, and precisely how they leverage the container runtime interface (CRI) to run containers and manage the lifecycle of workloads.
Note
We want to thank Dawn Chen for allowing us to interview her about kubelet. Dawn is the original author of the kubelet binary and is currently one of the leads of the Kubernetes Node Special Interest Group. This group maintains the kubelet code base.
Each of the Nodes, including the control plane in the following figure, has a kubelet installed.
Figure 10.1. Basic cluster