Kubernetes failed to setup network for pod after executed kubeadm reset

后端 未结 6 1102
故里飘歌
故里飘歌 2021-02-03 12:41

I initialized Kubernetes with kubeadm init, and after I used kubeadm reset to reset it I found --pod-network-cidr was wrong. After correct

6条回答
  •  野性不改
    2021-02-03 13:13

    This document helped a lot:

    https://github.com/feiskyer/kubernetes-handbook/blob/master/en/troubleshooting/pod.md

    specially the part which applies to this issue:

    $ ip link set cni0 down
    $ brctl delbr cni0  
    

    If you do this on the api servers and then just reboot the machine it should stabilize pretty quickly.

提交回复
热议问题