File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
keps/sig-node/1287-in-place-update-pod-resources Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -820,6 +820,15 @@ future, but the design of how limit decreases will be approached is still undeci
820
820
821
821
Memory limit decreases with ` RestartRequired ` are still allowed.
822
822
823
+ ### Swap
824
+
825
+ Currently (v1.33), if swap is enabled & configured, burstable pods are allocated swap based on their
826
+ memory requests. Since resizing swap requires more thought and additional design, we will forbid
827
+ resizing memory requests of such containers for now. Since the API server is not privy to the node's
828
+ swap configuration, this will be surfaced as resizes being marked ` Infeasible ` .
829
+
830
+ We try to relax this restriction in the future.
831
+
823
832
### Sidecars
824
833
825
834
Sidecars, a.k.a. restartable InitContainers can be resized the same as regular containers. There are
@@ -901,6 +910,7 @@ This will be reconsidered post-beta as a future enhancement.
901
910
1 . Handle pod-scoped resources (https://github.com/kubernetes/enhancements/pull/1592 )
902
911
1 . Explore periodic resyncing of resources. That is, periodically issue resize requests to the
903
912
runtime even if the allocated resources haven't changed.
913
+ 1 . Allow resizing containers with swap allocated.
904
914
905
915
#### Mutable QOS Class "Shape"
906
916
You can’t perform that action at this time.
0 commit comments