Manual Kubernetes Cluster Setup
Kubernetes is a fairly elaborate system; however, it relies on developer experience to make it easier to set up and manage the clusters. kubeadm
is the official Kubernetes toolkit for quickly and easily creating a minimal, viable, and certified cluster. This installs all required master and node components; however, cloud-specific or nice-to-have add-ons, such as the dashboard, are left out. kubeadm
is used in many complex Kubernetes provider solutions as a building block; however, it should be mentioned that it cannot provision any infrastructure. On the other hand, it has a huge advantage of running on every platform, from high-end servers to Raspberry Pi nodes.
To create a Kubernetes cluster, the main approach is to initialize a master first, and join all the nodes afterward. Let's look at the following flowchart to understand this:
Figure 4.1: Flow of cluster creating with kubeadm
It is expected that you will have...