-
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
Minikube assumes remote docker host is same arch as local machine #13303
Comments
Right, this is a "bug": (Using the docker driver has the same issues as the ssh driver) minikube doesn't have very good support for remote systems, and when it does it assumes that they are the same arch you can still use kubernetes like that, but like multi-node before you might have to do some of the setup yourself (for now) |
Hi @snickell, were you able to review @afbjorklund comments above, and did you have any additional comments? It looks like this issue might have been identified per #9593. |
Hi @klaases I don't know enough of the system internals to comment on @afbjorklund 's comment, but it seems very plausible to me? Fixing #9593 might not be enough to fix this, but it seems like a critical step at a min |
#9593 should be fixed when minikube 1.26 is released, so we can revisit this when that happens. |
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 |
This should now be doable, help wanted! |
I was able to workaround this by using the x86_64 Minikube macOS binary and setting --preload=false. |
What Happened?
I'm using a MacOS ARM64 ("apple silicon") laptop as my dev machine, but I do builds on a remote Docker Linux AMD64 host using
DOCKER_HOST="tcp://192.168.1.44"
. If I create the minikube-in-docker while sshed into the Linux machine, minikube installs an AMD64 docker build. However, if I try tominikube start
from my Mac initially, while it pulls an x86_64 docker image, thekubeadm
andkubectl
binaries in/var/lib/minikube/binaries/v1.22.3/kubeadm
are NOT x86_64 but arm64, which won't run on my AMD64 docker host (it gets wrongly sniffed as a shell script and fails to run, but see below its an ELF just wrong architecture).Attach the log file
log.txt
Operating System
macOS (Default)
Driver
Docker
The text was updated successfully, but these errors were encountered: