<p>I am working on a'go' based application and using ephemeral-storage requests and limits in my resource yaml. I have started with requests 64Mi and limits 128Mi but is there a way to calculate the ephemeral storage requirements for a pod?. Also, if my image size is 15MiB do I need to add that also in my resource requests?.</p>

Parth Soni
<p><strong>For greater visibility to the community I am posting this as a solution :</strong></p>
<p>As far as i know, there is no way of calculating the ephemeral storage required for a pod and this depends on how much storage you are going to use. Depending on this we can <a href="https://learnk8s.io/setting-cpu-memory-limits-requests" rel="nofollow noreferrer">set the right requests and limits in kubernetes</a>. This document also covers how <a href="https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#local-ephemeral-storage" rel="nofollow noreferrer">ephemeral storage can be managed</a>.</p>
<p>This <a href="https://stackoverflow.com/questions/59045293/how-to-determine-kubernetes-pod-ephemeral-storage-request-and-limit">SO</a> also might be helpful to your question.</p>
