在一台使用 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 address2021-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 address2021-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 address2021-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 address2021-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 address2021-03-12 10:00:19.734 [INFO][1] migrate.go 80
上一个集群残留的cni 配置文件路径为
/etc/cni//var/lib/cni/opt/cni
删除三个目录后, calico可以创建
总结
以上是内存溢出为你收集整理的calico-node Init:0/3 状态全部内容,希望文章能够帮你解决calico-node Init:0/3 状态所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)