Recall & Review
beginner
What is pod priority in Kubernetes?
Pod priority is a value assigned to pods that indicates their importance. Higher priority pods are scheduled before lower priority ones when resources are limited.
Click to reveal answer
beginner
What does preemption mean in the context of Kubernetes pods?
Preemption means Kubernetes can evict (remove) lower priority pods to free resources for higher priority pods that need to be scheduled.
Click to reveal answer
intermediate
How do you assign a priority to a pod?
You assign a priority by specifying a priorityClassName in the pod's spec, which refers to a PriorityClass resource defining the priority value.Click to reveal answer
intermediate
What happens if a high priority pod cannot be scheduled due to lack of resources?
Kubernetes tries to preempt lower priority pods by evicting them to free resources so the high priority pod can be scheduled.
Click to reveal answer
advanced
Can preemption cause disruption to running applications?
Yes, preemption evicts pods which can cause temporary downtime or disruption for those lower priority applications.
Click to reveal answer
What does the priorityClassName field in a pod spec do?
✗ Incorrect
priorityClassName links the pod to a PriorityClass resource that sets its scheduling priority.
What triggers preemption in Kubernetes?
✗ Incorrect
Preemption happens when a high priority pod needs resources but none are free, so lower priority pods are evicted.
Which of these is true about pod priority values?
✗ Incorrect
In Kubernetes, higher numeric priority values indicate higher importance.
What happens to a pod that is preempted?
✗ Incorrect
Preempted pods are evicted and terminated to make room for higher priority pods.
Can a pod with no priorityClassName be preempted?
✗ Incorrect
Pods without a priorityClassName get the lowest priority and can be preempted by any pod with a priority.
Explain how pod priority and preemption work together in Kubernetes scheduling.
Think about how Kubernetes decides which pods run when resources are tight.
You got /4 concepts.
Describe the impact of preemption on running applications and how to manage it.
Consider what happens when a pod is removed to make space for another.
You got /4 concepts.