<p>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.</p>

<p>By assuming what you looking is to list the files inside the container(s) in the pod, you can simply execute <code>kubectl exec</code> command, </p>

<p>List down the pods</p>

<pre class="lang-sh prettyprint-override"><code>kubectl get pods
</code></pre>

<p>Get the pod name.</p>

<p>List the filesystem contents,</p>

<pre class="lang-sh prettyprint-override"><code>kubectl exec -it &lt;pod Name&gt; ls
</code></pre>

<p>or even, </p>

<pre class="lang-sh prettyprint-override"><code>kubectl exec -it &lt;pod Name&gt; ls &lt;desired path&gt;
</code></pre>
