admin管理员组文章数量:1611922
sealos 部署k8s集群、
sealos init --passwd '123456' --master 172.16.34.125 --master 172.16.34.130 --node 172.16.34.127 --node 172.16.34.128 --pkg-url /opt/kube1.22.0.tar.gz --version v1.22.0
# kubectl get nodes
NAME STATUS ROLES AGE VERSION
sealos-k8s-node-01 NotReady control-plane,master 4m5s v1.22.0
sealos-k8s-node-02 NotReady <none> 2m39s v1.22.0
sealos-k8s-node-03 NotReady <none> 2m40s v1.22.0
sealos-k8s-node-04 NotReady control-plane,master 3m33s v1.22.0
各个节点都处于NotReady 状态、
# journalctl -xe | grep kubelet
...
May 18 13:47:56 sealos-k8s-node-04 kubelet[5038]: E0518 13:47:56.386059 5038 kubelet.go:2332] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
...
解决
systemctl restart containerd
# kubectl get nodes
NAME STATUS ROLES AGE VERSION
sealos-k8s-node-01 Ready control-plane,master 50m v1.22.0
sealos-k8s-node-02 Ready <none> 49m v1.22.0
sealos-k8s-node-03 Ready <none> 49m v1.22.0
sealos-k8s-node-04 Ready control-plane,master 50m v1.22.0
参考:https://blog.csdn/weixin_43421663/article/details/124020111
本文标签: NotReadyPodK8sInvalidfilesystem
版权声明:本文标题:k8s pod NotReady | invalid capacity 0 on image filesystem 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1728619915a1166219.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论