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可以创建

  • 相关阅读:
    python 数据类型 基础第二天
    Python基础第一篇
    前言、入门程序、常量、变量
    win10打开移动热点让手机连接上网教程
    win10移动热点问题
    博客园快速美化
    Idea提示没有符号类错误解决
    mybatis复习01
    test
    d190305面试题01总结
  • 原文地址:https://www.cnblogs.com/fengjian2016/p/14535441.html
Copyright © 2011-2022 走看看