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

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

    XMLWordPrintable

Details

    • Important
    • OCPNODE Sprint 228 (Blue), OCPNODE Sprint 229 (Blue)
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

    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:

      
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: