PP:
Hi All, While practicing the Install cluster I stuck at joining node01 because of preflight Errors:
Can someone help me how to fix it and move forward?
PP:
Hi All, While practicing the Install cluster I stuck at joining node01 because of preflight Errors:
Can someone help me how to fix it and move forward?
ucipass:
Just delete those 2 files and try to rejoin the cluster with the same command
Sampathkaran:
@PP you should run the join command from worker node…but you are trying to execute in the controlplane
Deekshith Hadil:
You should probably do kubeadm reset
to clear everything
PP:
@ucipass I deleted and re-run it. But the same error. @Deekshith Hadil kubeadm reset didn’t worked. I believe @Sampathkaran suggestion make sense. I will give a try.
Deekshith Hadil:
I didn’t face this problem on lab. But a lot of times on local.
These are the steps I usually follow.
kubeadm reset --force
rm -rf /var/lib/kubelet /etc/kubernetes /var/lib/etcd $HOME/.kube
ucipass:
@Deekshith Hadil suggestion is correct. I would rejoin from the worker node after that. I didn’t notice you were on the controlnode
Deekshith Hadil:
oops… I didn’t notice that either. @PP if you are joining the node, run the join command on the worker node. Not controlplane.