I have installed containerd 1.4.9
on CentOS steam 8 server.
based on this document https://containerd.io/docs/getting-started/. I have created default config file containerd config default > /etc/containerd/config.toml
like this.
after restarting containerd, when I run crictl ps
Its throwing below error
FATA[0000] listing containers failed: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
How to fix this error? after fix this I want to join this node to Kubernets cluster 1.21.3
using systemd
cfgroup.
Thanks
SR
Best Answer
Had the same error today while upgrade kubelet on the worker nodes. Issue was within the default configuration. Note that containerd will run fine without any config. In my case I just wanted to enable systemd_cgroup.
ctr plugin ls
showed that cri plugin was in error state with default configurationJust a blank config with systemd_cgroup fixed issue for me: