Kubernetes Pod Stuck in Pending
A pod has been stuck in Pending state for over 15 minutes. Walk me through how you would troubleshoot and resolve this issue.
- Check events with kubectl describe pod for scheduling errors
- Verify node capacity and resource requests/limits
- Check taints, tolerations, and affinity rules
- Ensure images pull correctly and registry is accessible
- Scale node pool if resources exhausted
- 💡Often caused by insufficient resources or affinity rules.
- ⚠️Forgetting to check the 'Events' section in `kubectl describe pod`, which is the primary source of scheduling error messages.
- ⚠️Assuming node capacity is the only issue and not investigating taints, tolerations, or affinity rules.
- ⚠️Overlooking PVC binding and storage accessibility as a cause for pending pods, especially for stateful applications.
- ⚠️Spending too much time on one specific area and not moving systematically through the troubleshooting steps.
- ⚠️Not considering the health of the Kubernetes control plane components (scheduler, controller-manager) for more complex or cluster-wide issues.
- ❓How do you proactively prevent this?
- ❓How do you monitor cluster capacity?
Ready to prove your Kubernetes administration knowledge?
Practice with free Certified Kubernetes Administrator (CKA) (CKA) exam questions. Instant answers and detailed explanations — no account required.
Start free practice quizQuestions that share similar topics with this one
Kubernetes Pod Stuck in Pending
IntermediateK8s Readiness vs Liveness Probes
IntermediateKubernetes Pod Restart Loop Troubleshooting
IntermediateInvestigating High CPU Usage in Kubernetes Pods
AdvancedDesign an Online Code Execution Sandbox
AdvancedDeepen your knowledge with these related blog posts
EKS Cluster Upgrades: A Production Runbook for Platform Teams
A comprehensive guide to safely upgrading Amazon EKS clusters at scale. Covers pre-flight checks, control plane upgrades, add-on versioning, node group strategies, rollback procedures, common anti-patterns, and fleet automation.
From Terraform to GitOps: A Practical Migration Roadmap
A step-by-step guide to migrating from traditional Terraform workflows to GitOps, including migration patterns, common pitfalls, and practical diagrams to guide your journey.
GitOps: Monorepo vs Polyrepo - A Practical Comparison
A straightforward comparison of monorepo and polyrepo approaches for GitOps implementations. Understand the advantages, disadvantages, and when to use each strategy for your infrastructure and application deployments.