page contents

k8s集群搭建应用集群时,一直处于ContainerCreating状态

Pack 发布于 2019-12-25 15:32
阅读 1882
收藏 0

k8s集群搭建完成,但是在部署应用的时候,一直ContainerCreating状态,查看日志详情,说的是网络插件的原因,已经排查了防火墙等设置,麻烦解答,谢谢

Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container “a95f175e3d38ce9a4406e1ea061ced5496a7e7d7c7111475af1e16670ed6ad14” network for pod “nginx-gh2rf”: networkPlugin cni failed to set up pod “nginx-gh2rf_default” network: stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/


最佳答案 2019-12-25 15:32

26
Pack
Pack

看下calico镜像有没有下载并启动成功

请先 登录 后评论