Skip to content
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

minikube status says apiserver:stopped #14540

Closed
cp99says opened this issue Jul 11, 2022 · 10 comments · Fixed by #14895
Closed

minikube status says apiserver:stopped #14540

cp99says opened this issue Jul 11, 2022 · 10 comments · Fixed by #14895
Labels
co/docker-driver Issues related to kubernetes in container kind/bug Categorizes issue or PR as related to a bug. os/linux triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@cp99says
Copy link

cp99says commented Jul 11, 2022

What Happened?

logs.txt

Please look into the issue and help me sort this out, I am new into kubernetes.
OS:- Cinnamon, minikube started using docker driver

Attach the log file

When I check the status using minikube status, it says
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Stopped
kubeconfig: Configured

Operating System

Linux Mint 20.3

Driver

Docker version 20.10.17, build 100c701

@PalmaPedro
Copy link

Hello

same issue with me. I even allowed extra memory upon start by 'minikube start --memory=4g' but still the 'apiserver' is stopped. Have you fixed it?

@cp99says
Copy link
Author

@PalmaPedro no, I was not able to solve the issue, I am still facing problems to start the cluster. I was fed up and started it in windows, there it ran in a single run. Hoping for some help from the Kube community :)

@PalmaPedro
Copy link

I'm also on Linux Mint, I'll report back if i find a solution

@cp99says
Copy link
Author

cp99says commented Aug 9, 2022

@PalmaPedro I found a solution, and It worked for me.
I installed minikube with docker, but this time without docker-desktop. Seems like docker-desktop might have some issue with its configuration and alignment with docker-ce and minikube.

First, I removed docker entirely from my system

Moreover, I followed this tutorial to install minikube and kubectl

hope this helps

@PalmaPedro
Copy link

Thanks for the detailed answer, I appreciate it. In my attempts to setup minikube, I also realized that Docker desktop could be causing issues. I ended up trying to ditch docker as my driver to start minikube for now, and tried with virtualbox ( https://minikube.sigs.k8s.io/docs/drivers/virtualbox/ ). This seems to work for me for now, but i'll try as you suggest.

@klaases
Copy link
Contributor

klaases commented Aug 9, 2022

Hi @cp99says, yes, it sounds like removing and/or reinstalling Docker Desktop helped in this case, and I appreciate the follow up and commands/instructions.

With external dependencies, from time to time it appears that reinstallation is the appropriate "fix" for the issue.

@cp99says
Copy link
Author

Hi @cp99says, yes, it sounds like removing and/or reinstalling Docker Desktop helped in this case, and I appreciate the follow up and commands/instructions.

With external dependencies, from time to time it appears that reinstallation is the appropriate "fix" for the issue.

yes, but this should be mentioned somewhere either on the kubernetes website or docker-desktop webpage, that "due to dependency incompatibility, minikube wont even start " , so that newbies wont have to face this issue

@afbjorklund
Copy link
Collaborator

afbjorklund commented Aug 21, 2022

Docker Desktop on Linux is not yet supported by minikube

@afbjorklund afbjorklund added kind/bug Categorizes issue or PR as related to a bug. co/docker-driver Issues related to kubernetes in container os/linux triage/duplicate Indicates an issue is a duplicate of other open issue. labels Aug 21, 2022
@klaases
Copy link
Contributor

klaases commented Aug 22, 2022

yes, but this should be mentioned somewhere either on the kubernetes website or docker-desktop webpage, that "due to dependency incompatibility, minikube wont even start " , so that newbies wont have to face this issue

Hi @cp99says, are you proposing to add the above as a known issue on this page?
https://minikube.sigs.k8s.io/docs/drivers/docker/#known-issues

I could probably create a PR for that if that would help, just let me know.

@cp99says
Copy link
Author

sure, that would be a piece of helpful information to people who are getting started in the DevOps world and they don't need to waste time on setting the cluster up.

Thanks for the idea @klaases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/docker-driver Issues related to kubernetes in container kind/bug Categorizes issue or PR as related to a bug. os/linux triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants