Skip to content

Join Worker Nodes to Kubernetes Cluster

Use this after the control plane is initialized to add worker nodes to the cluster. If you are adding a brand new node that has not been provisioned, start with Add a Worker Node.

Run this on the control plane:

Terminal window
kubeadm token create --print-join-command

Run the generated command on each worker node:

Terminal window
sudo kubeadm join <control-plane-ip>:6443 --token <token> --discovery-token-ca-cert-hash sha256:<hash>
Terminal window
kubectl get nodes