In this hands-on tutorial from Technical Cloud Knowledge, you'll learn how to add a worker node to an existing Kubernetes cluster using the kubeadm join command. This process is essential for scaling your cluster and is a key skill for the Certified Kubernetes Administrator (CKA) exam.
To join a node, you first need the join token and discovery token CA cert hash from the control plane. Run kubeadm token create --print-join-command on the master node to generate the full join command. Then, on the new worker node, execute the printed command with sudo privileges. The node will download necessary images and register with the cluster.
After joining, verify the node status with kubectl get nodes from the control plane. The new node should appear with a status of Ready once all pods are running. If the node remains NotReady, check that the container runtime (e.g., containerd) is installed and running.
This lab also covers troubleshooting common issues such as token expiration (tokens are valid for 24 hours by default) and network plugin requirements. For persistent clusters, consider using a configuration file instead of a one-time command.
Tip: Always ensure that the kubelet and container runtime are installed and configured identically on all nodes for consistent behavior.
Watch the full video for a live demonstration with step-by-step instructions.