美文网首页
kubernetes 问题记录(1)

kubernetes 问题记录(1)

作者: getsu | 来源:发表于2019-12-26 13:49 被阅读0次

使用kubeadm init安装k8s,卡在如下界面:

[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
[kubelet-check] Initial timeout of 40s passed.

翻看日志,找不到任何报错,只有如下输出:

Dec 26 00:18:07 ip-172-31-0-11.ap-southeast-1.compute.internal kubelet[21555]: I1226 00:18:07.710297   21555 kubelet_node_status.go:286] Setting node annotation to enable volume controller attach/detach

最后解决方法如下:

cp /10-kubeadm.conf /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
systemctl daemon-reload

相关文章

网友评论

      本文标题:kubernetes 问题记录(1)

      本文链接:https://www.haomeiwen.com/subject/cvwkoctx.html