stormshift / support

This repo should serve as a central source for reporting issues with stormshift
GNU General Public License v3.0
3 stars 0 forks source link

Alert KubeVirtComponentExceedsRequestedMemory / KubeVirtComponentExceedsRequestedCPU #130

Open rbo opened 1 year ago

rbo commented 1 year ago

Fired for components:

Configured requested resources:

$ for i in virt-controller virt-api  ; do echo "======= $i ========"; oc get deployment $i -n
 openshift-cnv -o yaml | grep 'resources:' -A5; done;
======= virt-controller ========
        resources:
          requests:
            cpu: 10m
            memory: 250Mi
        securityContext:
          allowPrivilegeEscalation: false
======= virt-api ========
        resources:
          requests:
            cpu: 5m
            memory: 300Mi
        securityContext:
          allowPrivilegeEscalation: false

$ oc get daemonsets.apps virt-handler -o yaml | grep 'resources:' -A5
        resources:
          requests:
            cpu: 10m
            memory: 300Mi
        securityContext:
          privileged: true
--
        resources: {}
        securityContext:
          privileged: true
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:

Useage:

Documentation:

rbo commented 1 year ago

There is currently no option to change the request:

rbo commented 1 year ago

We have the same problem but with CPU : KubeVirtComponentExceedsRequestedCPU