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

Wrong system reserved resources calculation with `autoSizingReserved: true` option in kubeletConfig

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • Rejected
    • OCPNODE Sprint 228 (Blue), OCPNODE Sprint 229 (Blue)
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:

      
      

              harpatil@redhat.com Harshal Patil
              rhn-support-alosingh Alok Singh
              None
              None
              Sunil Choudhary Sunil Choudhary
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: