Is it possible to get a list files which are occupying a running Pods memory? I have tried metrics-server but that just tells memory and CPU usage per pod and node. Much appreciate any help.
By assuming what you looking is to list the files inside the container(s) in the pod, you can simply execute kubectl exec command,
List down the pods
kubectl get podsGet the pod name.
List the filesystem contents,
kubectl exec -it <pod Name> lsor even,
kubectl exec -it <pod Name> ls <desired path>