Commit Graph

129781 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
03763fd1ab Merge pull request #131296 from rzlink/master
e2e: stabilize Windows memory pressure eviction test
2025-05-06 17:45:20 -07:00
Kubernetes Prow Robot
d790594ce1 Merge pull request #131246 from pohly/dra-resourceslice-errors
DRA: improve resource slice publishing
2025-05-06 17:45:13 -07:00
Kubernetes Prow Robot
6acc5af530 Merge pull request #131631 from danwinship/sig-network-approvers
Update sig-network-approvers/reviewers
2025-05-06 15:51:21 -07:00
Kubernetes Prow Robot
a61ab65003 Merge pull request #131618 from hwdef/remove-reviewer
remove hwdef from hack reviewer
2025-05-06 15:51:14 -07:00
Kubernetes Prow Robot
1cc003ae48 Merge pull request #131443 from jpbetz/lockfree-error-backoff
Avoid lock contention for error backoff
2025-05-06 14:01:14 -07:00
Joe Betz
c5efc843da Fix rudimentaryErrorBackoff to only be created once 2025-05-06 15:56:29 -04:00
Kubernetes Prow Robot
2e198e8473 Merge pull request #131611 from dom4ha/leader-change
Remove alculquicondor who is stepping down from sig-scheduling-api-reviewers
2025-05-06 12:53:36 -07:00
Kubernetes Prow Robot
417662ca93 Merge pull request #131575 from ali-a-a/deflake-watch-not-hanging-on-startup-failure
pkg/storage/cacher/cacher_whitebox_test: deflake TestWatchNotHangingOnStartupFailure when ResilientWatchCacheInitialization is on
2025-05-06 12:53:29 -07:00
Kubernetes Prow Robot
3dca763acc Merge pull request #129150 from huww98/version-comment
remove out-of-date comments about version
2025-05-06 12:53:20 -07:00
Kubernetes Prow Robot
0da4ada321 Merge pull request #131596 from jpbetz/cel-reflect-extra-tests
Expand CEL UnstructuredToVal and TypedToVal has() tests
2025-05-06 11:49:21 -07:00
Kubernetes Prow Robot
d76b47cc4c Merge pull request #131165 from liggitt/e2e-requesturi
Make Request#RequestURI honor configured context root
2025-05-06 11:49:14 -07:00
Dan Winship
8652b6ab28 Update sig-network-approvers/reviewers 2025-05-06 13:40:44 -04:00
Kubernetes Prow Robot
c6739dd54d Merge pull request #131560 from jpbetz/validation-gen-subresource-simplification
Declarative validation: Simplify handling of subresources
2025-05-06 09:29:20 -07:00
Kubernetes Prow Robot
ef66667c8e Merge pull request #131243 from danwinship/kube-proxy-cleanup
Improve `kube-proxy --cleanup` / cleanup on kube-proxy mode switch
2025-05-06 09:29:13 -07:00
Dawei Wei
863168e474 e2e: stabilize Windows memory pressure eviction test
- Add logic to wait until memory-pressure taint is cleared before running the test.

This reduces test flakiness due to lingering node conditions between retries.
2025-05-06 09:25:06 -07:00
dom4ha
97a2cb39ce Make sig-scheduling-api-approvers actual approvers 2025-05-06 15:37:57 +00:00
dom4ha
6d927c3c25 Comment out sig-scheduling-api-reviewers, since it's currently empty. 2025-05-06 15:15:03 +00:00
dom4ha
038bb1a9a5 Remove alculquicondor who is stepping down from sig-scheduling-api-reviewers 2025-05-06 15:15:03 +00:00
Kubernetes Prow Robot
3aa66a2ba0 Merge pull request #131627 from dims/mutating-webhook-error
[Attempt #2] apiserver: Treat error decoding a mutating webhook patch as error calling the webhook
2025-05-06 07:45:13 -07:00
Davanum Srinivas
3be3051fb7 Adding test case for the webhook behavior change
Authored-by: Jordan Liggitt <liggitt@google.com>
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-05-06 09:35:38 -04:00
Davanum Srinivas
cf82fd7e9c Treat error decoding a mutating webhook patch as error calling the webhook
Co-Authored-By: Matthew Wong <mattwon@amazon.com>
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-05-06 09:35:27 -04:00
Kubernetes Prow Robot
288b044e0f Merge pull request #131609 from googs1025/scheduler_AdmissionCheck
fix(scheduler): node pre-check logic to consider NoExecute taint effect
2025-05-06 06:03:20 -07:00
Kubernetes Prow Robot
d2507bb01a Merge pull request #130806 from hakuna-matatah/master
Optimize Statefulset Controller Performance: Reduce Work Duration Time & Minimize Cache Locking.
2025-05-06 06:03:13 -07:00
Joe Betz
d2fa246b06 Update codegen 2025-05-06 09:00:38 -04:00
Joe Betz
d78b295a84 Reenable guard to only validat root and scale subresources until ratcheting merges. 2025-05-06 09:00:32 -04:00
Kubernetes Prow Robot
73b5f84cb6 Merge pull request #131487 from hshiina/dedup-cgroup-verification
e2e: Deduplicate cgroup verification
2025-05-06 04:03:17 -07:00
hwdef
d52f05dad3 remove hwdef from hack reviewer
Signed-off-by: hwdef <hwdefcom@outlook.com>
2025-05-06 15:26:20 +08:00
Kubernetes Prow Robot
71f0fc6e72 Merge pull request #131593 from gnufied/check-for-recovery-related-fields
Check for newer resizing related fields after expansion is successful
2025-05-05 20:57:14 -07:00
Kubernetes Prow Robot
3f80863807 Merge pull request #131559 from jpbetz/fix-unstructured-to-val-equality
Fix UnstructuredToVal map equality to respect nil fields
2025-05-05 19:53:20 -07:00
Kubernetes Prow Robot
07704ee9b1 Merge pull request #131399 from thockin/kk_realType
Fixes for bad handling of pointers and aliases in validation
2025-05-05 19:53:13 -07:00
Joe Betz
2e6ec2414c Remove unused function 2025-05-05 22:06:59 -04:00
Joe Betz
2e8b409a5f Rewrite Subresources godoc. 2025-05-05 22:06:59 -04:00
Joe Betz
164fefa948 Update codegen 2025-05-05 22:06:59 -04:00
Joe Betz
2119555e02 Add subresource to operation, do not special case subresources in validation-gen 2025-05-05 22:06:59 -04:00
Ali Abbasi Alaei
2073ba2372 pkg/storage/cacher/cacher_whitebox_test: deflake TestWatchNotHangingOnStartupFailure when ResilientWatchCacheInitialization is on 2025-05-05 18:47:41 -04:00
Kubernetes Prow Robot
4c0233b95c Merge pull request #131264 from tallclair/container-util
Add ContainerIter utility for ranging over pod containers
2025-05-05 14:02:48 -07:00
Kubernetes Prow Robot
5bb3aa3604 Merge pull request #131602 from adrianmoisey/bump_cni
Update CNI plugins to v1.7.1
2025-05-05 12:21:57 -07:00
Joe Betz
10c5bdd6a1 Apply feedback 2025-05-05 15:03:11 -04:00
Hemant Kumar
36685c6f1c Add information about expected status 2025-05-05 14:40:06 -04:00
googs1025
6c89041043 fix(scheduler): node pre-check logic to consider NoExecute taint effect
Signed-off-by: googs1025 <googs1025@gmail.com>
2025-05-05 22:08:05 +08:00
Kubernetes Prow Robot
2ac0bdf360 Merge pull request #131568 from gnufied/disable-size-checking-needs-resize
Disable size checking performed during resize
2025-05-05 06:49:58 -07:00
Kubernetes Prow Robot
b63fe3d667 Merge pull request #131603 from pohly/agnhost-update
test: bump agnhost image to 2.54
2025-05-05 05:43:58 -07:00
Patrick Ohly
3b5cfeaf20 DRA: use v1beta2
DRA drivers must provide ResourceSlices using the v1beta2 API types.
The controller then converts under the hood to v1beta1 if needed, i.e.
drivers are compatible with Kubernetes 1.32 and Kubernetes 1.33, as
long as at least one beta API group is enabled.

Testing pivots from using v1beta1 as the main API to v1beta2, with only one
test case exercising v1beta1.
2025-05-05 08:49:09 +02:00
Patrick Ohly
b262d56165 DRA: client-go wrapper with latest API as types
The wrapper currently takes and returns v1beta2 types and under the hood
converts to and from whatever type is supported by the apiserver. It tries with
v1beta2 and falls back to v1beta1 only if needed. It then keeps using that for
future calls (i.e. there should only be one failing call). If the apiserver
configuration changes, the wrapper tries the other version again. This is
transparent to the caller.

Patching and server-side-apply are not supported and return an error.
2025-05-05 08:41:21 +02:00
Patrick Ohly
8e9abfaf21 DRA: v1beta1 <-> v1beta2 conversion
The manual code is an almost literal copy of the pkg/apis/resource/v1beta1
code. The "internal" version here is the latest version of our API, which will
change over time. The intent is to wrote code using that latest API version and
then to convert to older versions automatically.
2025-05-05 08:41:21 +02:00
Patrick Ohly
d7a64d68b5 DRA resourceslices: clarify code
Using an else clause makes it more obvious that the code either creates a new
controller or calls Publish on an existing one, not both.
2025-05-05 08:41:21 +02:00
Patrick Ohly
a171795e31 DRA resourceslices: better error reporting
A user of the controller can register an error handler via the controller
options. For a kubelet plugin, the error handler is method in the interface
which must be implemented. This is a conscious choice to make DRA driver
developer aware that they should react intelligently to errors.

The controller will invoke that handler with all errors that it encounters
while syncing the desired set of slices. This includes validation errors from
the apiserver if the driver's slices are invalid. Dropped fields get reported
with a special DroppedFieldsError.
2025-05-05 08:40:52 +02:00
Patrick Ohly
6392b54e12 DRA resourceslices: avoid update loop when partitionable devices feature is off
To emulate the apiserver behavior with optional features disabled, we need to
drop fields in the reactors. When fields get dropped, we want to be sure that
the controller does not try to updated again. The unit test covers that now by
calling ctrl.run again.

The test case for partitionable devices got copy-and-pasted without actually
updating it.

This new testing confirms that the controller needs to be updated to handle
also dropping of spec-level fields. Only dropping of fields in devices was
handled.
2025-05-05 08:30:26 +02:00
Patrick Ohly
5af026120a test: bump agnhost image to 2.54
YAML files were patched with:
   sed -i -e 's;registry.k8s.io/e2e-test-images/agnhost:2...;registry.k8s.io/e2e-test-images/agnhost:2.54;' $(git grep -l agnhost:2 test/e2e/testing-manifests/ test/fixtures/)

The test/images/kitten and test/images/nautilus base images are still on an
older agnhost because updating those is better left to the owners.
2025-05-05 08:25:20 +02:00
Kubernetes Prow Robot
893486dfd1 Merge pull request #131586 from ardaguclu/kuberc-completion
Continue alias creation when __completion is used to enable completion
2025-05-04 22:21:56 -07:00