When the node is added to the master of kubeletes, an error is reported. kubeletesmaster
When a node is added to the master of kubeletes, the following error is reported:
[Preflight] Running pre-flight checks. [WARNING FileExisting-crictl]: crictl not found in system path [preflight] Some fatal errors occurred: [ERROR Port-10250]: port 10250 is in use [ERROR DirAvailable -- etc-kubernetes-manifests]:/etc/kubernetes/manifests is not empty [ERROR FileAvailable -- etc-kubernetes-pki-ca.crt]: /etc/kubernetes/pki/ca. crt already exists [ERROR FileAvailable -- etc-kubernetes-kubelet.conf]:/etc/kubernetes/kubelet. conf already exists [preflight] If you know what you are doing, you can make a check non-fatal with '-- ignore-preflight-errors =...'
Solution:
Run the following command on the node to clear the kubeadm operation, and then run the join command again:
Kubeadm reset