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

HighNodeUtilization strategy does not work fine if all worker nodes are underutilized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.17.0
    • descheduler
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When HighNodeUtilization strategy is enabled for descheduler, if all the worker nodes are underutilized the strategy does not work fine, meaning pods tries to evict to master nodes and the pods could not be scheduled on it as the taints does not match.
          

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

          [knarra@knarra-thinkpadx1carbon7th openshift-tests-private]$ oc get csv -n openshift-kube-descheduler-operator
      NAME                                    DISPLAY                     VERSION   REPLACES                                PHASE
      clusterkubedescheduleroperator.v5.1.0   Kube Descheduler Operator   5.1.0     clusterkubedescheduleroperator.v5.0.1   Succeeded
      
          

      How reproducible:

           Always
          

      Steps to Reproduce:

          1.  Install OCP latest version
          2.  Install KDO 5.1.0 Version
          3.  Enabled HighNodeUtilization profile and adjust the devHighNodeUtilizationThreshold in such a way that all workers will become underUtilized nodes.
           4. Try creating pods with ownerRef (like replicaSets or deployments)
          

      Actual results:

          Pod evictions gets skipped and HighNodeUtilization strategy does not work well
          

      Expected results:

          HighNodeUtilization strategy should work well
          

      Additional info:

          Upstream issue: https://github.com/kubernetes-sigs/descheduler/issues/725
          

              aos-workloads-staff Workloads Team Bot Account
              knarra@redhat.com Rama Kasturi Narra
              Rama Kasturi Narra Rama Kasturi Narra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: