How to decide correct value of Ephemeral storage requests and limits for my pod?

830 Views Asked by At

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?.

1

There are 1 best solutions below

0
On

For greater visibility to the community I am posting this as a solution :

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 set the right requests and limits in kubernetes. This document also covers how ephemeral storage can be managed.

This SO also might be helpful to your question.