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?
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.