You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning FailedCreatePodSandBox 6s (x3 over 32s) kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to start shim: start failed: io.containerd.runc.v2-rs: Other("add task to cgroup: unable to write to a control group file /sys/fs/cgroup/SystemdCgroup = true\n/cgroup.procs, value [CREATE FILE] caused by: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")
: exit status 1: unknown
Warning FailedCreatePodSandBox 11s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to start shim: start failed: io.containerd.runc.v2-rs: Other("add task to cgroup: unable to write to a control group file /sys/fs/cgroup/NoNewKeyring = false\n/cgroup.procs, value [CREATE FILE] caused by: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")
: exit status 1: unknown
Start the pod using runc shim.
I set it up like this. Of course this works.
containerd/config.toml
Next, add SystemdCgroup options.
kubectl describe pod
Other options are similar.
background: https://cloud-native.slack.com/archives/C04LTPB6Z0V/p1739716368576559?thread_ts=1738110849.528919&cid=C04LTPB6Z0V
I tried this with runwasi but it didn't work.
So I realized something was wrong.
https://github.com/containerd/rust-extensions/blob/shim-v0.8.0/crates/runc-shim/src/runc.rs#L85-L88
The text was updated successfully, but these errors were encountered: