"cni0" already has an IP address different from 10.244.2.1/24。 

Error while adding to cni network: failed to allocate for range 0: no IP addresses available in range set: 10.244.2.1-10.244.2.254


解决:

干掉cni-flannel,停运集群.清理环境.
    1. rm -rf /var/lib/cni/flannel/* && rm -rf /var/lib/cni/networks/cbr0/* && ip link delete cni0  
    2. rm -rf /var/lib/cni/networks/cni0/*
    3. kubeadm reset
    4. kubeadm join

相关文章:

  • 2021-06-14
  • 2021-07-16
  • 2021-06-17
  • 2022-02-26
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
猜你喜欢
  • 2021-07-12
  • 2022-12-23
  • 2021-08-15
  • 2022-01-03
  • 2022-01-16
  • 2022-02-16
相关资源
相似解决方案