-
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
Add hyperv support #467
Add hyperv support #467
Conversation
@jimmidyson Can you please guide me to the build instructions? |
You can find build steps here: https://github.com/kubernetes/minikube#development-guide But they haven't been tested extensively from windows. Our CI server stores builds for each PR though, so you could grab the one from this PR here: You can see the upload if you click "details" next to "Jenkins Cross Buiild" in the Checks dialog, then click "Build Logs". |
LGTM, but let's hold off until someone has a chance to test. @aaron-prindle has a Windows machine he can test with too. |
I am having issues using hyperv with minikube, here is a gist showing the steps I took and the error that I am getting when running https://gist.github.com/aaron-prindle/4454d0941cfb095f23408c6f3035990f |
I am getting this same issue when using docker-machine with the hyperv driver: |
52ab263
to
b4b2927
Compare
I wanted to share some finding, maybe they can help you debug. I also tested today with the PR. With docker machine when you enable connection sharing i was able to make it work (docker-machine version 0.8) http://www.packet6.com/allowing-windows-8-1-hyper-v-vm-to-work-with-wifi/ (this is mentioned in the hyper-v driver documentation -https://github.com/docker/machine/blob/8141874120abdc5c9056b6dbeb09bfb76a3eb290/docs/drivers/hyper-v.md). With minikube it remains stuck at: Starting local Kubernetes cluster... Manually i'm able to SSH into the boot2docker vm using the minikube key(C:\Users\user.minikube\machines\minikubeVM\id_rsa). One thing i noticed is that the boot2docker image for machine is version 1.12 while the minikube one is 1.11. It might not help but figured it might. |
Is anyone still working on this? |
I'm back next week to try to get this in. Would love feedback on any info on how to get this working. |
I am currently looking into getting the hyperv driver working with minikube. Right On Thu, Aug 18, 2016 at 2:11 PM, Jimmi Dyson notifications@github.com
|
Hey @jimmidyson, Edit:
|
b4b2927
to
27759eb
Compare
27759eb
to
abbb0f1
Compare
@aaron-prindle Thanks! Updated. |
Current coverage is 29.84% (diff: 0.00%)@@ master #467 diff @@
==========================================
Files 38 39 +1
Lines 1562 1568 +6
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 468 468
- Misses 991 997 +6
Partials 103 103
|
LGTM |
Having some problems with this, I've attached the log file. Please take a look. I stopped and started again, even deleted and created the vm again but the results were same. |
That's an IPv6 address. Perhaps the hyperv driver doesn't support IPv6? |
@aaron-prindle had some trouble with ipv6 as well |
Yes, I changed the DockerNAT network interface type to public and bridged it to my WiFi and it has started working. Thanks. However, it seems that only Administrator can create or start the minikube VM. |
I believe this is because by default only the Administrator account has From this article though it appears that there might be issues in doing On Wed, Aug 24, 2016 at 12:47 PM, Raees Bhatti notifications@github.com
|
It doesn't work with Windows 10 but thanks 👍 |
Found another problem. No, host directory is being shared in the VM, not event the Users directory. I think its the same as the xhyve problem. Should be easy to fix. |
Could you open a separate bug to track that fix? It might be more work depending on the hyper-v driver. |
@jimmidyson can you please take a look at #518 |
Fixes #465
@RaeesBhatti Would you be willing to try this branch out locally & see if hyperv support works for you? Would be much appreciated if you could.