Skip to content

Commit 00af4e0

Browse files
committed
KEP-1287: Make ResizePolicy immutable
1 parent c6b13b4 commit 00af4e0

File tree

1 file changed

+2
-5
lines changed
  • keps/sig-node/1287-in-place-update-pod-resources

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,7 @@ If a pod's RestartPolicy is `Never`, the ResizePolicy fields must be set to
291291
in the container being stopped *and not restarted*, if the system can not
292292
perform the resize in place.
293293

294-
The `ResizePolicy` field is mutable. Only append is strictly required to support in-place resize
295-
(for new resource requirements), and we may reevaluate full mutability if additional edge cases are
296-
discovered in implementation.
294+
The `ResizePolicy` field is immutable.
297295

298296
#### Resize Status
299297

@@ -856,8 +854,7 @@ pod updates where `.status...resources` changed.
856854
Pod v1 core API:
857855
* extend API
858856
* auto-reset Status.Resize on changes to Resources
859-
* added validation allowing only CPU and memory resource changes,
860-
* set default for ResizePolicy
857+
* added validation allowing only CPU and memory resource changes
861858

862859
Admission Controllers: LimitRanger, ResourceQuota need to support Pod Updates:
863860
* for ResourceQuota, podEvaluator.Handler implementation is modified to allow

0 commit comments

Comments
 (0)