-
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
Better documentation needed for virtual desktop #4730
Comments
Normally the best solution is to create a new VM, that is: a sibling, rather than a child https://github.com/kubernetes/minikube/blob/master/docs/vmdriver-none.md The remaining part to do is configuring the desktop VM to talk to the minikube VM. Update: this can done, by using the "generic" driver rather than the "none" driver |
As long as we require systemd on the host, we can use It returns "none" on a real machine, and something like "oracle" on VirtualBox. |
I know that @josedonizetti is working on docs for remote qemu with KVM !, maybe we could it be called "Remote" driver ? |
it would be great to find out if they are running inside nested VM and add it to theoutput, so at least when they come for help, we know they are coming from nested VM, maybe we can detect it by something like this ? https://unix.stackexchange.com/questions/3685/find-out-if-the-os-is-running-in-a-virtual-environment |
I'm not sure remote qemu+tcp sessions are a good idea (without encryption), and Linux-only as well ? Will open a separate issue for supporting the "generic" driver, since that only requires a VM with ssh. Compared with the setup above, it will be much better since it will set up the kube context and so on... It is still a much heavier, in terms of resources, and harder to set up solution than |
Added #4733 for "generic" |
For the scenario in the beginning, here is the output: vagrant@ubuntu-xenial:~$ LANG=C lscpu | grep Virtualization
Virtualization type: full
vagrant@ubuntu-xenial:~$ systemd-detect-virt
oracle Compared to the "normal" output from the laptop: anders@anders-ThinkPad:~/ubuntu$ LANG=C lscpu | grep Virtualization
Virtualization: VT-x
anders@anders-ThinkPad:~/ubuntu$ systemd-detect-virt
none Note the difference between "Virtualization" (host) and "Virtualization type" (guest) Also I needed to set the locale, since the |
We should also clarify this text:
It is actually not the VM that is the problem here, it is the lack of a dedicated VM. If you decide to install the control-plane node directly on your development machine, And if you instead decide to do all your development as So: currently minikube does not support running on the same machine, that is #4389 |
Note how I failed at the first step of the installl instruction, but still continued until the bitter end ?
This is typical of documentation, I guess you can't write it clear enough. Or double-check, in code. |
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. |
@afbjorklund |
@medyagh : I don't think there is any major difference, between the old and the new (well, colors) But it gets confusing already from the start (page 1). Like, which OS do you choose ? How do you "verify your system has virtualization support" ? Nested virtualization ? So most people go for the |
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. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Users are still having problems with this /remove-lifecycle rotten |
/lifecycle frozen |
More and more users are trying to run minikube on a virtual desktop (VM).
Typically this fails, because nested virtualization is not enabled for them...
We should inform about this situation, and maybe even try to detect it too ?
Then we can come up with a better solution suggestion than "reboot your PC"
The text was updated successfully, but these errors were encountered: