部署rancher2时踩了个坑 cni config uninitialized


Runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

作者:这里有鱼
链接:https://www.jianshu.com/p/27053854f734
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。



sudo mkdir -p /etc/cni/net.d sudo cat > /etc/cni/net.d/10-flannel.conflist <<EOF { "name": "cbr0", "plugins": [ { "type": "flannel", "delegate": { "hairpinMode": true, "isDefaultGateway": true } }, { "type": "portmap", "capabilities": { "portMappings": true } } ] } EOF

相关