如果在describe node中發現
cni config uninitialized KubeletNotReady runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
這個時候也許是因爲你的node節點中沒有安裝相應的cni模塊。這個時候需要做如下操作:
sudo mkdir -p /opt/cni/bin
cd /opt/cni/bin
然後接下來去下載相應的壓縮包
https://github.com/containernetworking/plugins/releases/tag/v0.8.6
下載一個cni-plugins-linux-amd64-v0.8.6.tgz
然後將其解壓在/opt/cni/bin下就可以了。