-
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
none: kubelet failed to start -> apiserver process never appeared #5451
Comments
Thanks for taking the time to create this issue, so there are two errors, the first one I suspect be a networking issue or maybe too low resource VM that causes the health check to time out, I am curious how big is your VM Ram or CPU numbers? second error: is because downgrading minikube to an older version is not supported I am curious have you already tried the suggestion in the error message ? |
|
I also got the same problem. My env is Ubuntu 16.04. I didn't use VM, when I started it minikube start --vm-driver=none --apiserver-ips 127.0.0.1 --apiserver-name localhost The results:
X Error restarting cluster: waiting for apiserver: apiserver process never appeared
Look for any help... |
@BobOntario - Can you add the output of Also, do you happen to see an apiserver process running? ( |
@tstromberg no apiserver running? how can i get it started? |
@BobOntario - That's the failure, basically. kubeadm ran, but the apiserver didn't start. Here's what would help now:
Does minikube also crash on this host if the |
Logs as below. minikube also crash without --apiserver-ips and --apiserver-name flags: root@ecs-de1e-0004:~# minikube start --vm-driver=none --apiserver-ips 127.0.0.1 --apiserver-name localhost --alsologtostderr -v=8
[Service] [Install]
|
@tstromberg I couldn't find /root/.minikube/config/config.json in my installation although I followed the instructions to install binary version. Could you please advice how I can get this file? |
@tstromberg minikube start --vm-driver=none --apiserver-ips 127.0.0.1 --apiserver-name localhost --alsologtostderr -v=8 ; I1003 14:56:02.953529 7728 notify.go:125] Checking for updates... [Service] [Install] : running command: sudo env PATH=/var/lib/minikube/binaries/v1.16.0:$PATH kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap Unfortunately, an error has occurred: This error is likely caused by: If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands: Additionally, a control plane component may have crashed or exited when started by the container runtime. π£ Error starting cluster: cmd failed: sudo env PATH=/var/lib/minikube/binaries/v1.16.0:$PATH kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap : running command: sudo env PATH=/var/lib/minikube/binaries/v1.16.0:$PATH kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap Unfortunately, an error has occurred: This error is likely caused by: If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands: Additionally, a control plane component may have crashed or exited when started by the container runtime. πΏ Sorry that minikube crashed. If this was unexpected, we would love to hear from you: minikube logs ; ==> Docker <== ==> container status <== ==> dmesg <== ==> kernel <== ==> kubelet <== |
same problem, under debian 10.0... |
Also having this same problem here, on a chromebook. Main issue is it looks like it's having trouble getting the kube-apiserver up and running. Getting this repeating tons of times:
Logs look similar to the ones posted by others, except running on Debian 9.8 instead of ubuntu. Full output with the command:
Logs output:
|
Seems like it there is a permission issue with docker
Not sure what to do as never tried with none driver before. Has this ever worked before ? if it has then maybe check the account setup for the docker service ? |
I'm also experiencing the repeating pgrep error. This is on Mac OS 10.15 with HyperKit. I'm not clear, is there additional troubleshooting information that would be helpful here? I haven't been about to figure out anything so far.
|
The same on Win10 |
@BrianChristie @abaranchuk - The repeated pgrep is expected behavior, and will be improved in the next release. Is there a particular error you are trying to fix? I recommend a new issue, since this one is specific to the none driver. |
Got the same issue (yesterday Minikube just stopped working), apparently it was docker snap installing itself and then filling the disk with logs (https://www.reddit.com/r/Ubuntu/comments/dwoizd/docker_snap_just_installed_all_by_itself/) |
Same error here. docker 18.09.9, VMware Photon OS 3, minikube 1.5.2. |
Same error here also. Docker 19.03.2, Ubuntu 19.10 (POP OS), Minikube 1.5.2 |
Same error here also.
X Error restarting cluster: waiting for apiserver: apiserver process never appeared
|
I ran |
I run the command |
Is specifying the switch for hyper V something required? If so, why? |
Same error here. CentOS 7.7 and minikube 1.6.2. Here's the output of
|
Deleting the cluster and recreating worked for me. ( |
I'm closing this issue as it hasn't seen activity in awhile, and it's unclear if this issue still exists. If this issue does continue to exist in the most recent release of minikube, please feel free to re-open it. Thank you for opening the issue! |
It seems still there
|
then:
The text was updated successfully, but these errors were encountered: