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

Missing option in HCO to set resources requests for cpu and memory for different components

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---

      If an OpenShift Virt env is firing the Alerts:

      there is no way to set the cpu or memory requests as mentioned in the documentation.

      Upstream they have an option in the kubevirt object, but that's not possible to use because the object is managed by the HCO.

      The annotation kubevirt.kubevirt.io/jsonpatch is also not an option because as far as i know it fires another alert.

      {{kubectl annotate hco/kubevirt-hyperconverged }}
      {{  --namespace='openshift-cnv' }}
      {{  --overwrite }}
        kubevirt.kubevirt.io/jsonpatch='[\{ "op": "replace", "path": "/spec/uninstallStrategy", "value": "RemoveWorkloads" }]'

       

      Discussion in slack: https://redhat-internal.slack.com/archives/C017V3R4M08/p1682612621919809

              stirabos Simone Tiraboschi
              rbohne Robert Bohne
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: