title: Ephemeral Storage Garbage Collection
body: <p>I specified ephemeral storage limits and requests on a container, and I’m using latest amazon-eks-node-1.12-v20190701 image.</p>
  
  <p>My issue is that when I specify <code>ephemeral-storage: 1Mi</code> my pod is being evicted for using too much. I can easily add more but I would like to know how exactly this works and kubernetes documentation is not very helpful.</p>
  
  <p>From what I read, there is a Garbage Collection <code>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.</code></p>
  
  <p>Is that apply to ephemeral storage too?</p>
  
  <p>How do I check what’s inside the ephemeral storage (via container or a node?) and how can I reduce it?</p>
  
  <p>Is it true that when ephemeral-storage is up to 85% and when garbage collection run, it will be cleaned up?</p>
  
  <p>Sorry for a lot of questions, just trying to understand and it’s difficult to find a simple answe</p>