Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-38568

ksm-enabled node label is true only when there is a node pressure ongoing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • CNV v4.16.0
    • None
    • CNV Virtualization
    • None
    • CNV Virtualization Sprint 250
    • Medium
    • No

      Description of problem:

      Currently, KubeVirt adds the kubevirt.io/ksm-enabled label to those nodes that match the labelSelector defined in kvConfiguration. The value of that label will be true only if that node is under pressure, false otherwise.
      This is wrong since we need to provide users the information that a particular node is "protected" by ksm, so that it can be used to schedule vms there.

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

       

      How reproducible:

      100%

      Steps to Reproduce:

      1. Add empty ksmConfiguration to KubeVirt configuration
      2. Check node labels
      3.
      

      Actual results:

      kubevirt.io/ksm-enabled label value is false, if there is no node pressure

      Expected results:

      kubevirt.io/ksm-enabled value to be true, independently from the node pressure status

      Additional info:

       

      Git Pull Request: https://github.com/kubevirt/kubevirt/pull/11306 closed

            ffossemo@redhat.com Federico Fossemo
            ffossemo@redhat.com Federico Fossemo
            Denys Shchedrivyi Denys Shchedrivyi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: