Kubernetes: Image garbage collection failed: unabl

2019-08-09 07:22发布


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条回答
你好瞎i
2楼-- · 2019-08-09 07:56

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.

查看更多
登录 后发表回答