Disable Swap
Remember removing swap entry from /etc/fstab.
Install Docker and Containerd
We would install both docker and containerd, use containerd as the CRI, but still keep docker functional.
Install docker.
Configure containerd
Instlal nerdctl for profiling containerd
Install kubeadm, kubelet, kubectl
Debian-based distributions
Red-Hat based distributions
Without a package manager:
Install CNI Plugins
Bootstrap the first master Node
Join new Master nodes to the clusters
Do not forget to append --cri-socket=/run/containerd/containerd.sock
when executing the printed command.
Join new Worker Nodes into the Cluster
Do not forget to append --cri-socket=/run/containerd/containerd.sock
when executing the printed command.
Cluster get ONLINE