-
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
minikube start: VM IP address not resolving on v.0.15 #1000
Comments
I am getting the same issue, Win 10 hyperv newest docker and kube |
I'm experiencing the same issue. ifconfig eth0 shows an ip is being assigned by dhcp in the vm. |
I am getting the same issue.
Environment:
|
Same issue, reproduced with both fabric8's gofabric8 tool (v0.4.113) and Minikube launcher itself (Win10, Hyper-V). Apparently, no IPs were assigned to the VM, so I was able to overcome it and proceed past this step by changing virtual switch settings (namely changing "Internal network" to "External network" and assigning it to a real network card): Another viable option: these steps. |
I have just tested v0.16 with VSwitch set to external network instead of internal with internet sharing and it worked fine, so I am closing this issue |
I was having this problem, pulling my hair out and none of the explanations were helping me until I noticed @Alexander-Kiselyov last point in his posting, "Another viable option". I followed that link then I realized what I had done wrong. When you setup a virtual switch make sure you set it to PRIVATE and then inside that switch select EXTERNAL. I was selecting external virtual switch with external network and this did not work. I followed the rest of the instructions by deleting my minikube vm and blowing away the .minikube folder in my home directory. I then ran minikube start and it all worked perfectly! Finally!! Thank you @Alexander-Kiselyov and @aaron-prindle !! |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG
Minikube version (use
minikube version
): v0.15.0Environment:
What happened:
After switching to minikube 0.15 creating VM from scratch hangs in a loop trying to get VM IP address, logs keep writing that:
C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Get-VM minikube ).networkadapters[0]).ipaddresses[0]
Full command that I am running:
minikube start --kubernetes-version="v1.5.1" --vm-driver="hyperv" --show-libmachine-logs --alsologtostderr --hyperv-virtual-switch "Minikube" --memory 4096 --v=7
Hyper-v switch is configured as internal with internet sharing and
same works if I delete VM and return back to minikube 0.14, so I think it's something to do with the new iso
What you expected to happen:
minikube start works
How to reproduce it (as minimally and precisely as possible):
The text was updated successfully, but these errors were encountered: