Pods are not creating due to defining resource quota and limit range in namespace.

Solution Unverified - Updated -

Issue

  • Getting forbidden error while creating a pod in a namespace with resource quota and limit ranges defined.
Error from server (Forbidden): pods "test" is forbidden: status unknown for quota: test
  • Resource quota status used is not updating in object definition as expected:
spec:
  hard:
    cpu: "4"
    memory: 16Gi
status:
  hard:
    cpu: "4"
    memory: 16Gi
Used status is not updating.

Environment

  • Red Hat OpenShift Container Platform 3.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