?1.k8s集群 某个节点 pod 启动不了,docker报错如下
- failed to start shim: fork/exec /usr/bin/docker-containerd-shim: resource temporarily unavailable: unknown
- Failed to create pod sandbox: rpc error: code = Unknown desc = failed to start sandbox container for pod "mcd-xuanyuan-middle-web-middle-d-r-p-5488d94748-4dwvh": Error response from daemon: failed to start shim: fork/exec /usr/bin/containerd-shim: resource temporarily unavailable: unknown
- OCI runtime state failed: fork/exec /usr/bin/runc: resource temporarily unavailable: : unknown"
使用ctr 命令管理 Containerd 容器
?ctr -n moby c ls
?有很多容器id
?systemctl status containerd
应该如图有很多容器,但是有问题的节点只有一个,不正常
可能的原因是:?
一:进程 ID 用完
二:需?systemctl 重启 kubelet
三:节点开启了资源超售
最后重启机器恢复
?
|