Kubernetes:图像垃圾收集失败:无法找到容器/ [英] Kubernetes: Image garbage collection failed: unable to find data for container /

查看:1456
本文介绍了Kubernetes:图像垃圾收集失败:无法找到容器/的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的容器有问题垃圾回收


当我开始 kubelet 时出现错误:


I have problem with containers garbage collection.
When I start kubelet I have an error:

E1006 08:04:08.856100   25155 kubelet.go:682] Image garbage collection failed: unable to find data for container /

垃圾回收不起作用。


kubernetes v1.0.6




如何解决它?

And garbage collection doesn't work.
kubernetes v1.0.6

How to fix it?

推荐答案

错误信息来自cadvisor,它收集容器统计信息。您可以在节点上尝试 curl http://127.0.0.1:4194/validate/ 并查看是否有任何问题阻止了cadvisor正常运行。

The error message is from cadvisor, which gathers container stats. You can try curl http://127.0.0.1:4194/validate/ on your node and to see if there is any problem preventing cadvisor from functioning correctly.

与图像垃圾回收(GC)不同,容器GC不依赖于cadvisor。您可能想要查看您的 GC政策设置看看参数设置是否正确。

Unlike image garbage collection (GC), container GC does not rely on cadvisor. You may want to check your GC policy settings to see if the parameters are set correctly.

这篇关于Kubernetes:图像垃圾收集失败:无法找到容器/的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆