Closed maitrid closed 9 months ago
Looks like it tries to run the wrong architecture:
Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: creating host: create: creating: qemu-system-x86_64: -accel hvf: Unknown Error: exit status 1
That should have been aarch64
Install minikube for darwin/arm64, as instructed.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
@maitrid The error you're receiving indicates that you have installed the incorrect minikube binary for your computer processor's architecture type; your laptop has an Apple M1 processor which uses arm64 for its processor's instruction set, which is also known as aarch64. You installed the minikube binary for 64-bit x86 architecture processors. When Apple switched from purchasing Intel processors to designing their own chips, their processor's architecture type changed from 64-bit x86 (amd64) to 64-bit arm (arm64). Apple computers with M series processors need to install the darwin/arm64 minikube binary. You should use either Homebrew or MacPorts to manage your minikube installation, and you won't have this issue going forward.
After installing the correct minikube
binary, you can use qemu2
driver and socket_vmnet
network to get the essential minikube
functionality on macos
with m-series chips.
minikube start --driver=qemu2 --network=socket_vmnet
minikube tunnel
in a separate terminal window. /assign @caerulescens
This is not an issue with minikube
; an amd64
binary is being run on arm64
host.
/close
@caerulescens: Closing this issue.
What Happened?
It has "Unknown Error" when tried according to the instructions.
Attach the log file
logs.txt
Operating System
macOS (Default)
Driver
QEMU