Skip to content

Commit

Permalink
update priority eviction docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Dec 1, 2021
1 parent dcedab2 commit c310b05
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions node/kubelet-eviction.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,12 @@ Priority, and are the largest consumers of the starved resource relative to
their scheduling request.

It will target pods whose usage of the starved resource exceeds its requests.
Of those pods, it will rank by a function of priority, and usage - requests.
Roughly speaking, if a pod has twice the priority of another pod, it will
recieve half the penalty for usage above requests. If system daemons are
exceeding their allocation (see [Strategy Caveat](strategy-caveat) below),
and all pods are using less than their requests, then it will evict a pod
whose usage is less than requests, based on the function of priority, and
usage - requests.

Prior to v1.8:
Of those pods, it will rank by priority, then usage - requests. If system
daemons are exceeding their allocation (see [Strategy Caveat](strategy-caveat) below),
and all pods are using less than their requests, then it must evict a pod
whose usage is less than requests, based on priority, then usage - requests.

Prior to v1.9:
The `kubelet` will implement a default eviction strategy oriented around
the pod quality of service class.

Expand Down

0 comments on commit c310b05

Please sign in to comment.