<p><strong>How can I get a sense of the usage of my ephemeral-storage usage and if my config is working?</strong></p>
<p>I've been having several issue on my pods getting evicted due to ephemeral-storage. I just created a ResourceQuota to try to increase this and it looks like this.</p>
<pre><code># For volumes that use emptyDir
apiVersion: v1
kind: ResourceQuota
metadata:
  name: compute-resources
spec:
  hard:
    requests.ephemeral-storage: 2Gi
    limits.ephemeral-storage: 4Gi
</code></pre>
<p>My pods have 2 containers inside each as they share a mounted volume of type &quot;emptyDir&quot;.
When I sh into them and run &quot;df -h /var/lib&quot; I see.</p>
<pre><code>overlay                   5.7G      5.1G    600.3M  90% /
</code></pre>
<p>I can't seem to wrap my head acount that ephmeral-storage. Where exactly is this thing how can I monitor it? I saw by default it's stored in memory of the pod?</p>
<p><a href="https://i.stack.imgur.com/9dUgm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9dUgm.png" alt="enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/hQsIp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hQsIp.png" alt="enter image description here" /></a></p>

user391986
<p>You can get a sense of your ephemeral-storage usage this way:</p>
<p>Menu&gt;Monitoring&gt;Metrics Explorer&gt;</p>
<p>Resource type: kubernetes node</p>
<p>Metric: Ephemeral Storage</p>
