kubelet service is failing :Unable to update cni config: No networks found in /etc/cni/net.d

Hi,

Small troubleshooting  tip:

“kubeadm reset” and try to initiate the cluster again but it is failing ,due to kubelet service was not running.

Executed this command “journalctl -xeu kubelet”

Error message “Unable to update cni config: No networks found in /etc/cni/net.d”

I checked on github : https://github.com/kubernetes/kubernetes/issues/54918

Applied the workaround “chmod 777 /etc/cni/net.d” and try to start the service.

systemctl start kubelet.service

This worked!!!

This all has been done in centos7