Bird
0
0

You created a ResourceQuota but pods still exceed the CPU limit in the namespace. What could be wrong?

medium📝 Troubleshoot Q7 of 15
Kubernetes - Namespaces
You created a ResourceQuota but pods still exceed the CPU limit in the namespace. What could be wrong?
APods are running in a different namespace
BResourceQuota only limits memory, not CPU
CPods request less CPU than their actual usage
DResourceQuota must be applied cluster-wide to work
Step-by-Step Solution
Solution:
  1. Step 1: Understand how ResourceQuota enforces CPU limits

    ResourceQuota limits based on requested CPU, not actual usage.
  2. Step 2: Identify why pods exceed CPU limit

    If pods request less CPU than they use, ResourceQuota allows creation but actual usage can be higher.
  3. Final Answer:

    Pods request less CPU than their actual usage -> Option C
  4. Quick Check:

    ResourceQuota limits requests, not actual usage = D [OK]
Quick Trick: ResourceQuota limits requested, not actual CPU usage [OK]
Common Mistakes:
  • Assuming ResourceQuota limits actual CPU usage
  • Thinking ResourceQuota applies cluster-wide
  • Ignoring namespace mismatch

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes