How to modify the resource requests and limits of CDI importer/upload pods in OpenShift Virtualization?

Solution Verified - Updated -

Issue

  • The CDI import/upload pod is sometimes killed because of OOM while importing/uploading the virtual machine disks. How to increase the cpu and memory of the import/upload pods?
  • A LimitRange was defined for the namespace with maxLimitRequestRatio and after that the Containerized Data Importer (CDI) pods are failing to start because the ratio of requests/limit is not matching the maxLimitRequestRatio. So it is required to modify the requests and limits used by the CDI pods.

Environment

  • 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