Skip to content

Commit ea7c223

Browse files
committed
KEP-1287: Priority of Resize Requests
1 parent 2dca874 commit ea7c223

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

keps/sig-node/1287-in-place-update-pod-resources/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,23 @@ Changes are always propogated through these 4 resource states in order:
432432
Desired --> Allocated --> Actuated --> Actual
433433
```
434434

435+
### Priority of Resize Requests
436+
437+
Resize requests that come in will be added to a queue of pending resizes. Resize
438+
requests will be attempted according to the following priority:
439+
440+
1. *Resource requests are not increasing*: Resizes that don't increase requests will be
441+
prioritized first. These resizes are expected to always succeed and would not be marked as
442+
pending.
443+
2. *PriorityClass*: Pods with a higher PriorityClass.
444+
3. *QoS Class*: Pods with a higher QoS class, where Guaranteed > Burstable > Best Effort.
445+
4. *Time since resize request*: If all else is the same, resizes that have been pending
446+
longer will be retried first (leveraging LastTransitionTime on the PodResizePending condition).
447+
448+
A higher priority resize being marked as pending should not block the remaining pending resizes
449+
from being attempted, i.e. we will try all remaining resizes in the queue even if one is unsuccessful.
450+
Resizes that are deferred will be added back to the queue to be re-attempted later. Resizes that are
451+
infeasible may never be retried.
435452

436453
### Kubelet and API Server Interaction
437454

keps/sig-node/1287-in-place-update-pod-resources/kep.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ authors:
66
- "@schylek"
77
- "@vinaykul"
88
- "@tallclair"
9+
- "@natasha41575"
910
owning-sig: sig-node
1011
participating-sigs:
1112
- sig-autoscaling

0 commit comments

Comments
 (0)