Paco Xu
03a15fa65d
Revert "[FG:InPlacePodVerticalScaling] Graduate to Beta"
2024-11-20 14:55:29 +08:00
Kubernetes Prow Robot
252e9cbb23
Merge pull request #128754 from vivzbansal/sidecar-3
...
Add AllowSidecarResizePolicy to relax resize policy validation check of sidecar containers
2024-11-12 20:28:48 +00:00
vivzbansal
95591abd02
Add AllowSidecarResizePolicy to relax resize policy validation check of sidecar containers
2024-11-12 05:08:51 +00:00
Tim Allclair
2935b106dc
Set default ResizePolicy in fuzzer for roundtrip tests
2024-11-11 12:44:33 -08:00
Kubernetes Prow Robot
2691a29eac
Merge pull request #128683 from AnishShah/validation
...
[FG:InPlacePodVerticalScaling] Disallow removing requests & limits for Burstable pods.
2024-11-08 09:08:43 +00:00
Kubernetes Prow Robot
c25f5eefe4
Merge pull request #128407 from ndixita/pod-level-resources
...
[PodLevelResources] Pod Level Resources Feature Alpha
2024-11-08 07:10:50 +00:00
Anish Shah
7680f0f293
api: reject removing requsets & limits for Burstable pods.
2024-11-07 21:06:54 -08:00
Kubernetes Prow Robot
3232e2ffc0
Merge pull request #128687 from tallclair/allocated-status
...
[FG:InPlacePodVerticalScaling] Fix AllocatedResources feature gate annotation
2024-11-08 04:12:49 +00:00
ndixita
b30e6c8b0e
keeping the qos code as-is for the existing case when pod-level resources are not set
...
Signed-off-by: ndixita <ndixita@google.com >
2024-11-08 03:00:55 +00:00
ndixita
26f11c4586
QOS changes for Pod Level resources
2024-11-08 03:00:54 +00:00
ndixita
8a8dc27b4e
Adding the logic to validate pod-level resources as following:
...
1. The effective container requests cannot be greater than pod-level requests
2. Inidividual container limits cannot be greater than pod-level limits
3. Only CPU & Memory are supported at pod-level
4. Inplace container resources updates are not supported if pod-level resources are set
Note: effective container requests cannot be greater than pod-level limits is supported by transitivity. Effective container requests <= pod-level requests && pod-level requests <= pod-level limits; Therefore effective container requests <= pod-level limits
Signed-off-by: ndixita <ndixita@google.com >
2024-11-08 03:00:54 +00:00
ndixita
a2ddde877c
Adding the logic to set default pod-level request as following:
...
1. If pod-level limit is set, pod-level request is unset and container-level request is set: derive pod-level request from container-level requests
2. If pod-level limit is set, pod-level request is unset and container-level request is unset: set pod-level request equal to pod-level limit
2024-11-08 03:00:54 +00:00
ndixita
85488b5f10
Generated files and compatability data from API changes
2024-11-08 03:00:50 +00:00
ndixita
d7f488b5e3
API changes for Pod Level Resources
...
1. Add Resources struct to PodSpec struct in both external and internal API packages
2. Adding feature gate and logic for dropping disabled fields for Pod Level Resources
KEP: enhancements/keps/sig-node/2837-pod-level-resource-spec
2024-11-08 02:45:04 +00:00
Kubernetes Prow Robot
46b3d9b320
Merge pull request #128186 from sreeram-venkitesh/117767-in-place-pod-vertical-scaling-version-skew
...
Updated version skew strategy for InPlacePodVerticalScaling
2024-11-08 02:21:14 +00:00
Tim Allclair
8661f743a3
Fix AllocatedResources feature gate annotation
2024-11-07 16:31:25 -08:00
Sreeram Venkitesh
851dbf25e5
Added unit tests
2024-11-08 01:17:05 +05:30
Kubernetes Prow Robot
9660e5c4cd
Merge pull request #127360 from knight42/feat/split-stdout-stderr-server-side
...
API: add a new `Stream` field to `PodLogOptions`
2024-11-07 19:44:45 +00:00
Sreeram Venkitesh
8f1e69bbb0
Fix verify-gofmt.sh
2024-11-07 13:28:40 +05:30
Lan Liang
6e5a3cde50
Remove PodHostIPs feature gates.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com >
2024-11-06 23:10:36 -08:00
Sreeram Venkitesh
1739ee2ba9
Removed duplicated tests after rebase
2024-11-07 11:38:54 +05:30
Sreeram Venkitesh
385d2b198c
Fixes from review, updated tests cases
2024-11-07 11:34:58 +05:30
Sreeram Venkitesh
7d1d7182f3
Update function name and remove feature gate check
2024-11-07 11:29:11 +05:30
Sreeram Venkitesh
4dae42a796
Updated version skew strategy for InPlacePodVerticalScaling
2024-11-07 11:29:07 +05:30
Jian Zeng
4193824215
chore: update generated code
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-07 13:52:16 +08:00
Jian Zeng
0793f6577f
feat: update conversion helpers
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-07 13:52:01 +08:00
Kubernetes Prow Robot
dff657a07c
Merge pull request #128623 from AnishShah/ippr-windows
...
[FG:InPlacePodVerticalScaling] Drop InPlacePodVerticalScaling support in windows
2024-11-07 00:25:43 +00:00
Kubernetes Prow Robot
fa0979c15f
Merge pull request #124074 from carlory/clean-100001
...
fix description for PersistentVolumeSource and VolumeSource
2024-11-06 22:07:29 +00:00
Anish Shah
207842d3e0
drop InPlacePodVerticalScaling support in windows
2024-11-06 12:57:55 -08:00
Kubernetes Prow Robot
96250d4411
Merge pull request #124918 from SergeyKanzhelev/commentIgnoringBadStatuses
...
added a comment that statuses lists are not being validated
2024-11-06 20:09:29 +00:00
Jian Zeng
b9228836e1
feat: update validation helpers
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-06 21:27:12 +08:00
Jian Zeng
7660ce9a7e
feat: update conversion helpers
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-06 20:17:29 +08:00
Jian Zeng
82c6296a95
feat(api): add field stream to PodLogOptions
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-06 20:17:29 +08:00
Kubernetes Prow Robot
648717cc74
Merge pull request #128266 from AnishShah/resize-subresource
...
[FG:InPlacePodVerticalScaling] Introduce /resize subresource to request pod resource resizing
2024-11-06 06:59:29 +00:00
Kubernetes Prow Robot
a50b4e52a9
Merge pull request #128553 from thockin/master
...
Validation: merge TooLong and TooLongMaxLen
2024-11-06 04:19:43 +00:00
carlory
7cb4a1f144
fix description for PersistentVolumeSource and VolumeSource
2024-11-06 10:51:04 +08:00
Anish Shah
332d794559
remove redundant validation check for pod resize
2024-11-06 01:33:15 +00:00
Anish Shah
832d7f7dc2
apply feedback
2024-11-06 01:33:15 +00:00
Anish Shah
0a80c5ecb7
better variable names
2024-11-06 01:33:15 +00:00
Anish Shah
7ac302b47a
test: cleanup validation tests
2024-11-06 01:33:15 +00:00
Anish Shah
ce0f4597d3
fix error message for pod resize validation failure
2024-11-06 01:33:14 +00:00
Anish Shah
2bf1f2349c
validate resize request
...
We validate resize request by ensuring that pod QoS is unchanged and
only cpu and memory resources and resize policies are mutated.
2024-11-06 01:33:14 +00:00
Tim Hockin
c8eeb486f4
Call-site comments: the "" arg to TooLong is unused
2024-11-05 15:10:24 -08:00
Tim Hockin
8a7af90300
Clarify that value arg to field.TooLong is unused
2024-11-05 15:10:23 -08:00
Tim Hockin
4d0e1c8fd4
Kill TooLongMaxLength() in favor of TooLong()
2024-11-05 15:10:22 -08:00
Kubernetes Prow Robot
bc79d3ba87
Merge pull request #128396 from ritazh/deprecate-EnforceMountableSecretsAnnotation
...
deprecate EnforceMountableSecretsAnnotation in 1.32
2024-11-05 06:07:40 +00:00
Kubernetes Prow Robot
5572688cef
Merge pull request #128342 from gnufied/recovery-expansion-beta
...
Move RecoverVolumeExpansionFailure feature to beta
2024-11-04 23:15:36 +00:00
Kubernetes Prow Robot
97c79df18f
Merge pull request #127981 from jsafrane/selinux-changepolicy
...
1710: Implement SELinuxChangePolicy
2024-11-04 22:09:29 +00:00
Rita Zhang
e7cdc59555
deprecate EnforceMountableSecretsAnnotation in 1.32
...
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com >
2024-11-04 13:13:32 -08:00
Sergey Kanzhelev
01851b89f4
added a comment that statuses lists are not being validated
2024-11-03 06:28:42 +00:00