-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Error starting cluster: kubeadm init error (Process exited with status 1, no root cause) #3038
Comments
I'm getting the same exact error message on same minikube version, although I'm using hyperkit v0.20171204-60-g0e5b6b I haven't dug too deep yet, did you find anyway to get your local cluster started? |
@erickpearson |
@erickpearson |
@lhui8023 running the localkube bootstrapper worked. However it does suggest that this is deprecated and consider moving to kubeadm bootstrapper which is what was having trouble initializing. Thanks for the help, I'll work with this for now. |
@erickpearson @lhui8023 I have same issue with you, although I have fix that with same solution but I want to know the root cause and have a long term solution about that |
After a round of git bisect between v0.28.0 (good) and v0.28.2 (bad), it seems that 81440fe broke k8s 1.10 deployments. k8s 1.11 works fine. Host environment:
|
Using minikube v0.28.0 with Ubuntu Xenial 16.04, non driver and K8s 1.10 or 1.11 does not work form me. |
in the log:
Although, I was lucky with
|
There seem to be some deprectaion warnings in the kubelet. |
closing as a dupe of #2493 |
@tstromberg dupe of itself? I'm not sure what now the correct bug to follow is |
This is not a duplicate, because the error message |
macOS 10.13.6
VirtualBox-5.2.16-123759-OSX
minikube:v0.28.2
[localhost:v1.10.0 leihui$ minikube start
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
E0802 14:11:33.136236 886 start.go:300] Error starting cluster: kubeadm init error
sudo /usr/bin/kubeadm init --config /var/lib/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests --ignore-preflight-errors=DirAvailable--data-minikube --ignore-preflight-errors=Port-10250 --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-etcd.yaml --ignore-preflight-errors=Swap --ignore-preflight-errors=CRI &&
sudo /usr/bin/kubeadm alpha phase addon kube-dns
running command: : running command:
sudo /usr/bin/kubeadm init --config /var/lib/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests --ignore-preflight-errors=DirAvailable--data-minikube --ignore-preflight-errors=Port-10250 --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-etcd.yaml --ignore-preflight-errors=Swap --ignore-preflight-errors=CRI &&
sudo /usr/bin/kubeadm alpha phase addon kube-dns
.: Process exited with status 1
An error has occurred. Would you like to opt in to sending anonymized crash
information to minikube to help prevent future errors?
To opt out of these messages, run the command:
minikube config set WantReportErrorPrompt false
Please enter your response [Y/n]:
The text was updated successfully, but these errors were encountered: