From the course: Certified Kubernetes Administrator (CKA) Cert Prep (2024)

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Understanding cluster initialization

Understanding cluster initialization

- So, later in this lesson, I'm going to show you how to install a cluster using kubeadm. Before doing so, it's good to know a little bit about what is going to happen. So, while you are running kubeadm init, different phases are executed. It starts with preflight. This ensures that all conditions are met and core container images are downloaded. Then, it's taking care of the certificates, a self-signed Kubernetes Certificate Authority is generated and related certificates are created for apiserver, etcd, and proxy. Kubernetes uses these PKI certificates a lot and they are pretty important. Then there is kubeconfig, which is where configuration files are configured for core Kubernetes services. And then, the kubelet can be started. Once a kubelet is available, the control plane is set up. And in order to do so, the kubelet is using static Pod manifests. It creates them and it will start them for apiserver, controller manager, and scheduler. At that point, the etcd is used. So, static…

Contents