-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Problem creating cluser using Kind with Podman on Rocky Linux 8 #3650
Comments
https://kind.sigs.k8s.io/docs/user/rootless/
updating grub will only take affect on rebooting, but you appear to be on cgroup v2 already
podman is usually daemonless which is why we don't mention this for podman However rootless podman also documents: https://kind.sigs.k8s.io/docs/user/rootless/#:~:text=On%20some%20distributions,kind%20create%20cluster did you try systemd-run? |
Sorry forgot to mention that, but yes I did try that systemd-run as well and get the same error. |
kind is detecting if the environment is correct, this error means we don't see the correct cgroup controllers available: kind/pkg/cluster/internal/create/create.go Lines 252 to 253 in b39bf4d
Can you try rocky linux 9? It's possible this has been fixed in the distro. Rootless containers is relatively more recently stabilized. |
Unfortunately upgrading is not an option for me. I was able to gain access to a remote cluster so I don't necessarily need this up and running, but it is concerning that the error message being provided here doesn't provide a full solution. I also tried to manually set certain permissions in my cgroup like so:
but the CPU kept failing. That portion seems to be more of a Rocky OS problem so I wouldn't expect that to be figured out here. |
The error message is just a hint, the docs for rootless are here: https://kind.sigs.k8s.io/docs/user/rootless/ |
General Problem: When trying to create a cluster as per the Quick Start documentation, I have the following issue:
I have followed the documentation at the link, and setup my system like the following:
I have run the commands
sudo update-grub
(sudo grub2-mkconfig -o /etc/grub2.cfg
on my system),sudo systemctl daemon-reload
, andsystemctl --user restart podman
but they have not helped. I started explicitly podman as well, but the error persists:Kind Version = kind v0.23.0 go1.21.10 linux/amd64
Podman Version = Version: 4.9.4-rhel
OS/Arch: linux/amd64
OS / Kernel = Rocky Linux 8 / 6.9.3-1.el8.elrepo.x86_64
If anyone has any insight into what might be causing the issue or how to get around it, or if additional information would be helpful, please let me know. Thank you!
The text was updated successfully, but these errors were encountered: