k8s

k8s问题解决check non-fatal

Posted by Epoch Blog on December 3, 2021

问题

1
2
3
4
5
[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR CRI]: container runtime is not running: output: time="2021-12-03T22:51:54+08:00" level=fatal msg="getting status of runtime: rpc error: code =
 Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService", error: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`

解决办法

1
2
rm /etc/containerd/config.toml
systemctl restart containerd