Closed pankajsahtech closed 1 year ago
Kubernetes includes its own built-in garbage collection functionality which can prune unused images and containers. You can find information on this garbage collection, and how to configure its thresholds, in the Kubernetes documentation: https://kubernetes.io/docs/concepts/architecture/garbage-collection/#containers-images
The docs recommend against running external garbage collection (e.g. docker prune
) to avoid interfering with the kubelet's GC.
There's one big exception, though: Kubernetes will only remove images and containers that it launched itself. If you are also running Docker containers on the same nodes but outside of Kubernetes, you will need to manually clean up those containers and images.
Thanks for update. How much data/volume size ocupied by kubernetes pods to run. any idea checking size
This issue is stale because it has been open for 60 days with no activity. Please update the issue or it will be closed in 7 days.
We are running kubernetes through deepops with 3 master & in one master /var partition is almost full. /var/lib/docker utilization is more. docker container running for kubernetes & users job training models.
Is it safe to clear space using docker prune volume & docker prune images.
Is any effect over kubernetes functionality post above command