When the node is added to the master of kubeletes, an error is reported. kubeletesmaster

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.