Skip to content
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

k3s check-config fails on pure cgroups v2 systems without legacy controllers #11676

Closed
ricardobranco777 opened this issue Jan 28, 2025 · 3 comments

Comments

@ricardobranco777
Copy link

K3s Version:
k3s version v1.31.4+k3s1 (a562d09)
go version go1.22.9

Node(s) CPU architecture, OS, and Version:
Linux jeos 6.13.0-1-default #1 SMP PREEMPT_DYNAMIC Mon Jan 20 07:26:08 UTC 2025 (1513344) x86_64 x86_64 x86_64 GNU/Linux

k3s check-config fails on pure cgroups v2 systems without legacy controllers:

- CONFIG_CGROUP_CPUACCT: missing (fail)
- CONFIG_CGROUP_DEVICE: missing (fail)
- CONFIG_CGROUP_FREEZER: missing (fail)

Steps To Reproduce:

  • Installed K3s:
curl -sfL https://get.k3s.io  -o install_k3s.sh
sh install_k3s.sh --disable=metrics-server --disable-helm-controller --disable=traefik

Expected behavior:
No failures.

Actual behavior:
Fails on legacy controllers.

@brandond
Copy link
Member

brandond commented Jan 29, 2025

I don't know what jeos is but it looks like you are in fact missing some cgroup controllers. CPUACCT, DEVICE, and FREEZER are not legacy as far as I know.

@github-project-automation github-project-automation bot moved this from New to Done Issue in K3s Development Jan 29, 2025
@ricardobranco777
Copy link
Author

I don't know what jeos is but it looks like you are in fact missing some cgroup controllers. CPUACCT, DEVICE, and FREEZER are not legacy as far as I know.

JeOS is openSUSE Tumbleweed.

@brandond
Copy link
Member

OK well I guess it doesn't provide "just enough" cgroup controllers.

hjluo pushed a commit to hjluo/os-autoinst-distri-opensuse that referenced this issue Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done Issue
Development

Successfully merging a pull request may close this issue.

2 participants