k8s集群添加worker node, node notready错误
k8s添加worker node notready
·
报错: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
worker node的网络插件没有安装
- curl https://docs.projectcalico.org/manifests/calico-typha.yaml -o calico.yaml
- kubectl apply -f calico.yaml
- [root@k8snode187 ~]# kubectl get node
NAME STATUS ROLES AGE VERSION
k8smaster Ready control-plane,master,worker 2d3h v1.22.0
k8snode161 Ready worker 2d3h v1.22.0
k8snode187 Ready worker 7h27m v1.22.0
更多推荐
已为社区贡献2条内容
所有评论(0)