patrocinio / kubernetes-ibmcloud

Deploys Kubernetes environment in SoftLayer
24 stars 14 forks source link

Networking/Calico won't start #40

Closed bradschauf closed 7 years ago

bradschauf commented 7 years ago

Get the error: Unable to update cni config: No networks found in /etc/cni/net.d

bradschauf commented 7 years ago

This hack/fix worked for me. Lots of discussion on this and correct fix in the kubernetes 1.6.1 community.

FIX on master and nodes edit /etc/systemd/system/kubelet.service.d/10-kubeadm.conf within the ExecStart line remove '$KUBELET_NETWORK_ARGS' systemctl daemon-reload systemctl restart kubelet.service

patrocinio commented 7 years ago

Thank you for finding the fix. Let's find a (creative) way to incorporate this fix into the ansible code.

patrocinio commented 7 years ago

Fixed in the latest code drop. Thank you!