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

Takes 95 seconds to stop a xhyve VM #4660

Closed
ahmetb opened this issue Jul 2, 2019 · 6 comments · Fixed by #4781
Closed

Takes 95 seconds to stop a xhyve VM #4660

ahmetb opened this issue Jul 2, 2019 · 6 comments · Fixed by #4781
Labels

Comments

@ahmetb
Copy link
Member

ahmetb commented Jul 2, 2019

A simple minikube stop just took 95 seconds.

This is a relatively fresh/empty VM. I only ran:

  • minikube start --container-runtime=containerd --docker-opt containerd=/var/run/containerd/containerd.sock

  • minikube addons enable gvisor

  • kubectl logs

  • minikube stop (took 95s.)

The exact command to reproduce the issue: minikube stop (xhyve driver)

The full output of the command that failed took too long:

Output
[23:31:16] ~ $ minikube stop
✋  Stopping "minikube" in xhyve ...
🛑  "minikube" stopped.
[23:32:51] ~ $ <--

The output of the minikube logs command:

minikube logs
N/A – host stopped

The operating system version: 10.14.5 (18F132)
minikube version: 1.2
minikube addons: gvisor

@ahmetb ahmetb changed the title takes 95 Takes 95 seconds to stop a xhyve VM Jul 2, 2019
@medyagh
Copy link
Member

medyagh commented Jul 2, 2019

Thank you for creating this issue, 95 seconds is not acceptable for waiting to stop. Btw I am curious is there a specific reason to use xhyve driver ? We have depricated support for that driver. But I am curious if there is any advantage of using xhyve to hyperkit ?

@ahmetb
Copy link
Member Author

ahmetb commented Jul 2, 2019

Mostly gMac compliance I think. Or maybe I’ve been using minikube since far too long. I should try the hyperkit option. Thanks.

@medyagh
Copy link
Member

medyagh commented Jul 2, 2019

We are working on VM free minikube for all platforms, with that coming it will speed up super fast !

@ahmetb
Copy link
Member Author

ahmetb commented Jul 2, 2019

That sounds dope but I have no idea how would it work :P

@tstromberg
Copy link
Contributor

For "gmac compliance", I suggest just installing hyperkit from brew.

@ahmetb
Copy link
Member Author

ahmetb commented Jul 16, 2019

Yeah, I think we can close this I suspect xhyve is going to be removed.

@ahmetb ahmetb closed this as completed Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants