You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The top-level `status.observedGeneration` field shows the `metadata.generation` corresponding to the latest pod specification that the kubelet has acknowledged. You can use this to determine the most recent resize request the kubelet has processed.
91
+
* In the `PodResizeInProgress` condition, the `conditions[].observedGeneration` field indicates the `metadata.generation` of the podSpec when the current in-progress resize was initiated.
92
+
* In the `PodResizePending` condition, the `conditions[].observedGeneration` field indicates the `metadata.generation` of the podSpec when the pending resize's allocation was last attempted.
93
+
85
94
## Container resize policies
86
95
87
96
You can control whether a container should be restarted when resizing
@@ -120,7 +129,7 @@ Consider a container configured with `restartPolicy: NotRequired` for CPU and `r
120
129
For Kubernetes {{< skew currentVersion >}}, resizing pod resources in-place has the following limitations:
121
130
122
131
* **Resource Types:** Only CPU and memory resources can be resized.
123
-
* **Memory Decrease:** If the memory resize restart policy is `NotRequired` (or unspecified), the Kubelet will make a
132
+
* **Memory Decrease:** If the memory resize restart policy is `NotRequired` (or unspecified), the kubelet will make a
124
133
best-effort attempt to prevent oom-kills when decreasing memory limits, but doesn't provide any guarantees.
125
134
Before decreasing container memory limits, if memory usage exceeds the requested limit, the resize will be skipped
126
135
and the status will remain in an "In Progress" state. This is considered best-effort because it is still subject
0 commit comments