How is it possible to reload cni configuration?


I have a K8s cluster that is running for testing purposes. I’d like to make some changes in the network configuration. Calico is actually used as the CNI.

I found the config file cat /etc/cni/net.d/10-canal.conflist
that has the default configuration.

How can I reload the configuration of this files to take in account my changes in the cluster ?

Kubernetes version: 1.13
Cloud being used: bare-metal
Installation method: Rancher
Host OS: CentOS

Generally the CNI file is generated by your CNI plugin. Check out calico’s docs on it.

1 Like