Kubernetes
Medium
Troubleshooting
A Deployment wants 5 replicas but only 3 Pods exist and none is Pending. Where does a ResourceQuota rejection show up?
Select your answer:
Show answer and explanation
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.
More medium Kubernetes questions
- Which component of the Kubernetes control plane is responsible for maintaining the desired state of the cluster?
- What is the difference between a Deployment and a StatefulSet?
- A pod is stuck in 'Pending' state. What is the most likely cause?
- Which component is responsible for maintaining network rules on nodes and enabling pod-to-pod communication?
- What is a DaemonSet used for in Kubernetes?
- What happens when a node in a Kubernetes cluster fails?