<p>I am aware that we can specify CPU and memory allocation for a Container using <a href="https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" rel="noreferrer">requests and limits</a> in Kubernetes. But I would like to know how much disk space gets allocated to each container? Also, is there a way to specify this similar to CPU and memory allocation.  </p>

<p>Thanks in advance.</p>

Newbie
<p>Similarly to the CPU and memory resources, you can use <a href="https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#local-ephemeral-storage" rel="nofollow noreferrer">ephemeral storage</a> to specify disk resources used. Requests and limits can also be use with ephemeral storage.</p>

<p><strong>Update</strong>:</p>

<p>Please refer to <a href="https://kubernetes.io/docs/concepts/storage/volumes/" rel="nofollow noreferrer">volumes</a>: </p>

<blockquote>
  <p>On-disk files in a Container are ephemeral, which presents some problems for non-trivial applications when running in Containers. First, when a Container crashes, kubelet will restart it, but the files will be lost - the Container starts with a clean state. Second, when running Containers together in a Pod it is often necessary to share files between those Containers. The Kubernetes Volume abstraction solves both of these problems.</p>
</blockquote>

<p>You can use one of the different types than  ephemeral-storage,emptydir from volumes to store your data in persistent way.</p>
