This bug was initially created as a copy of Bug #2078545 I am copying this bug because: Description of problem: There are many alerts KubeVirtComponentExceedsRequestedMemory in Firing state on a cluster, some of them appeared right after installation. May be memory should be adjusted for kubevirt system pods? Version-Release number of selected component (if applicable): 4.11 Actual results: Alerts are constantly firing, some of them triggered right after cluster installation. Screenshot attached Expected results: kubevirt system pods requested enough memory and alert is not triggered
I verified it on CNV v4.12.0-548 - the alert still present for some of components (virt-api and virt-operator) As I understand, in the fix the requested memory was increased to 250Mb, but it is not enough for all componnets, here for example the current maximums from my cluster: virt-api = 260Mb virt-handler = 130Mb virt-controller = 140Mb Regarding virt-operator - I saw the memory usage upto 450Mb (with peaks ~570Mb). The initial value was around 200Mb, but it increased on 15-20Mb every time when I updated Kubevirt through HCO. Opened another BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2132473
Moving this BZ to Assigned state because virt components memory requests should be adjusted: PSI cluster: virt-api - 300Mb virt-controller - 140Mb virt-handler - 210Mb virt-operator - 380Mb (There is Bug 2132473 with virt-operator which increases memory usage on every Kubevirt CR update, so it is difficult to predict how much memory it consumes by default) BM cluster: virt-api - 285Mb virt-controller - 200Mb virt-handler - 190Mb virt-operator - 290Mb
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.12.0 Images security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:0408