Bug 1464367
Summary: | Incorrect memory limit calculation for kubepod in the cgroup hierarchy | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Qixuan Wang <qixuan.wang> |
Component: | Node | Assignee: | Derek Carr <decarr> |
Status: | CLOSED NOTABUG | QA Contact: | Qixuan Wang <qixuan.wang> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6.0 | CC: | aos-bugs, jokerman, mmccomas, sjenning |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-23 20:46:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Qixuan Wang
2017-06-23 09:12:56 UTC
This is by design. It is confusing though. In order for the hard eviction threshold to be triggered, the kubepods cgroups must be allowed to exceed the threshold. So eviction-hard is subtracted from capacity to calculate allocatable, but it is not used in the calculation for memory.limit_in_bytes. kube- and system- reserved will be subtracted from capacity to calculate both allocatable AND the memory.limit_in_bytes. |