Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-58292

autoSizingReserved allocating too low CPU reservation

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • No
    • None
    • None
    • None
    • Done
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-57328. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-57327. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-7747. The following is the description of the original issue:

      Description of problem:

      `autoSizingReserved: true` feature reserves too low CPU allocation even less than default

      Version-Release number of selected component (if applicable):

      OCP 4.8+

      How reproducible:

      Always

      Steps to Reproduce:

      1. enable `autoSizingReserved: true` feature in KubeletConfig
      2. check CPU reservation on nodes /etc/node-sizing.env after KubeletConfig applied
      
      https://docs.openshift.com/container-platform/4.10/nodes/nodes/nodes-nodes-resources-configuring.html#nodes-nodes-resources-configuring-auto_nodes-nodes-resources-configuring 

      Actual results:

      Example 4xCPU + 16GB node = SYSTEM_RESERVED_CPU=0.08

      Expected results:

      `autoSizingReserved` should not reserve lesser CPU than would be reserved by default without any KubeletConfig in place. Allocations calculated by `autoSizingReserved` feature should add to the base CPU reservation of 500m

      Additional info:

      In OpenShift Container Platform 4.10, half of a CPU core (500 millicore) is now reserved by the system by default compared to OpenShift Container Platform 3.11 and previous versions. The sizes are determined taking that into consideration.
      
      https://docs.openshift.com/container-platform/4.10/scalability_and_performance/recommended-host-practices.html#master-node-sizing_recommended-host-practices

              svanka@redhat.com Sai Ramesh Vanka
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Bhargavi Gudi Bhargavi Gudi
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: