老师,使用calico-node:v2.6.2时,有上面的报错信息,可以看下你的calico-node 的dockerfile吗

来源:7-7 小试牛刀

qq_稻草人_5

2018-04-15

Error adding network: failed to find plugin "loopback"


写回答

2回答

刘果国

2018-04-16

同学好,calico-node镜像是从dockerhub上下载的哦,不是我自己制作的。dockerfile可以参考:https://hub.docker.com/r/calico/node/~/dockerfile/

0
0

qq_稻草人_5

提问者

2018-04-15

kuberuntime_gc.go:153] Failed to stop sandbox "375813db404b5a24db40a799223287415b3a889ef80319bedfba25f668c1cd8c" before removing: rpc error: code = Unknown desc = NetworkPlugin cni failed to teardown pod "kubernetes-bootcamp-7db7b94fcf-x5wtb_default" network: failed to find plugin "calico" in path [/opt/calico/bin /software/k8s/bin]

Apr 15 21:05:21 k8s-node01 kubelet[25418]: W0415 21:05:21.798233   25418 cni.go:242] CNI failed to retrieve network namespace path: cannot find network namespace for the terminated container "2b07eea9c720d83da6bd2f119bca448e804fa6e430830d102b01bfb609363742"

Apr 15 21:05:21 k8s-node01 kubelet[25418]: E0415 21:05:21.798500   25418 cni.go:279] Error deleting network: failed to find plugin "calico" in path [/opt/calico/bin /software/k8s/bin]


0
1
刘果国
这些异常都是kubelet的,先放下。先看下你的calico容器是否正常运行,有没有什么异常信息?
2018-04-16
共1条回复

Docker+Kubernetes(k8s)微服务容器化实践

从开发到编排,快速,完整,深入的掌握微服务

2608 学习 · 607 问题

查看课程