vivzbansal
d1fac494f4
resolve merge conflicts
2025-01-27 19:42:13 +00:00
Kubernetes Prow Robot
7a504aa97b
Merge pull request #129174 from RyanAoh/fix-115896
...
Remove the limitation on exposing port 10250 externally
2024-12-13 01:48:32 +01:00
Aohan Yang
e8087b3f6a
Remove the limitation on exposing port 10250 externally
2024-12-12 19:45:19 +08:00
AxeZhan
ae11c7deb1
DisallowInvalidLabelValueInNodeSelector
2024-12-12 15:06:14 +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
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
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
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
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
4dae42a796
Updated version skew strategy for InPlacePodVerticalScaling
2024-11-07 11:29:07 +05:30
Anish Shah
207842d3e0
drop InPlacePodVerticalScaling support in windows
2024-11-06 12:57:55 -08:00
Jian Zeng
b9228836e1
feat: update validation helpers
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-06 21:27:12 +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
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
4d0e1c8fd4
Kill TooLongMaxLength() in favor of TooLong()
2024-11-05 15:10:22 -08: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
Kubernetes Prow Robot
6bc0768c62
Merge pull request #127744 from carlory/fix-126662
...
Tighten validation on the qosClass field of pod status
2024-11-01 22:33:27 +00:00
Jan Safranek
6ca7b959e4
Add SELinuxChangePolicy validation
2024-11-01 12:46:34 +01:00
carlory
9cb7d58b3c
Tighten validation on the qosClass field of pod status
2024-11-01 10:36:03 +08: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
Kubernetes Prow Robot
86b99869cb
Merge pull request #128299 from SergeyKanzhelev/updateDHS
...
Update Device Health fields description for KEP-4680
2024-10-28 22:19:01 +00:00
Sergey Kanzhelev
5cfaf47448
update allocated resources status validation to account for claims
2024-10-26 07:11:06 +00:00
Hemant Kumar
a9d71bd6e6
Move RecoverVolumeExpansionFailure feature to beta
2024-10-25 13:39:43 -04:00
Kubernetes Prow Robot
0a62f0fd7b
Merge pull request #128139 from Jefftree/revert-allowservicelb
...
Revert removal of feature AllowServiceLBStatusOnNonLB and LockToDefault first
2024-10-24 15:20:54 +01: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
Robbie Cronin
cdbfbde4aa
Add ut coverage for capabilities.Setup ( #125395 )
...
* Add ut coverage for capabilities.Setup
* Update pkg/capabilities/capabilities_test.go
Co-authored-by: Ed Bartosh <eduard.bartosh@intel.com >
* Add ut coverage for capabilities.Setup
Signed-off-by: robert-cronin <robert.owen.cronin@gmail.com >
---------
Signed-off-by: robert-cronin <robert.owen.cronin@gmail.com >
Co-authored-by: Ed Bartosh <eduard.bartosh@intel.com >
2024-10-17 18:23:03 +01:00
Kubernetes Prow Robot
c6ad6fa951
Merge pull request #125477 from my-git9/namespaceformat
...
Modify some error words
2024-10-17 17:17:17 +01:00
Jefftree
06321f4a0e
Revert "Remove AllowServiceLBStatusOnNonLB gate"
...
This reverts commit 128e189fcd .
2024-10-16 18:00:42 -04:00
Aohan Yang
da5738d9aa
Set feature gate emulation version during test
2024-10-10 19:26:31 +08:00
Matthieu MOREL
b7248077a9
fix: enable formatter rule from testifylint in module k8s.io/kubernetes
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-09-26 08:19:54 +02:00
carlory
684fbd6f20
remove AllowImageVolumeSource
2024-09-13 23:45:42 +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
Tim Hockin
128e189fcd
Remove AllowServiceLBStatusOnNonLB gate
2024-08-21 13:07:52 -07: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
107f621462
Merge pull request #126108 from gnufied/changes-volume-recovery
...
Reduce state changes when expansion fails and mark certain failures as infeasible
2024-07-23 13:30:56 -07:00
Kubernetes Prow Robot
05bb5f71f8
Merge pull request #120611 from pohly/dra-resource-quotas
...
DRA: resource quotas
2024-07-23 12:20:44 -07:00
Kubernetes Prow Robot
a00181d4d4
Merge pull request #121902 from carlory/kep-3751-pv-controller
...
[kep-3751] pvc bind pv with vac
2024-07-23 11:02:13 -07:00
Patrick Ohly
1f43a80b3c
DRA quota: unit test case for resource.k8s.io quota names
...
The names aren't actually special for validation. They are
acceptable with and without the feature gate, the only difference
is that they don't do anything when the feature is enabled.
2024-07-23 18:52:33 +02:00