Skip to content

Commit 979ffdf

Browse files
committed
Clarify use of QoS in eviction ranking
1 parent 2318028 commit 979ffdf

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

content/en/docs/concepts/configuration/pod-priority-preemption.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -353,21 +353,22 @@ the removal of the lowest priority Pods is not sufficient to allow the scheduler
353353
to schedule the preemptor Pod, or if the lowest priority Pods are protected by
354354
`PodDisruptionBudget`.
355355

356-
The only component that considers both QoS and Pod priority is
357-
[kubelet out-of-resource eviction](/docs/tasks/administer-cluster/out-of-resource/).
358-
The kubelet ranks Pods for eviction first by whether or not their usage of the
359-
starved resource exceeds requests, then by Priority, and then by the consumption
360-
of the starved compute resource relative to the Pods' scheduling requests.
361-
See
362-
[evicting end-user pods](/docs/tasks/administer-cluster/out-of-resource/#evicting-end-user-pods)
356+
The kubelet uses Priority to determine pod order for [out-of-resource eviction](/docs/tasks/administer-cluster/out-of-resource/).
357+
You can use the QoS class to estimate the order in which pods are most likely
358+
to get evicted. The kubelet ranks pods for eviction based on the following factors:
359+
360+
1. Whether the starved resource usage exceeds requests
361+
1. Pod Priority
362+
1. Amount of resource usage relative to requests
363+
364+
See [evicting end-user pods](/docs/tasks/administer-cluster/out-of-resource/#evicting-end-user-pods)
363365
for more details.
364366

365367
kubelet out-of-resource eviction does not evict Pods when their
366368
usage does not exceed their requests. If a Pod with lower priority is not
367369
exceeding its requests, it won't be evicted. Another Pod with higher priority
368370
that exceeds its requests may be evicted.
369371

370-
371372
## {{% heading "whatsnext" %}}
372373

373374
* Read about using ResourceQuotas in connection with PriorityClasses: [limit Priority Class consumption by default](/docs/concepts/policy/resource-quotas/#limit-priority-class-consumption-by-default)

0 commit comments

Comments
 (0)