Kubernetes Prow Robot
b14fad5adc
Merge pull request #130181 from natasha41575/apiserver-generation
...
start setting pod metadata.generation
2025-02-24 10:48:29 -08:00
Natasha Sarkar
d02401dea9
start setting pod metadata.generation
2025-02-24 16:22:14 +00:00
Tim Allclair
7098221ae5
Fix TweakContainers comment
2025-02-20 16:09:58 -08:00
Tim Allclair
a1595d9dca
Don't allow memory limit decrease unless resize policy is RestartContainer
2025-02-14 12:38:52 -08:00
Kubernetes Prow Robot
0634e21fb5
Merge pull request #128367 from vivzbansal/sidecar-2
...
[FG:InPlacePodVerticalScaling] Implement resize for sidecar containers
2025-02-05 14:38:15 -08:00
Gunju Kim
0bee0bcaa7
Promote SidecarContainers feature to GA
2025-02-02 17:45:36 +09:00
vivzbansal
cfa0349159
Update validation code
2025-01-28 00:55:55 +00:00
vivzbansal
c479f007d8
Update field to use feature gate
2025-01-27 19:46:55 +00:00
vivzbansal
6c5cf68722
Resolved latest review comments
2025-01-27 19:46:33 +00:00
vivzbansal
1cf4587277
Fix build error
2025-01-27 19:42:14 +00:00
vivzbansal
d1fac494f4
resolve merge conflicts
2025-01-27 19:42:13 +00:00
Davanum Srinivas
4e05bc20db
Linter to ensure go-cmp/cmp is used ONLY in tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-01-24 20:49:14 -05:00
Jordan Liggitt
04426633c0
Use OS-agnostic path separator in pod warnings check
2024-12-17 08:36:06 -05:00
AxeZhan
ae11c7deb1
DisallowInvalidLabelValueInNodeSelector
2024-12-12 15:06:14 +08:00
Kubernetes Prow Robot
e43e68fdc3
Merge pull request #122170 from yanfeng1992/master-new
...
add warning for duplicate port name definition
2024-12-12 02:56:26 +00:00
huangyanfeng
04669c5d64
add warning for duplicate port name definition
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com >
2024-12-06 06:20:17 +00:00
vivzbansal
95591abd02
Add AllowSidecarResizePolicy to relax resize policy validation check of sidecar containers
2024-11-12 05:08:51 +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
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
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
210f129bb0
Merge pull request #128676 from vivzbansal/sidecar-3
...
Refactor: Move IsRestartableInitContainer to common utility package
2024-11-08 02:21:50 +00:00
Kubernetes Prow Robot
a2a32fc31a
Merge pull request #121968 from Peac36/fix/121414
...
add warnings for cases one of projected volume types get overwritten by service account token
2024-11-08 02:20:43 +00:00
vivzbansal
cf8ee421f1
Updated the comment of IsRestartableInitContainer(...)
2024-11-07 22:14:22 +00:00
vivzbansal
763e810fb5
refactor code to add sidecar container support in IPPR
2024-11-07 21:20:48 +00:00
Lan Liang
6e5a3cde50
Remove PodHostIPs feature gates.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com >
2024-11-06 23:10:36 -08:00
Kevin Hannon
350b0d2b93
Revert "Graduate PodLifecycleSleepAction to GA"
2024-11-06 16:29:19 -05:00
Anish Shah
3b91edb660
unit tests to ensure pod metadata cannot be updated during resize.
2024-11-06 01:33:15 +00:00
Kubernetes Prow Robot
f81a68f488
Merge pull request #128377 from tallclair/allocated-status-2
...
[FG:InPlacePodVerticalScaling] Implement AllocatedResources status changes for Beta
2024-11-05 23:21:49 +00:00
Kubernetes Prow Robot
9fe41b6198
Merge pull request #128046 from AxeZhan/ga3960
...
Graduate PodLifecycleSleepAction to GA
2024-11-04 22:09:35 +00:00
AxeZhan
200a61b6b9
Graduate PodLifecycleSleepAction to GA
2024-11-02 11:05:36 +08:00
Tim Allclair
99dcf07e21
If ResourceRequirements changed, always mark a proposed resize
2024-11-01 14:10:12 -07:00
Tim Allclair
0f0e27d226
Move container status AllocatedResources behind a separate feature gate
2024-11-01 14:02:58 -07:00
Jan Safranek
6ca7b959e4
Add SELinuxChangePolicy validation
2024-11-01 12:46:34 +01:00
Kubernetes Prow Robot
b337f048db
Merge pull request #127094 from sreeram-venkitesh/4818-allow-zero-for-prestop-hook
...
KEP-4818: Relaxed validation for allowing zero in PreStop hook sleep action
2024-10-31 20:25:26 +00:00
zhifei92
5c01709387
Fix the apiserver panic caused by adding a container when updating a pod
...
add unit test
refactor: Merge the test cases into TestMarkPodProposedForResize.
chore: Add the comment and fix the test names
2024-10-29 10:52:46 +08:00
Sreeram Venkitesh
f1f9e7b398
Clean kube_features.go
...
Added tests, info about new feature gate in error message, fixes from review
Added basic e2e test
Added unit tests
Ran hack/update-featuregates.sh
Tolerate updates to existing resources after disabling feature gate
Added feature gate to versioned_kube_features.go
Fixed existing tests
Use PodValidationOptions for validation instead of using feature gate directly
Relaxed validation for allowing zero in prestop hook sleep action
2024-10-18 22:04:42 +05:30
carlory
684fbd6f20
remove AllowImageVolumeSource
2024-09-13 23:45:42 +08:00
carlory
24a50a3ddf
If old pod spec has used image volume source, we must allow it
2024-09-13 23:42:21 +08:00
Adrian Moisey
8e3adc4df6
KEP-4427 : AllowRelaxedDNSSearchValidation ( #127167 )
...
* KEP-4427 : AllowRelaxedDNSSearchValidation
* Add e2e test with feature gate to test KEP-4427 RelaxedDNSSearchValidation
* Add more validatePodDNSConfig test cases
Also update Regex to match the case we want.
Thanks Tim and Antonio!
2024-09-12 09:41:19 +01:00
Nikola
e1178c4cf8
optimize checks for overlapping in projected
2024-07-24 19:23:27 +03:00
Sergey Kanzhelev
62f96d2748
set AllocatedResourcesStatus in the Pod Status
2024-07-24 00:29:35 +00:00
Sergey Kanzhelev
3790ee2fe8
reset fields when the feature gate was not set
2024-07-24 00:29:35 +00:00
Kubernetes Prow Robot
7590cb7adf
Merge pull request #125257 from vinayakankugoyal/armor
...
KEP-24: Update AppArmor feature gates to GA stage.
2024-07-23 09:20:52 -07:00
Sascha Grunert
f7ca3131e0
Add ImageVolumeSource API
...
Adding the required Kubernetes API so that the kubelet can start using
it. This patch also adds the corresponding alpha feature gate as
outlined in KEP 4639.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-07-18 17:25:54 +02:00
Vinayak Goyal
bc06071495
Update AppArmor feature gates to GA stage.
...
Signed-off-by: Vinayak Goyal <vinaygo@google.com >
2024-07-15 23:29:37 +00:00
Nikola
1853742da6
refactor the duplicate paths warning for pods logic
2024-07-14 21:15:40 +03:00
Nikola
205a026bb1
extend pod warning rules for overlapping paths
2024-07-07 17:02:54 +03:00
Nikola
30c325a3dc
add validation for configmap, secret and downward api
2024-07-05 11:35:54 +03:00
Nikola
7708bcb4fc
add warnings for duplicated paths in projected volumes
2024-07-05 11:35:54 +03:00
Michael Fraenkel
cd949bafa4
use MakePodSpec consistently ( #125805 )
...
cleaning up some tests after MakePod/MakePodSpec were introduced
2024-06-30 10:28:36 -07:00