-
Notifications
You must be signed in to change notification settings - Fork 117
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
Allow setting the CPU model OR enabling nesting #36
Comments
For KVM nesting, I think docker-machine-kvm already passess in |
Hm. I am not sure why, but in minikube @gbraad any idea? |
KVM2 in minikube has diverged, so not sure why they dropped this. @aaron-prindle @r2d4 Any idea? But we are in the process to move this driver to a new home: #67 This might help for this situation... |
Yes, The kvm2 driver doesn't provide options for CPUs other than setting the number to allocate to VM: https://github.com/kubernetes/minikube/blob/9fe915461445d340ec9272f3b043f75f42008ea5/pkg/drivers/kvm/kvm.go#L44 Currently it seems to do the bare minimum libvirt config only. |
Thanks @gbraad Moving the minikube thread over to kubernetes/minikube#2553 @zakame @gbraad |
Actually, on this issues - I think we can close it, because - yes - docker machine has passthrough set which should be neough if the host is configured acccordingly. |
Sometimes - like with kubevirt we are running VMs with kubernetes. In that context we'd like to allow nesting, this requires libvirtd to use
<cpu mode='host-model'>
for the (minikube) VM.It would be nice if there was a way to enable this.
The text was updated successfully, but these errors were encountered: