crunw
crunw copied to clipboard
Install issue
Follow the doc, when run command line:
sudo crictl runp sandbox_config.json
There will be an error:
FATA[0000] run pod sandbox: rpc error: code = Unknown desc = cri-o configured with cgroupfs cgroup manager, but received systemd slice as parent: pod_123-456.slice
Remove the cgroup part in json file, repeat the command will get
FATA[0000] run pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_podsandbox12_redhat.test.crio_redhat-test-crio_1(79a41fceaddb4f0471e971b9b19eaaa49c1f9db7fb5d98e859eefa4be9299e8a): No CNI configuration file in /etc/cni/net.d/. Has your network provider started?
I guess this is because I didn't install containernetworking-plugins.
containernetworking-plugins is a set of configurations, what we need config with this repo?
Hi @chenyukang
Just install the containernetworking-plugins with apt install containernetworking-plugins.
You don't need to specify the configurations. The default behaviour will take the first configuration file in the set of configurations.