Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
4.8.z
-
Important
-
OCPNODE Sprint 228 (Blue), OCPNODE Sprint 229 (Blue)
-
2
-
Rejected
-
False
-
Description
Description of problem:
The calculation done by the `autoSizingReserved: true` option in kubeletConfig to set system reserved resources seems to be wrong. The option is setting the values to 500m for CPU and 1Gi for memory which are he default values anyway. Even for a system with 64Gi memory, the value is being set to 1Gi.
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1. Apply a kubeletConfig for worker MCP as per https://docs.openshift.com/container-platform/4.8/nodes/nodes/nodes-nodes-resources-configuring.html#nodes-nodes-resources-configuring-auto_nodes-nodes-resources-configuring 2. Wait for the MCP update to complete. 3. Check the /etc/node-sizing.env file for the values set
Actual results:
System reserved values are being set to default.
Expected results:
The calculation should be as per the node capacity.
Additional info: