-
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
hyperv: Default to disabling dynamic memory (pass --hyperv-disable-dynamic-memory to driver) #2331
Comments
I can confirm that dynamic memory enabled causes problems. Everything starts fine, but after a while it just stops working. See my own issue here: #2298 |
It would be nice if minikube start supports an option to disable dynamic memory for hyper-v. |
Hi, I've been bitten by this problem a few times so would like to implement this. |
I'm here as well, come by the Minikube Intro session this afternoon and we can get your build sorted out :) |
Fantastic, I am attending that session and was going to ask you :-) |
Hey @shahiddev, could you try doing the build with:
My guess is that we're not building in docker because WSL looks like linux, but it doesn't look enough like it to actually work. That flag should force the build to run in a container. |
Hi @dlorenc that still fails
|
Ah, that error usually has something to do with the volume mounts to the docker container not working correctly. I'm not terribly familiar with WSL or Docker for Windows, but my guess is that the part of the command: -v /home/Shahid/projects/go:/go isn't working correctly. Do you know how Docker for Windows mounts work with WSL? Essentially we need the minikube directory from your laptop mounted into the container at /go. |
Thanks, that's a useful hint, I can dig a bit deeper to figure that out. |
Seems like I can get minikube building in the Windows Subsystem for Linux now without needing to use the docker approach. I'm trying to build the Windows binaries using
|
I got a way to test what I've been doing that's fine for now. I have a question about best approach for implementing. Does that sound like a sensible approach? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Please keep active |
This would be really useful, I'm going through this right now too |
/remove-lifecycle rotten |
I'd never heard of dynamic memory before, but read up a little on it: I don't know much about HyperV, but I would definitely be happy to help someone implement this if they want to tackle it. It seems like the --hyperv-disable-dynamic-memory option is supported already by the hyperv driver: |
Dupe of #1766 |
I keep running into issues the first time I do minikube start with kubeadm and hyper-v. It seems to be releated to dynamic memory. I can stop things, disable dynamic memory, then restart but I think it's messed up by then. I'm tyring to work though it now.
The text was updated successfully, but these errors were encountered: