Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit 7bafb53

Browse files
Kubernetes Submit Queuehuzhengchuan
Kubernetes Submit Queue
authored andcommitted
Merge pull request #1162 from dashpole/priority_eviction
Automatic merge from submit-queue. Update priority eviction docs After discussion with @dchen1107 and @bsalamat I think it would be simpler to start with a tiered eviction sorting rather than by using a function. See kubernetes/community#846 (review) for some of the rationale. This PR makes two changes: 1. Changes the release at which changes take effect to 1.9 (since implementation missed 1.8) 2. Changes the strategy from (usage > requests, func(priority, usage - requests)) to (usage > requests, priority, usage - requests) cc @dchen1107 @derekwaynecarr @vishh
2 parents 7622ff8 + 2e17992 commit 7bafb53

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

node/kubelet-eviction.md

+6-9
Original file line numberDiff line numberDiff line change
@@ -248,15 +248,12 @@ Priority, and are the largest consumers of the starved resource relative to
248248
their scheduling request.
249249

250250
It will target pods whose usage of the starved resource exceeds its requests.
251-
Of those pods, it will rank by a function of priority, and usage - requests.
252-
Roughly speaking, if a pod has twice the priority of another pod, it will
253-
recieve half the penalty for usage above requests. If system daemons are
254-
exceeding their allocation (see [Strategy Caveat](strategy-caveat) below),
255-
and all pods are using less than their requests, then it will evict a pod
256-
whose usage is less than requests, based on the function of priority, and
257-
usage - requests.
258-
259-
Prior to v1.8:
251+
Of those pods, it will rank by priority, then usage - requests. If system
252+
daemons are exceeding their allocation (see [Strategy Caveat](strategy-caveat) below),
253+
and all pods are using less than their requests, then it must evict a pod
254+
whose usage is less than requests, based on priority, then usage - requests.
255+
256+
Prior to v1.9:
260257
The `kubelet` will implement a default eviction strategy oriented around
261258
the pod quality of service class.
262259

0 commit comments

Comments
 (0)