[英]Created API client, waiting for the control plane to become ready
When running kubeadm init on ubuntu 16.04 i'm getting the following error: 在Ubuntu 16.04上运行kubeadm init时,出现以下错误:
The system just hangs for a very long time. 系统只是挂了很长时间。
[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
Did someone encountered this error and solved it? 有人遇到此错误并解决了吗?
I have tried to: 我试图:
but nothing works ... 但是什么都没有...
When I encountered this issue, it always been kubelet problem. 当我遇到此问题时,它始终是kubelet问题。 But the real reason why kubelet failed or failed to start component containers(controller-manager/kube-apiserver...) is different. 但是kubelet失败或无法启动组件容器的真实原因(controller-manager / kube-apiserver ...)是不同的。 So I suggest you can add more info by get reverse log of kubelet with command: 所以我建议您可以通过以下命令获取kubelet的反向日志来添加更多信息:
journalctl -r -u kubelet.service
You can check log and debug by yourself, or paste here so that we can know more about your situation. 您可以自己检查日志并进行调试,也可以粘贴在此处,以便我们进一步了解您的情况。
Hope this is helpful. 希望这会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.