<p>I have searched many websites and articles but not found any perfect answer. I am using <strong>eks version 1.18</strong>. I can see a few of the pods are &quot;Evicted&quot;, but when trying to check the node I can see the error &quot;(combined from similar events): failed to garbage collect required amount of images. Wanted to free 6283487641 bytes, but freed 0 bytes&quot;.</p>
<p>Is there any way we can find the reason why it's failing? or how to fix this issue? Any suggestions are most welcome.</p>
<p><a href="https://i.stack.imgur.com/Z9gru.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Z9gru.jpg" alt="enter image description here" /></a></p>
<p>I can see the disk &quot;overlays&quot; filesystem is almost full within a few hours. I am not sure what's going on. The below screenshot shows my memory utilization.</p>
<p><a href="https://i.stack.imgur.com/HpKPb.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/HpKPb.jpg" alt="enter image description here" /></a></p>

<p>see if you can change the Kubernetes GC policies.
I guess the issues may be due to recent changes in the flags</p>
<p>the new ones are using the flags as <code>--eviction</code> syntax, can you check if that is the case with your setup causing the failure on clearing the space</p>
<p>Please refer to the docs here</p>
<p><a href="https://kubernetes.io/docs/concepts/cluster-administration/kubelet-garbage-collection/" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/cluster-administration/kubelet-garbage-collection/</a></p>
