Using kubeadm to install a basic Kubernetes cluster
In this section, we will create a multi-node Kubernetes cluster using kubeadm
. The following are the steps we need to achieve the goal:
- Install
kubeadm
. - Bootstrap a master node where your control plane will be located
- Install the network plugins (we will get to the detailed supported plugins later in this chapter and use Calico as an example in that section).
- Bootstrap the worker nodes.
- Join the worker nodes to the control plane.
Before getting started, you need to make sure your master node meets all the technical requirements listed in this chapter.
We’ll deploy a basic Kubernetes cluster by going through the steps described in this section, as shown in Figure 2.7:
Figure 2.13 – The workflow of using kubeadm to spin up a basic Kubernetes cluster
The Kubernetes cluster will be similar to the architecture featured in Figure 2.14:
Figure...