<p>Is there a way to control the size of the page cache for each pod in Kubernetes? When I deploy a pod, I want to specify how much memory to use for page caching. </p>

<p>I also want to confirm if currently, when you specify memory for a pod, it uses it for application memory and page cache which can expand or contract based on the memory pressure.</p>

Pranav Bhandari
<p>There is no way to control the page cache for each pod in Kubernetes. </p>

<p>Currently page cache is counted against the available memory for the pod. You can find more discussion in the open issue here - <a href="https://github.com/kubernetes/kubernetes/issues/43916#issuecomment-393228487" rel="nofollow noreferrer">https://github.com/kubernetes/kubernetes/issues/43916#issuecomment-393228487</a></p>
