在ubuntu 16.04上运行kubeadm init时,我收到以下错误:
系统暂停了很长时间。
[certificates] Generated API server kubelet client certificate and key.
[certificates] Generated service account token signing key and public key.
[certificates] Generated front-proxy CA certificate and key.
[certificates] Generated front-proxy client certificate and key.
[certificates] Valid certificates and keys now exist in "/etc/kubernetes/pki"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/admin.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/kubelet.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/controller-manager.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/scheduler.conf"
[apiclient] Created API client, waiting for the control plane to become ready
有人遇到此错误并解决了吗?
我试过:
但没有任何作用......
答案 0 :(得分:0)
当我遇到这个问题时,它总是出现kubelet问题。但是,kubelet失败或无法启动组件容器(controller-manager / kube-apiserver ......)的真正原因是不同的。所以我建议你可以通过命令:
获取kubelet的反向日志来添加更多信息journalctl -r -u kubelet.service
您可以自己检查日志和调试,也可以粘贴到此处,以便我们了解您的具体情况。
希望这有用。