19 lines
No EOL
588 B
Markdown
19 lines
No EOL
588 B
Markdown
初始化集群报以下错误:
|
|
```
|
|
error execution phase preflight: [preflight] Some fatal errors occurred:
|
|
[ERROR CRI]: container runtime is not running: output: E0526 20:04:52.510582 13459 remote_runtime.go:925] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService"
|
|
```
|
|
解决方法:
|
|
```
|
|
rm /etc/containerd/config.toml
|
|
systemctl restart containerd
|
|
```
|
|
或者
|
|
```
|
|
cat > /etc/containerd/config.toml <<EOF
|
|
[plugins."io.containerd.grpc.v1.cri"]
|
|
systemd_cgroup = true
|
|
EOF
|
|
systemctl restart containerd
|
|
|
|
``` |