-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Make the VM IP settable #2938
Comments
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. |
NOTE: #951 covers the predictable IP feature request |
I do think this will be difficult to implement, as the MAC address for the NIC is generated on creation of the virtual machine, and this will complicate matters when running more than one minikube instance on one host. #951 implements predictable IP until machine is deleted, as a new machine will have a new nic. Suggestions for implementation:
Any options requires quite tight interaction with the VM host when creating the VM. |
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. |
Still an issue. I believe this is related to a libmachine limitation. |
I also got a lot of problems getting a working solution and tried to get a static address setup in minikube or even a DHCP server to assign a static address. Here is what I did on my side. I understand your setup is different and my solution may not fit your needs. My setup is Hyper-V on Windows 10 Pro. I hope it gives you some food for thought as a minimum.
I hope it gets you to a working solution for your setup. Definitely there is a lack of support about minikube on Windows. But I am committed to use it since it allows for greater productivity overall. Have a look at this issue if you wonder why I use an internal VM Switch #5072 . |
This is still an issue in minikube v1.6 - and will likely be an issue until we migrate to using something other than libmachine. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Perhaps Both
Please provide the following details:
Environment:
Windows 10 or Mac High Sierra
Minikube version (use
minikube version
): ALLWhat happened:
Minikube ip changes after stopping and starting it. This is inconsistent as sometimes it doesn't change
What you expected to happen:
Minikube ip to be configurable
How to reproduce it (as minimally and precisely as possible):
minikube start
minikube ip
minikube delete
minikube start
minikube ip
As a feature request, I would appreciate it if there was a flag that could specify that IP when you run minikube start.
The text was updated successfully, but these errors were encountered: