Calculation of ephemral storage of node is incorrect when /var/lib/containers is mounted separately
Issue
- In day-2 task, if
/var/lib/containersis mounted separately on different device by usingmachineConfigReferencing KCS thennodeobject is not reflecting the additional amount of storage atCapacity.ephemeral-storageandAllocatable.ephemeral-storage. - In case of
/var/lib/containersis mounted on different device keepingroot filesystem(which will include/var/lib/kubelet) separately, to avoid filling/var/lib/containersas well as/var/lib/kubelet,ResourceQuotaapplied atprojectlevel is not respecting the increase in size at/var/lib/containersand only evicting the pod if the limit forephemeral-storageis crossed in/var/lib/kubelet.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.