-
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
How Do You Set the QEMU Driver Flags From Minikube #18895
Comments
Hi @Dala0, currently those fields are not configurable in minikube, they are automatically chosen depending on the architecture of the machine. However allowing those field to be configurable on start using flags would be a good feature addition. |
I created a quick 10 minute implementation: #18906 |
Looking forward to seeing this feature in the next release. |
Wow, that was quick! Thank you. |
The flags are only available in
This is not something that is supported in minikube, since it is too slow to run Kubernetes under emulation |
Using the docker driver and qemu-user is faster: But hopefully there will "soon" be a new tutorial: |
@afbjorklund does that mean we need to modify the minikube-machine org code? |
Not really, minikube has its own fork of all the drivers (e.g. "qemu2") So there are different ways of setting the Config, whether Flags or not https://github.com/minikube-machine/machine/blob/main/drivers/qemu/qemu.go#L199 https://github.com/kubernetes/minikube/blob/master/pkg/minikube/registry/drvs/qemu2/qemu2.go#L117 |
@Dala0 @nnzv Sorry, just getting back to this now, you can test this out by downloading the following binary, let me know if it works for you. https://storage.googleapis.com/minikube-builds/18906/minikube-darwin-arm64 |
What Happened?
I am trying to get Minikube to start up a QEMU based x86 emulator on an ARM CPU under macOS.
It would be useful to access flags such as 'qemu-program', 'qemu-machine', and 'qemu-cpu'. I have been unable to work out how to do this from 'minikube start'.
@afbjorklund
Attach the log file
log.txt
Operating System
macOS (Default)
Driver
QEMU
The text was updated successfully, but these errors were encountered: