Closed adamlwatson closed 1 month ago
Same issue here.
$ sw_vers
ProductName: macOS
ProductVersion: 14.3.1
BuildVersion: 23D60
$ colima --version
colima version 0.6.8
$ minikube version 14
minikube version: v1.32.0
commit: 8220a6eb95f0a4d75f7f2d7b14cef975f050512d
$ cat ~/.colima/default/colima.yaml | grep -Ev '(^\s*#)|(^\s*$)'
cpu: 4
disk: 60
memory: 5
arch: x86_64
runtime: docker
hostname: colima
kubernetes:
enabled: false
version: v1.28.3+k3s2
k3sArgs:
- --disable=traefik
autoActivate: true
network:
address: true
dns: []
dnsHosts: {}
forwardAgent: false
docker: {}
vmType: vz
rosetta: true
mountType: sshfs
mountInotify: true
cpuType: ""
provision: []
sshConfig: true
mounts: []
env: {}
minikube start
log: https://gist.github.com/alexandrpaliy/3fecf00527b0b512267c06694d8be7d9
I think this deserves explicit message instead of editing my previous post.
Changing vmType
from vz
to qemu
resolved the issue - at least, minikube seems up and running.
According to https://lima-vm.io/docs/config/vmtype/#caveats :
Virtualization.framework doesn’t support running “intel guest on arm” and vice versa
Since I do indeed have arm CPU, and I tried to use arch: x86_64
in colima configuration - I think the error makes sense in the end. Maybe the text of the error doesn't, though :)
Running minikube in emulation (in general) isn't supported, since it is too slow for most usages...
For containers it is better to run them with "fast mode", but node configuration in k8s gets tricky (how to configure a node that is of the arm64 architecture, but can run containers for amd64?)
https://lima-vm.io/docs/config/multi-arch/
Unfortunately the Kubernetes tutorials require it (also being able to run x86_64 containers) Because the example project* hasn't been updated for 5+ years, and thus isn't multi-arch yet
* https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/
REPOSITORY TAG IMAGE ID CREATED SIZE
gcr.io/google-samples/kubernetes-bootcamp v1 8fafd8af70e9 7 years ago 211MB
But for the minikube VM (start --vm
), having hardware acceleration is considered mandatory.
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
The Kubernetes project currently lacks enough active 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 rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages 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:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
What Happened?
I'm trying to install Minikube on a Colima x86_64 instalnce on a Mac M1. I'm starting the Colima instance using this configuration:
colima start --cpu 4 --memory 10 --disk 100 --runtime docker --arch x86_64 --vm-type vz
Once the Colima instance is running and I verify the Docker Daemon is running, I then try to start Minikube using this configuration:minikube start --cpus 4 --memory 9G --disk-size 90G --driver docker --container-runtime docker
Toward the end of setup, I receive an error:
I've seen another issue that was similar to this, and have tried a
minikube delete --all --purge
to no avail.I am able to spin up amd64 images under the Docker instance running on Colima x86_64 manually.
If I start minikube under a Colima instance that's set to the aarch64 archirtecture with Rosetta enabbled, the minikube installation works as expected... but then I can't seem to get any linux/amd64 images to run (of course).
Attach the log file
logs.txt
Operating System
macOS (Default)
Driver
Docker