Calculation of ephemral storage of node is incorrect when /var/lib/containers is mounted separately
Issue
- In day-2 task, if
/var/lib/containers
is mounted separately on different device by usingmachineConfig
Referencing KCS thennode
object is not reflecting the additional amount of storage atCapacity.ephemeral-storage
andAllocatable.ephemeral-storage
. - In case of
/var/lib/containers
is mounted on different device keepingroot filesystem
(which will include/var/lib/kubelet
) separately, to avoid filling/var/lib/containers
as well as/var/lib/kubelet
,ResourceQuota
applied atproject
level is not respecting the increase in size at/var/lib/containers
and only evicting the pod if the limit forephemeral-storage
is 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.