Set resource requests and limits in Red Hat build of Operator deployed in a namespace with resource quotas activated

Solution Verified - Updated -

Issue

  • Red Hat build of Keycloak operator doesn’t have CPU or MEMORY requests and limits defined by default, so when trying to deploy an operator into a namespace that has those resource quotas defined, the operator deployment will fail with the message: compute-resources: must specify limits.cpu,limits.memory,requests.cpu,requests.memory.

Environment

  • Red Hat build of Keycloak Operator
    • 22.x
    • 24.x
  • Red Hat Openshift

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