报错: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

worker node的网络插件没有安装

  1. curl https://docs.projectcalico.org/manifests/calico-typha.yaml -o calico.yaml
  2. kubectl apply -f calico.yaml
  3. [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
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐