Skip to content

Commit 08fa7a9

Browse files
committed
ippr: document prioritized resizes for 1.34
1 parent ab12c02 commit 08fa7a9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

content/en/docs/tasks/configure-pod-container/resize-container-resources.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,19 @@ The Kubelet updates the Pod's status conditions to indicate the state of a resiz
6969
This is usually brief but might take longer depending on the resource type and runtime behavior.
7070
Any errors during actuation are reported in the `message` field (along with `reason: Error`).
7171

72+
### How kubelet retries Deferred resizes
73+
74+
If the requested resize is 'Deferred', the kubelet will periodically re-attempt the resize,
75+
for example when another pod is removed or scaled down. If there are multiple deferred
76+
resizes, they are retried according to the following priority:
77+
78+
* Pods with a higher Priority (based on PriorityClass) will have their resize request retried first.
79+
* If two pods have the same Priority, resize of guaranteed pods will be retried before the resize of burstable pods.
80+
* If all else is the same, pods that have been in the Deferred state longer will be prioritized.
81+
82+
A higher priority resize being marked as pending will not block the remaining pending resizes from being attempted;
83+
all remaining pending resizes will still be retried even if a higher-priority resize gets deferred again.
84+
7285
## Container resize policies
7386

7487
You can control whether a container should be restarted when resizing

0 commit comments

Comments
 (0)