rootless-containers / usernetes

Kubernetes without the root privileges
https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2033-kubelet-in-userns-aka-rootless
Apache License 2.0
865 stars 58 forks source link

controller `cpu` is not available - usernetes:latest cgroups v1 #241

Closed dg424 closed 1 year ago

dg424 commented 3 years ago

I'm getting the following error:

kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim: OCI runtime create failed: the requested cgroup controller cpu is not available: unknown

I see here - https://github.com/rootless-containers/usernetes#enable-cpu-controller - that it seems related to cgroups v2, but I'm using the "latest" which should still be cgroups v1 as per this - https://github.com/rootless-containers/usernetes/issues/239#issuecomment-907186653 ?

AkihiroSuda commented 1 year ago

Let me close this, as cgroup v1 is no longer supported