error marking master: timed out waiting for the condition [kubernetes]

后端 未结 2 1539
野的像风
野的像风 2021-01-07 01:37

Just I am starting to learn Kubernetes. I\'ve installed CentOS 7.5 with SELinux disabled kubectl, kubeadm and kubelet by Kubernetes YUM repository.

However, when I w

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-07 02:29

    You are hitting the following issue in kubernetes

    https://github.com/kubernetes/kubeadm/issues/1092

    The workaround is to provide --node-name= . Just go through the above ticket for more info. Hope this helps

    EDIT: I have the same issue in kubeadm-1.10.0 After removing --hostname-override from /etc/systemd/system/kubelet.service.d/10-kubeadm.conf file, atleast able to initialize cluster. Didn't give provide --node-name in my cluster

提交回复
热议问题