I’m trying to deploy a 2nd cluster in rancher with network plugin = none, and use a custom network plugin(flannel) as outlined here. https://rancher.com/docs/rke/latest/en/config-options/add-ons/network-plugins/custom-network-plugin-example/. I have deployed other clusters via rancher using the default CNI several times before. However I’m not having any success with this method. After a while of provisioning it states that, "network is not ready: runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized " which from reading about this method, the plugin=none is working, but it’s not loading up the “custom” CNI plugin. When I take a look at the cluster yaml file(after deploying), the addons section is gone (I have also tried addons_ include and pointed to the file https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml). The network plugin=none is still there though.
kubernetes v1.18.3-rancher2-2 (this is the version of the second cluster I’m trying to stand up)
Sorry if I didn’t provide enough info. Any suggestions?