-
|
Hi Folks, is there a way to start a Kubernetes cluster in RD for amd64 on an Apple Silicon Mac? AFAIK Lima supports such scenarios (see Intel-on-ARM and ARM-on-Intel) but not found any hint in the RD documentation. Unfortunately I've to work with some intel-only images 😬 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
There is no mechanism for this yet. I find running the whole VM in virtualization to be really slow, so I'm hoping that we can eventually implement a multi-node cluster inside the single VM, so only a kubelet instance and its containers need to be emulated. We already support this at the container runtime level: $ nerdctl run --platform linux/arm64 busybox uname -a
Linux 642f631c0d94 5.10.82-0-virt #1-Alpine SMP Fri, 26 Nov 2021 13:19:46 +0000 aarch64 GNU/Linux
$ nerdctl run --platform linux/amd64 busybox uname -a
Linux bf243802ec6d 5.10.82-0-virt #1-Alpine SMP Fri, 26 Nov 2021 13:19:46 +0000 x86_64 GNU/LinuxAlso works with We don't have a way to run a different architecture just for k3s either, so right now this is not supported. |
Beta Was this translation helpful? Give feedback.
-
|
In case it's useful to anyone else landing on this issue, I've been able to use amd64 images by doing the following:
export DOCKER_DEFAULT_PLATFORM=linux/amd64
docker pull public.ecr.aws/bitnami/rabbitmq:4.2.1it seems the container engine won't verify that the image present on the machine is the same architecture and will just happily run it |
Beta Was this translation helpful? Give feedback.
There is no mechanism for this yet. I find running the whole VM in virtualization to be really slow, so I'm hoping that we can eventually implement a multi-node cluster inside the single VM, so only a kubelet instance and its containers need to be emulated.
We already support this at the container runtime level:
Also works with
dockerdruntime and thedockercli. But for k8s the platform is …