Kubernetes: Image garbage collection failed: unable to find data for container /

家住魔仙堡 提交于 2019-12-11 13:38:53

问题



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 /

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

How to fix it?


回答1:


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.

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.



来源:https://stackoverflow.com/questions/32977617/kubernetes-image-garbage-collection-failed-unable-to-find-data-for-container

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!