generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
k3s prune images
elraro edited this page Jun 19, 2023
·
2 revisions
You can tune these thresholds on your k3s nodes by adding arguments to the service command line:
--kubelet-arg=image-gc-high-threshold=85 --kubelet-arg=image-gc-low-threshold=80
If for some reason you want to muck about with deleting things manually, you can try:
sudo k3s crictl images
to see what images have been pulled locally
sudo k3s crictl rmi --prune
to delete any images no currently used by a running container