Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1867706

Summary: system-reserved and kube-reserved are not supported under enforce-node-allocatable
Product: OpenShift Container Platform Reporter: Frederic Giloux <fgiloux>
Component: DocumentationAssignee: Mike McKiernan <mmckiern>
Status: CLOSED CURRENTRELEASE QA Contact: Xiaoli Tian <xtian>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 3.11.0CC: aos-bugs, jokerman, mmckiern
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: 2021-02-08 18:29:36 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 Frederic Giloux 2020-08-10 14:58:48 UTC
Document URL: 
https://docs.openshift.com/container-platform/3.11/admin_guide/allocating_node_resources.html#node-enforcement-1

Section Number and Name: 
Allocating Node Resources / Node enforcement

Describe the issue:
"A comma-delimited list of scopes for where the node should enforce node resource constraints. Valid values are pods, system-reserved, and kube-reserved. The default is pods. We do not recommend users change this value."
"not recommend" is not strong enough. Only "pods" is really supported. No other configuration is tested for OCP. See bug 1866794

"Optionally, the node can be made to enforce kube-reserved and system-reserved by specifying those tokens in the enforce-node-allocatable flag. If specified, the corresponding --kube-reserved-cgroup or --system-reserved-cgroup needs to be provided. In future releases, the node and container runtime will be packaged in a common cgroup separate from system.slice. Until that time, we do not recommend users change the default value of enforce-node-allocatable flag."
As per the above. This is not supported and should be removed. Also the statement about future release seems a bit hazardous as it has not changed in the latest release 4.5 at the time of writing as far as I have seen.

Suggestions for improvement: 
As per the above clearly state that only "pods" is supported under enforce-node-allocatable

Additional information: 
See bug 1866794

Comment 2 Mike McKiernan 2020-12-16 00:49:58 UTC
This specific request is addressed as part of the following PR:

https://github.com/openshift/openshift-docs/pull/28151/files#diff-bda48fe777a6e2c661b5b9f32b10b3e52ddc50ca03c430bd1b8e66a35f7da47eR247

Please reply here with approval or update the PR to identify additional changes.

Comment 3 Mike McKiernan 2021-02-08 18:29:36 UTC
The fix was pushed with https://github.com/openshift/openshift-docs/pull/28151.