Garbage collection not working in EKS 1.23


Garbage collection fails to free up disk space on worker nodes. I can see the below message from events.

kubelet failed to garbage collect the required amount of images. Wanted to free 5577161113 bytes, but freed 0 bytes

EKS cluster version 1.23

asked a year ago545 views
1 Answer

Please run df -h /var/lib/docker from your node against a worker node that uses EKS optimized AMI. Mostly volume mount on docker has less storage.In order to do that, you could run the following commands to mount to a different volume :

+++++++++ systemctl stop docker mount /dev/xvdf1 /var/lib/docker systemctl start docker +++++++++

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions