Why Default CPU request in namespace limitrange takes precedence over the VMs configured vCPU?

Solution Verified - Updated -

Issue

  • In a namespace configured with limitrange, all the virt-launcher pods of the virtual machines got the same resources.requests.cpu although they have different vCPUs configured in the VM.
  • In a namespace, all the virt-launcher pod's resources.requests.cpu is set to Default Request configured in the limits and is not configured as per cpuAllocationRatio.

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content