This message was deleted.
# k3s
a
This message was deleted.
l
What version of K3s?
h
Copy code
k3s version v1.25.2+k3s1 (53c268d8)
go version go1.19.1
I read that it should work with cgroups2
l
Yeah I believe so as well
h
Thanks for help, I got it working with `/etc/default/grub`:
Copy code
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0"
and then:
Copy code
update-grub
reboot now
🎯 1
l
Nice … so it simply wasn’t enabled or what? cgroup v2?
h
This
Copy code
systemd.unified_cgroup_hierarchy=0
enables cgroups v1
Cgroups v2 is enabled by default in Debian 11, so k3s does not work
l
Aaah sheize … that’s what it means of course. But, is it really a K3s specific thing … and not actually any Kubernetes distro?
c
the problem is that you need to be in either v1 or v2(unified) mode. Hybrid mode (where some are v1 and some are v2) does not work. In your case it sounds like the cpuset controller was still on v1 and the rest were on v2.
l
Aaaah yes. Makes sense.
220 Views