-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubeadm init hangs on creating kube-discovery and fails to create kube-dns #68
Comments
cc @dgoodwin thoughts on the discovery part? |
Presumably your secret exists:
That error looks like what you would see with selinux before we unconfined the discovery pod, but we did unconfine it, and this is Ubuntu which most likely isn't using selinux. Also not great that the output claims kube-discovery is ready when it appears it actually is not. We might have some bad error handling there. Regardless if the secret exists on your cluster, could something in the OS be blocking access to it being mounted in the container? I'd try digging through kubelet logs as well looking for info about that pod and secret. |
It seems to be some kind of systemd issue (not sure why), and installing docker with 2.9 version of this docker cookbook caused it. |
Ok, cool to know, thanks! Which version did you use before and which docker version do you use now? |
The docker version was the same all the time (I tried both 1.11.2, which is the recommended, and 1.12.3). |
May it be something with the storage driver? |
No, didn't used it. |
Fixed with v1.6 |
Hello,
I'm trying to create a new kubernetes cluster using kubeadm.
I'm running Ubuntu 16.04 on Dell bare metal servers, and pre installed docker 1.11.2.
Following the kubeadm guide, I running the following commands:
And then trying to set up the first kubernetes server, which hangs for 10 minutes:
Eventualy it continues:
When trying to understand why, I came up with the kube-discovery pod's logs that reads:
2016/11/24 06:40:55 list of API endpoints does not exist: /tmp/secret/endpoint-list.json
I can also see an errors about the CNI in the kube-dns container, here are the full events:
Is there anything additional I should do to setup a cluster with default config?
The text was updated successfully, but these errors were encountered: