# A Deployment wants 5 replicas but only 3 Pods exist and none is Pending. Where does a ResourceQuota rejection show up?

Kubernetes, Medium (Advanced), Troubleshooting. https://k8wiz.com/uquiz/a-deployment-wants-5-replicas-but-only-3-pods-exist-and-none-is-pending-where-does-a-resourcequota-rejection-show-up

- A. As a FailedScheduling event on the Deployment
- B. In the status of the ResourceQuota object itself
- C. In the kube-scheduler logs for the namespace
- D. As a FailedCreate event on the ReplicaSet

**Answer:** As a FailedCreate event on the ReplicaSet

**Explanation:** ResourceQuota is enforced by an admission plugin, so the API server rejects the Pod create request and no Pod object ever exists. The ReplicaSet controller made that request, and it records a FailedCreate event with a message like 'Error creating: pods "web-6f7d9c8b5-" is forbidden: exceeded quota: ...'. The scheduler never sees the Pod, so there is no FailedScheduling event.
