Why Default CPU request in namespace limitrange takes precedence over the VMs configured vCPU?
Issue
- In a namespace configured with limitrange, all the virt-launcher pods of the virtual machines got the same
resources.requests.cpualthough they have different vCPUs configured in the VM. - In a namespace, all the
virt-launcherpod'sresources.requests.cpuis set to Default Request configured in the limits and is not configured as percpuAllocationRatio.
Environment
- OpenShift Virtualization 4.10.
- OpenShift Virtualization 4.11.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.