-
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
Mac M1: hyperkit not supported. #11885
Comments
Hi @NitichaiSawangsai, thanks for reporting your issue! As shown in the message, minikube does not yet support hyperkit on M1 Macs. This is something we're hoping to support in the future. For now you can use the Docker driver. Hope that helps, thanks for using minikube! |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
We're going to work on implementing a qemu driver for a vm driver on arm64 darwin. |
Any clue when it is planned to be released? |
The current tentative timeline puts it the end of Q2 2022. |
@spowelljr @sharifelgamal I totally love my M1 but my love for Docker is much more limited and I see the issue remains unassigned. Is there a recommended best practice as a workaround while this is being worked on, e.g. using podman? |
You can use lima, as a workaround.
limactl start https://github.com/lima-vm/lima/blob/master/examples/k8s.yaml It will use ubuntu and containerd. |
We just released minikube v1.26.0-beta.0 that supports the QEMU driver https://github.com/kubernetes/minikube/releases/tag/v1.26.0-beta.0 |
Looks on the first sight very good 👏 |
@spowelljr is it possible to specify the path to qemu? I get 🤷 Exiting due to PROVIDER_QEMU2_NOT_FOUND: The 'qemu2' provider was not found: lookup qemu: open /opt/homebrew/Cellar/qemu: no such file or directory with an installation to /usr/local from source.
(This is also qemu 7, so perhaps I should install qemu 6) |
Not yet, this is something we're going to fix before the GA v1.26 release. Right now, we only look for a qemu installation from brew. #14146 has more details about what's missing in the qemu driver. |
@tedgoddard I merged a PR that should allow you to specify the path of the firmware file (usually |
Hi everyone,
|
yeah, this is a known issue (seen in #14273) that should be fixed at HEAD, and will be fixed when the GA v1.26.0 minikube release is out. |
@sharifelgamal thank you so much! |
I got it to work by doing:
After the download, I did this:
|
Thanks that works, but it uses qemu and not Hyperkit 😉 |
HyperKit is Intel-only, so the alternative to QEMU will be the new Virtualization.framework driver (whenever that is ready) |
Ya, you're totally right 👍 |
Can we please document this to the quickstart for mac m1 ? |
Has the quickstart documentation been started for mac m1? I don't see the updates published. |
@dmiyamasu and @rajjaiswalsaumya there is a Apple Silicon documentation here → https://minikube.sigs.k8s.io/docs/start/ and also the QEMU startup flags are explained on the drivers page → https://minikube.sigs.k8s.io/docs/drivers/qemu/ I think that will help. |
This document also only mentions hyperkit and doesn't mention using qemu on apple silicon: https://github.com/kubernetes/minikube/blob/master/site/content/en/docs/tutorials/docker_desktop_replacement.md |
Mac M1
Steps to reproduce the issue:
Full output of failed command:
The text was updated successfully, but these errors were encountered: