<p>Kubernetes garbage collection that removes unused images, runs only when disk space is low</p>
<p>How to run garbage collection even when disk space is available and not full.</p>

Jayashree Madanala
<p><code>... runs only when disk space is low</code></p>
<blockquote>
<p>The kubelet performs garbage collection on unused images every <strong>five minutes and on unused containers every minute</strong>...</p>
</blockquote>
<p>You can push further by changing the kubelet <a href="https://kubernetes.io/docs/concepts/architecture/garbage-collection/#containers-images" rel="nofollow noreferrer">settings</a>. Example, if you changed <code>HighThresholdPercent: 60</code>; the clean-up starts when the disk usage crossed 60% and the process will bring it down to <code>LowThresholdPercent: 50</code>.</p>
