GC gc's unused images, not unreferenced

Tags reference images but from what I see the kubelet will delete a tagged image that isn't in *use* by a container. When I first read this I took this to mean that it wouldn't GC tagged images.
This commit is contained in:
Andrew Smith
2016-06-09 17:55:25 +01:00
parent d049bc38a4
commit 6dbfc3456d
+1 -1
View File
@@ -4,7 +4,7 @@
* TOC
{:toc}
Garbage collection is a helpful function of kubelet that will clean up unreferenced images and unused containers. kubelet will perform garbage collection for containers every minute and garbage collection for images every five minutes.
Garbage collection is a helpful function of kubelet that will clean up unused images and unused containers. kubelet will perform garbage collection for containers every minute and garbage collection for images every five minutes.
External garbage collection tools are not recommended as these tools can potentially break the behavior of kubelet by removing containers expected to exist.