L Pennington Super Contributor.
Super Contributor.
316 views

Clean up ThinPool used space on nodes

We have noticed some of our master / worker nodes have less than 10GB free space in thinpool - what is the official way to clean down old exited containers and previous image versions from the thinpool?

Would doing kubectl delete pod xxxx be causing a build up of used space?

0 Likes
2 Replies
Micro Focus Contributor
Micro Focus Contributor

Re: Clean up ThinPool used space on nodes

Please run attached scripts to clean up thinpool for both master and worker node.

It will remove all unused images and keep currect version of images.

Usage:

* uncompress the zip file by 'unzip clean_thinpool.zip'

* then chmod 700 clean_thinpool.sh

* ./clean_thinpool.sh

Any questions, please send me email.

Thanks,

Chris

0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Clean up ThinPool used space on nodes

Can the script be launched with suite up and running? Or I have to stop the suite before launching?
Thanks
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.