zoukankan      html  css  js  c++  java
  • calico-node Init:0/3 状态

    在一台使用 kubeadmin 安装的集群上,重新使用二进制安装后,出现 calico-node Init:0/3  

    通过kubectl logs 看日志

    2021-03-12 10:00:15.695 [INFO][1] migrate.go 65: checking host-local IPAM data dir dir existence...
    2021-03-12 10:00:15.695 [INFO][1] migrate.go 72: retrieving node for IPIP tunnel address
    2021-03-12 10:00:15.699 [INFO][1] migrate.go 80: IPIP tunnel address not found, assigning...
    2021-03-12 10:00:15.703 [ERROR][1] ipam_plugin.go 95: failed to migrate ipam, retrying... error=PodCIDR  did not parse successfully: invalid CIDR address:  node="master2"
    2021-03-12 10:00:16.704 [INFO][1] migrate.go 65: checking host-local IPAM data dir dir existence...
    2021-03-12 10:00:16.704 [INFO][1] migrate.go 72: retrieving node for IPIP tunnel address
    2021-03-12 10:00:16.708 [INFO][1] migrate.go 80: IPIP tunnel address not found, assigning...
    2021-03-12 10:00:16.711 [ERROR][1] ipam_plugin.go 95: failed to migrate ipam, retrying... error=PodCIDR  did not parse successfully: invalid CIDR address:  node="master2"
    2021-03-12 10:00:17.711 [INFO][1] migrate.go 65: checking host-local IPAM data dir dir existence...
    2021-03-12 10:00:17.711 [INFO][1] migrate.go 72: retrieving node for IPIP tunnel address
    2021-03-12 10:00:17.716 [INFO][1] migrate.go 80: IPIP tunnel address not found, assigning...
    2021-03-12 10:00:17.720 [ERROR][1] ipam_plugin.go 95: failed to migrate ipam, retrying... error=PodCIDR  did not parse successfully: invalid CIDR address:  node="master2"
    2021-03-12 10:00:18.721 [INFO][1] migrate.go 65: checking host-local IPAM data dir dir existence...
    2021-03-12 10:00:18.721 [INFO][1] migrate.go 72: retrieving node for IPIP tunnel address
    2021-03-12 10:00:18.725 [INFO][1] migrate.go 80: IPIP tunnel address not found, assigning...
    2021-03-12 10:00:18.729 [ERROR][1] ipam_plugin.go 95: failed to migrate ipam, retrying... error=PodCIDR  did not parse successfully: invalid CIDR address:  node="master2"
    2021-03-12 10:00:19.729 [INFO][1] migrate.go 65: checking host-local IPAM data dir dir existence...
    2021-03-12 10:00:19.729 [INFO][1] migrate.go 72: retrieving node for IPIP tunnel address
    2021-03-12 10:00:19.734 [INFO][1] migrate.go 80

    上一个集群残留的cni 配置文件路径为

    /etc/cni/
    /var/lib/cni
    /opt/cni
    /var/lib/calico

    删除三个目录后, calico可以创建

  • 相关阅读:
    GYM 101128 J.Saint John Festival(求凸包是否包含点)
    GYM 101128 F.Landscaping(网络流)
    ACM ICPC 2017 Warmup Contest 2 I. Integral Polygons(计算几何+动态规划)
    ACM ICPC 2017 Warmup Contest 1 A. Artwork(逆向+dfs+并查集)
    51nod 1225 余数之和(数论)
    51nod 1397 最大二分图(图论+思维)
    51nod 1444 破坏道路(任意两点最短路径)
    网络流24题——孤岛营救问题(状压+分层图)
    ACM 竞赛高校联盟 练习赛 第六场 光头强的强迫症(线段树)
    bzoj1577 [USACO09FEB] Fair Shuttle
  • 原文地址:https://www.cnblogs.com/fengjian2016/p/14535441.html
Copyright © 2011-2022 走看看