Do not allow running darwin/amd64 minikube on darwin/arm64 macs #10928
Labels
arch/arm64
kind/bug
Categorizes issue or PR as related to a bug.
os/macos
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
M1 macs allow to run amd64 in rosetta mode. We need to prohibit this, as it leads to downloading amd64 preloads, running amd64 kubeadm and SEGFAULT in the end.
runtime.GOARCH is 'amd64' in this case, so we need an extra step to detect what we're running im emulation mode, like using
gopsutil
library, or running an external binary likearch
oruname
The text was updated successfully, but these errors were encountered: