From 6dbfc3456d87dd6e8ad1a6887317e959d37b6439 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Thu, 9 Jun 2016 17:55:25 +0100 Subject: [PATCH] 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. --- docs/admin/garbage-collection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/garbage-collection.md b/docs/admin/garbage-collection.md index 2ccd4bd2e9..81aeb772c0 100644 --- a/docs/admin/garbage-collection.md +++ b/docs/admin/garbage-collection.md @@ -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.