Kubernetes Master Worker Node Kubeadm Join issue

 

 

kubeadm reset is used to tear down broken or unused Kubernetes clusters. The command itself does not entirely clean the configurations created by kubeadm. This article explains how to use kubeadm reset to clean up broken Kubernetes clusters completely.

Error : 


[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
        [ERROR FileAvailable--etc-kubernetes-kubelet.conf]: /etc/kubernetes/kubelet.conf already exists
        [ERROR Port-10250]: Port 10250 is in use
        [ERROR FileAvailable--etc-kubernetes-pki-ca.crt]: /etc/kubernetes/pki/ca.crt already exists
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher


Solution

#kubeadm reset 

 

Previous Post Next Post