exceeded quota: a ResourceQuota refused the request
exceeded quota
The API server refused to create or change an object because it would take the namespace past a hard limit set in a ResourceQuota.
From Kubernetes's documentation, checked 25 Nov 2026.
Error from server (Forbidden): error when creating "<file>.yaml": pods "<pod-name>" is forbidden: exceeded quota: <quota-name>, requested: requests.memory=700Mi,used: requests.memory=600Mi, limited: requests.memory=1GiAlso searched as: is forbidden: exceeded quota · Forbidden exceeded quota · unable to create pods: is forbidden: exceeded quota · ResourceQuota exceeded · kubernetes namespace quota exceeded
What it means
A ResourceQuota sets hard limits on what a namespace can use, such as total CPU and memory requests or the number of Pods. The quota system tracks usage against those limits. When creating or updating an object would break a limit, the control plane rejects the request with HTTP 403 Forbidden. The message names the quota, then shows what was requested, what is already used, and the limit.
Common causes
- The new object's requests or limits, added to what the namespace already uses, pass a hard limit such as requests.memory or limits.cpu.
- The namespace already holds as many objects of that kind as the quota allows, for example pods or persistentvolumeclaims.
- A Deployment asks for more Pods than the quota allows. The Deployment is created but can't get all its Pods, and its status shows the error after "unable to create pods".
- An in-place Pod resize would take the namespace past its quota. The resize is rejected and the Pod keeps its old resources.
From Kubernetes's documentation
How to fix it
Compare what is used with the hard limits
Read the quota named in the error. The Used and Hard columns show how much of each limit the namespace has taken already. Add the requested and used values in the error, then compare them with the limited value.
kubectl get quota --namespace=<namespace> kubectl describe quota <quota-name> --namespace=<namespace>
For a Deployment, read its status
When the Pods come from a Deployment, kubectl may report no error at all. Instead, the Deployment shows fewer available replicas than you asked for. Its status conditions carry the full quota message.
kubectl get deployment <deployment-name> --namespace=<namespace> --output=yaml
Fit the request under the quota, or change the quota
Lower the object's requests and limits so they fit in what is left, or remove objects in the namespace that are no longer needed. If the namespace genuinely needs more, a cluster administrator raises the matching value under spec.hard in the ResourceQuota and applies it again.
kubectl get resourcequota <quota-name> --namespace=<namespace> --output=yaml
Following along? Tap a step’s number to tick it off.
How to confirm it's fixed
- kubectl describe quota shows enough room between Used and Hard for the new object.
- The object is created without the Forbidden error, and a Deployment reaches its full number of available replicas.
Related notes
A quota on cpu or memory also means every new Pod must set requests or limits for that resource, or the control plane may reject it. A LimitRange can apply defaults to Pods that set none. Quotas are independent of cluster capacity, so Pods can still fail to schedule if the nodes are short of resources.
Related engineering templates
Continue the investigation
Recommended reading
More from KBY that goes with this error.
Follow Kubernetes failures and fixes
A short email about twice a week for IT teams: new runbooks, configuration traps and fixes, and the Microsoft and Apple deadlines coming up.