-
Notifications
You must be signed in to change notification settings - Fork 34
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
bug: Failed to run k3s (with containerd) on Intel VM with Apple M1 #465
Comments
It may not be feasible to support running full-blown k3s under Rosetta emulation. I'm not familiar with Kubernetes, but consider doing it like Docker multi-platform if possible: x86 containers on an arm64 host. |
But multipass works well. I am not sure if it is related to kubernetes. I think it is only about containerd. Because the kubernetes does not raise any error. The container runtime (containerd) returns seccomp not supported. |
Multipass emulates a full x86 VM, which is better for compatibility but extremely slow. OrbStack uses Rosetta emulation instead. I'll take a look but unfortunately this may very well turn out to be infeasible/wontfix. |
Gotcha, thanks! |
Hi, do you think it would be feasible to support x86-emulated Kubernetes on Apple Silicon through OrbStack? |
Very unlikely. |
Have the same issue. After research, I got a workaround solution by specify k3s (with k3s installation option The detail solution is here. |
Describe the bug
I created a linux intel VM on my M1 macOS and a k3s cluster there.
K3s uses containerd to create containers. All the containers show: seccomp is not supported.
multipass does not have such issue. I could create the k3s cluster in multipass VM successfully.
To Reproduce
Expected behavior
All the pods should be running, instead of ContainerCreating
Logs
I do not think it is related.
Screenshots and additional context (optional)
No response
The text was updated successfully, but these errors were encountered: