报错信息:Warning FailedCreatePodSandBox 23s (x4 over 28s) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container “bc0103bd0b9027f30b605637553f385b7d5872efe355be86d9926f4343ed3e5f” network for pod “coredns-56f6fc8fd7-rwk2z”: networkPlugin cni failed to set up pod “coredns-56f6fc8fd7-rwk2z_kube-system” network: CNI failed to retrieve network namespace path: cannot find network namespace for the terminated container “bc0103bd0b9027f30b605637553f385b7d5872efe355be86d9926f4343ed3e5f”
环境:银河麒麟V10SP3
情况:安装 k3s 完成后,所有 pod 都无法启动,都是报这个错,看着是 CNI 的问题,但其实不是,网上搜的办法资源配额不管用,最后发现其实是 docker 的问题,麒麟环境自带的 podman 会导致 docker 的容器无法创建,知道了原因 ,那么解决就很简单了
解决方案:yum uninstall podman
k3s 创建 pod 沙盒失败
最新推荐文章于 2025-03-03 21:03:00 发布