K8S 故障处理经验积累(容器)
1.k8s集群 某个节点 pod 启动不了,docker报错如下failed to start shim: fork/exec /usr/bin/docker-containerd-shim: resource temporarily unavailable: unknownFailed to create pod sandbox: rpc error: code = Unknown desc =
·
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 -n moby c ls
有很多容器id
systemctl status containerd
应该如图有很多容器,但是有问题的节点只有一个,不正常
可能的原因是:
一:进程 ID 用完
二:需 systemctl 重启 kubelet
三:节点开启了资源超售
最后重启机器恢复
更多推荐
已为社区贡献45条内容
所有评论(0)