Skip to main content

Join Worker Nodes

Use this after the control plane is initialized to add worker nodes to the cluster.

Step 1: Generate a join command

Run this on the control plane:

kubeadm token create --print-join-command

Step 2: Join each worker

Run the generated command on each worker node:

sudo kubeadm join <control-plane-ip>:6443 --token <token> --discovery-token-ca-cert-hash sha256:<hash>

Step 3: Verify the nodes

kubectl get nodes