-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Rootless podman error kind create cluster
: Generic error message doesn't apply
#2684
Comments
Does it work if you set the delegate as in the guide? |
Nope. |
kind craete cluster
: Invalid error messagekind create cluster
: Invalid error message
kind create cluster
: Invalid error messagekind create cluster
kind create cluster
kind create cluster
: Generic error message doesn't apply
I'm seeing different output from Mac: host:
cgroupControllers:
- memory
- pids Local: host:
cgroupControllers:
- cpu
- io
- memory
- pids It looks like because the remote version is missing |
The podman driver checks for necessary controllers to catch issues early, missing controllers in info seems like a podman bug. podman support is experimental for this reason, docker has been far more stable to target and support. |
👍 will chat with podman folks |
Podman is not my daily driver, yet. Helping out the community so I can make the switch one day :) |
should also add: rootless is it's own still-fully-stabilizing fun 🙃, and at the moment we seem to see more rootless + podman than rootless + docker (probably due to current packaging?) |
I honestly didn't know that rootless was a thing before I tried podman. The security benefits makes it appealing to me. |
#2872 is newer but similar and has more detail. This issue was lost in the sea of github notifications and unclear follow up. As discussed in #2872 I simply don't have time to reproduce all environments and currently the only thing that is clear on this bug is that the environment does not have suitable cgroup for running KIND / Kubernetes. A possible solution is mentioned in #2872 (comment) #2684 (comment) which seems to have been containers/podman#13710 (comment) (thanks @ncdc for following up with the podman folks on that 🙏) and unrelated. |
What happened:
Cannot create a cluster when running
kind craete cluster
with podman (rootless). I get the following error + stack trace:What you expected to happen:
Create a cluster with podman driver. Everyting runs fine when I am on docker, which is what I used before.
How to reproduce it (as minimally and precisely as possible):
Unsure as the error message seems to be meant for those who haven't configured their machine properly. I have already followed the guide.
My delegate.conf is different from the guide, but it should suffice:
Environment:
kind version
):kind v0.12.0 go1.17.8 linux/amd64
kubectl version
):docker info
):/etc/os-release
):The text was updated successfully, but these errors were encountered: