Kubernetes打开/run/flannel/subnet.env:没有这样的文件或目录

时间:2018-09-25 20:32:16

标签: kubernetes pod

到目前为止,此链接无效:

kubectl create -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel-rbac.yml

是否有解决此错误的替代方法:

Warning FailedCreatePodSandBox 1d kubelet, node2 Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "99e30671c80ab8fe5cedd54fb4edd2ce99ebc45ed120e912d2c7e51f2cab350a" network for pod "node1-6777d4468-d6tvq": NetworkPlugin cni failed to set up pod "node1-6777d4468-d6tvq_default" network: open /run/flannel/subnet.env: no such file or directory

1 个答案:

答案 0 :(得分:0)

您确定您正在运行/正在使用法兰绒进行kubernetes网络连接吗??

它抱怨无法找到{ "version": "2.0" } ,如果绒布正在运行,这应该可用。