Here we will join the worker nodes to the cluster. You will need the kubeadm join
command from the previous step
Ref: https://stackoverflow.com/questions/59629319/unable-to-upgrade-connection-pod-does-not-exist
If you did not note down the join command on the cotrolplane node after running kubeadm
, you can recover it by running the following on controlplane
kubeadm token create --print-join-command
On each of node01
and node02
do the following
Become root (if you are not already)
sudo -i
Join the node
Paste the
kubeadm join
command output bykubeadm init
on the control plane
On controlplane
run the following. After a few seconds both nodes should be ready
kubectl get nodes
Next: Test</br> Prev: Boot controlplane