Bird
0
0

You defined a PriorityClass with value 1000 but your pod remains pending and does not get scheduled with that priority. What is a likely cause?

medium📝 Troubleshoot Q6 of 15
Kubernetes - Scheduling
You defined a PriorityClass with value 1000 but your pod remains pending and does not get scheduled with that priority. What is a likely cause?
APriorityClasses require a special admission controller enabled
BThe pod's resource requests exceed cluster capacity
CThe PriorityClass value must be greater than 2000 to schedule
DThe PriorityClass is not marked as global default and pod's priorityClassName is misspelled
Step-by-Step Solution
Solution:
  1. Step 1: Check PriorityClass usage

    If the pod's priorityClassName is misspelled or does not match any existing PriorityClass, the pod will not get assigned that priority.
  2. Step 2: Verify PriorityClass default

    PriorityClasses are not global defaults unless explicitly marked. Without correct naming, the pod won't get the intended priority.
  3. Step 3: Other options

    Resource requests or admission controllers do not prevent priority assignment directly. PriorityClass values can be any integer.
  4. Final Answer:

    PriorityClass not matched due to misspelling or lack of default -> Option D
  5. Quick Check:

    Pod's priorityClassName must exactly match an existing PriorityClass [OK]
Quick Trick: Check priorityClassName spelling and existence [OK]
Common Mistakes:
  • Assuming PriorityClass value must be above a threshold
  • Ignoring pod resource requests as cause
  • Believing admission controllers block priority assignment

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes