# ๐Ÿณ Containerd and Kubernetes Installation Guide A comprehensive step-by-step guide for setting up a Kubernetes cluster using **Containerd** as the container runtime. This guide is intended for Ubuntu-based systems. --- ## โš™๏ธ 1. Disable Swap Kubernetes requires swap to be disabled for proper scheduling and memory management. ```bash sudo swapoff -a sudo sed -i '/swap/d' /etc/fstab ``` --- ## ๐Ÿงฉ 2. Enable Required Kernel Modules Load the necessary kernel modules for networking and overlay file systems. ```bash cat < --print-join-command | tee cp-command.txt ``` Replace `` with the actual key. --- ## ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ 10. Join Control Plane and Worker Nodes * **Control Plane Nodes**: Use the command from `cp-command.txt` on each node. * **Worker Nodes**: Use the `kubeadm join` command printed at the end of the `kubeadm init` output or found in `kuber-install.log`. --- ## โœ… Final Step: Install a Pod Network Add-on Choose and apply a pod network add-on (e.g., Flannel, Calico, Cilium). Here's an example with Flannel: ```bash kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/master/Documentation/kube-flannel.yml ``` --- ๐ŸŽ‰ **Your Kubernetes cluster is now up and running!** Ensure all nodes are ready by running: ```bash kubectl get nodes ```