'Why does removing files from a kubernetes pod file system reduce the pod's memory footprint?

I deleted about 7GB of files from a pod running in kubernetes. When I checked the pod's memory usage in Kibana, it had dropped significantly:

enter image description here

The statistic used here to measure memory is kubernetes.container.memory.usage.bytes:

https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-kubernetes.html

The pod is idle.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source