报错内容如下:
Warning FailedCreatePodSandBox 20m (x277 over 25m) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "c5f1b30fd071b1d5c2f67c42418b5ab5e765da0a5c1af3c2545e86f377843c71" network for pod "calico-kube-controllers-69b47f4dfb-jdtv8": networkPlugin cni failed to set up pod "calico-kube-controllers-69b47f4dfb-jdtv8_kube-system" 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/
解决方法:
这是由于集群没有安装calico组件导致的,calico正常启动后,重启该pod,问题解决