<p>I'm Running some deployment on EKS k8s 1.16 and after ~5 min my pod gets Evicted with the following message:</p>

<pre><code>Pod ephemeral local storage usage exceeds the total limit of containers 1Gi.
</code></pre>

<p>My node has 20Gi ephemeral storage.</p>

<p>My QoS Class is Guaranteed and no matter which amount of ephemeral-storage I configure in my yaml, I see the same error with the amount I configure.</p>

<p>Do you have a clue what can be done?</p>

<p>My yaml file is here: <a href="https://slexy.org/view/s2096sex7L" rel="noreferrer">https://slexy.org/view/s2096sex7L</a></p>

alexarsh
<p>It's because you're putting an upper limit of <code>ephemeral-storage</code> usage by setting <code>resources.limits.ephemeral-storage</code> to <code>1Gi</code>. Remove the <code>limits.ephemeral-storage</code> if safe, or change the value depending upon your requirement.</p>

<pre class="lang-yaml prettyprint-override"><code>      resources:
        limits:
          memory: "61Gi"
          cpu: "7500m"
          ephemeral-storage: "1Gi" &lt;----- here
        requests:
          memory: "61Gi"
          cpu: "7500m"
          ephemeral-storage: "1Gi"
</code></pre>

<ul>
<li><a href="https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#requests-and-limits" rel="nofollow noreferrer">Requests and limits</a></li>
</ul>

<blockquote>
  <p>If the node where a Pod is running has enough of a resource available, it’s possible (and allowed) for a container to use more resources than its request for that resource specifies. However, a container is <strong>not allowed</strong> to use more than its resource <code>limit</code>.</p>
</blockquote>
