<p>This is a total noob Kubernetes question.  I have searched for this, but can't seem to find the exact answer.  But that may just come down to not having a total understanding of Kubernetes.  I have some pods deployed across three nodes, and my questions are simple.</p>

<ol>
<li>How do I check the total disk space on a node?</li>
<li>How do I see how much of that space each pod is taking up?</li>
</ol>

chuckw87
<p>For calculating total disk space you can use</p>

<pre><code> kubectl describe nodes
</code></pre>

<p>from there you can grep  <strong>ephemeral-storage</strong> which is the virtual disk size This partition is also shared and consumed by Pods via emptyDir volumes, container logs, image layers and container writable layers</p>

<p>If you are using Prometheus you can calculate with this formula</p>

<pre><code>sum(node_filesystem_size_bytes)
</code></pre>
