Pods are not creating due to defining resource quota and limit range in namespace.
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.