cri-o: error: did not receive slice as parent
Running hack/local-up-cluster.sh
E0912 17:28:03.825920 27272 remote_runtime.go:92] RunPodSandbox from runtime service failed: rpc error: code = Unknown desc = cri-o configured with systemd cgroup manager, but did not receive slice as parent: /kubepods/pod6f71cc2a-9809-11e7-9b63-7085c20cf2ab
Running rc1 cri-o package from the repos on Fedora 26.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 24 (13 by maintainers)
Hi, guys, Finally, I’ve found a solution. You should put “–cgroup-driver=systemd” to the /var/lib/kubelet/kubeadm-flags.env as KUBELET_KUBEADM_ARGS, then:
and should work.
Did you set CGROUP_DRIVER=systemd for kube?
made a small script for this that works for me with k8 1.20 and cri-o 1.20. I ran this on all nodes
hi, after adding cgroup-manager: systemd in /etc/crictl.yaml, could it work? I am very very confused with my errors…
in your
/etc/crio/crio.conf
edit the linewhere $MANAGER is either cgroupfs or systemd