Commit Graph

133326 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
cc74055f3f Merge pull request #134745 from swatisehgal/device-plugin-e2e-flakiness-1
node: e2e: Ensure device plugin pod is Running/Ready before registration
2025-10-22 11:54:47 -07:00
Kubernetes Prow Robot
45e05c0f97 Merge pull request #134706 from onlineth/fix-powershell-completition-docs
docs: PowerShell completion example: dot-source script and quote path
2025-10-22 11:54:40 -07:00
Kubernetes Prow Robot
4695bb6c19 Merge pull request #134779 from joshjms/bump-etcd-v3.5.24
etcd: Bump supported etcd version to v3.5.24 for release v1.32, v1.33, and v1.34
2025-10-22 10:32:48 -07:00
Kubernetes Prow Robot
97dd75989c Merge pull request #134161 from skitt/disable-gocritic
Disable unwanted gocritic checks instead of filtering them
2025-10-22 10:32:41 -07:00
Kubernetes Prow Robot
e1b996a4d3 Merge pull request #134754 from jpbetz/deflake-param-ref
Use fast policy refresh interval for TestParamRef
v1.35.0-alpha.2
2025-10-22 09:00:48 -07:00
Kubernetes Prow Robot
501b768370 Merge pull request #134545 from novahe/fix-missing-apiversion
Fix missing involvedObject.apiVersion in event
2025-10-22 09:00:40 -07:00
joshjms
3fbd1a1787 etcd: bump etcd to v3.5.24 for k8s v1.32, v1.33, v1.34
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-22 22:38:57 +08:00
Kubernetes Prow Robot
497ed03ae7 Merge pull request #134525 from omerap12/hpa-monitor-test-flake
Remove flaky HPA deletion assertion in TestMultipleHPAs
2025-10-22 06:36:41 -07:00
Stephen Kitt
5bfc9aba9f Disable unwanted gocritic checks instead of filtering them
The golangci-lint docs indicate that, for gocritic, disabled-checks
and enabled-checks can't be combined. That is however not accurate;
enabled-checks adds checks, disabled-checks disables them, in that
order. If disable-all isn't set, then the setup starts with the checks
enabled by default, adds any additional checks specified in
enabled-checks, and removes checks specified in disabled-checks.

This means that instead of filtering unwanted checks, we can disable
them entirely. This makes the set of disabled checks easier to read,
and perhaps easier to clean up in future.

For singleCaseSwitch and wrapperFunc, we only want to ignore specific
instances, so this is still done by filtering.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-10-22 15:00:53 +02:00
novahe
9d48e7d2d4 fix missing involvedObject.apiVersion in event 2025-10-22 20:13:36 +08:00
Kubernetes Prow Robot
34f2a0f6cc Merge pull request #134775 from neolit123/1.35-adjust-supported-etcd-versions-by-kubeadm
kubeadm: adjust the etcd version map for release 1.35
2025-10-22 05:10:40 -07:00
Kubernetes Prow Robot
e4d85d1c13 Merge pull request #134766 from tallclair/dead-code
Delete dead code in pkg/kubelet/lifecycle
2025-10-22 03:40:39 -07:00
Lubomir I. Ivanov
38373335cd kubeadm: adjust the etcd version map for release 1.35
Remove 1.31, add 1.35.
Also, add a note that there are a couple of variables
that must be updated as well.
2025-10-22 12:28:19 +02:00
Kubernetes Prow Robot
2679d3a7c6 Merge pull request #133706 from sunya-ch/fix-133705
Fix DRAConsumableCapacity to schedule more than one devices
2025-10-22 02:42:40 -07:00
Sunyanan Choochotkaew
81e3dbdc33 Fix DRAConsumableCapacity to schedule more than one devices
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-10-22 17:52:01 +09:00
Kubernetes Prow Robot
0ba43e9f5e Merge pull request #134739 from shyamjvs/epslice-controller-fix
Introduce pod queuing in endpoint/slice controllers
2025-10-22 00:44:39 -07:00
Tim Allclair
8fc9921294 Delete dead code 2025-10-21 20:49:42 -07:00
Kubernetes Prow Robot
d8a53105dd Merge pull request #134631 from yuanwang04/restart-rules
Promote ContainerRestartRules to beta
2025-10-21 19:44:44 -07:00
Kubernetes Prow Robot
5105b1d791 Merge pull request #134577 from seans3/synthetic-create
Implements synthetic create authz permission check for exec, attach, and portforward
2025-10-21 19:44:37 -07:00
Kubernetes Prow Robot
51b91ff59b Merge pull request #134758 from thockin/lint-deprecatedComment-is-already-on
golangci-lint: no need to enable deprecatedComment
2025-10-21 17:52:41 -07:00
Shyam Jeedigunta
8346bed9e7 Introduce pod queuing in endpoint/slice controllers 2025-10-21 17:08:01 -07:00
Yuan Wang
f2a4ffd5b8 Promote ContainerRestartRules to beta
Fix prober not running properly with containerRestartRules and add unit test coverage
2025-10-21 23:58:39 +00:00
Kubernetes Prow Robot
8b9498b07d Merge pull request #134759 from jpbetz/patch-11
Add OWNERS for controller/storageversionmigrator
2025-10-21 15:54:45 -07:00
Kubernetes Prow Robot
6c8a609fd0 Merge pull request #134555 from aaron-prindle/dv-enum-migration
feat: add +k8s:enum declarative validation to ResourceClaim DeviceTolerationOperator and DeviceTaintEffect
2025-10-21 15:54:37 -07:00
Kubernetes Prow Robot
fb7774f22a Merge pull request #134685 from scaliby/remove-deprecated-pdb-api
Drop support for policyv1beta1.PodDisruptionBudget in kubectl
2025-10-21 14:08:47 -07:00
Kubernetes Prow Robot
2db2d7b1b5 Merge pull request #134463 from cvan20191/fix-resizepolicy-ephemeral-container-docs
Fix resizepolicy ephemeral container docs
2025-10-21 14:08:39 -07:00
Joe Betz
d54f3b56ed Add OWNERS for controller/storageversionmigrator 2025-10-21 17:06:53 -04:00
Sean Sullivan
413c34f319 Added feature gate and tests 2025-10-21 20:31:24 +00:00
Kubernetes Prow Robot
af9fb799ef Merge pull request #134747 from jpbetz/mitigate-dv-fuzz-test-failures
Reduce fuzz test runs by 10x to avoid timeouts
2025-10-21 13:16:45 -07:00
Kubernetes Prow Robot
de07331f0f Merge pull request #134358 from lalitc375/extended-resource-name
feat: Add k8s-extended-resource-name format and validator for DeviceClass
2025-10-21 13:16:38 -07:00
Tim Hockin
b1c85ef2fe golangci-lint: no need to enable deprecatedComment 2025-10-21 12:47:38 -07:00
Kubernetes Prow Robot
822ff305ec Merge pull request #134755 from neolit123/1.35-add-missing-statefullset-fuzzer-defaulting
apis/apps/fuzzer: add missing MaxUnavailable defaulting
2025-10-21 11:44:38 -07:00
Jordan Liggitt
339dba881f Add synthetic create authz check to pods/exec, pods/attach, pods/portforward 2025-10-21 18:26:06 +00:00
Lalit Chauhan
229b33c440 Address feedbacks 2025-10-21 18:09:10 +00:00
Lalit Chauhan
95c42b9951 Fix rebase issues 2025-10-21 18:09:10 +00:00
Lalit Chauhan
cf96486aed Add format validator for DeviceClass.ExtendedResourceName 2025-10-21 18:09:10 +00:00
Lalit Chauhan
adbea00238 Add new format k8s-extended-resource-name 2025-10-21 18:09:09 +00:00
Lubomir I. Ivanov
3968f7ec5d apis/apps/fuzzer: add missing MaxUnavailable defaulting
Include defaulting in the StatefulSet fuzzer for the field
RollingUpdate.MaxUnavailable, otherwise when the feature gate
MaxUnavailableStatefulSet is enabled it changes the default
in SetDefaults_StatefulSet from /pkg/apis/apps/v1/defaults.go.

That can cause errors such as:
  --- FAIL: TestRoundTripTypes (1.05s)

...

  - MaxUnavailable: nil,
  + MaxUnavailable: s"1",
2025-10-21 19:03:57 +02:00
Joe Betz
efeda8b0fd Use fast policy refresh interval for TestParamRef 2025-10-21 12:24:22 -04:00
Kubernetes Prow Robot
a4f14e57f4 Merge pull request #132243 from xigang/real_fifo
Add RealFIFOOptions struct to provide structured configuration for RealFIFO
2025-10-21 09:18:38 -07:00
Konrad Kaim
579579138c reformat 2025-10-21 15:58:12 +00:00
Christian Van
b95439f6d1 docs: EphemeralContainerCommon.ResizePolicy: This field cannot be set on ephemeral containers 2025-10-21 11:49:17 -04:00
Kubernetes Prow Robot
0eb5db7dbe Merge pull request #134731 from tisonkun/patch-1
Fix comments and reformat import statements
2025-10-21 08:20:41 -07:00
xigang
26bbea8c07 Add RealFIFOOptions struct to provide structured configuration for RealFIFO
Signed-off-by: xigang <wangxigang2014@gmail.com>
2025-10-21 22:42:45 +08:00
Kubernetes Prow Robot
350481c474 Merge pull request #134714 from p0lyn0mial/upstream-watchlist-unsupported-wl-semantics-typed-inf
client-go/typed/informers: wrap the LW with WatchList semantics
2025-10-21 07:30:41 -07:00
Joe Betz
bd6fb65f83 Reduce fuzz test runs by 10x to avoid timeouts 2025-10-21 10:13:04 -04:00
Swati Sehgal
13511897bd node: e2e: extend wait for resources exported by sample device plugin
In the device plugin node reboot e2e test, the test previously waited a
short period for the resources exported by the sample device plugin to
appear on the local node. On slower test nodes, the plugin may take
longer to register, causing flakes where the expected devices are not
yet available.

This change increases the polling duration to 2 minutes, ensuring the test
waits long enough for the expected device capacity and allocatable resources
to appear, improving test stability.

This commit also updates the assertion message to be more explicit making
failures clearer and improving test reliability.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-10-21 13:59:17 +01:00
Kubernetes Prow Robot
3eeb838aba Merge pull request #132927 from pohly/dra-api-strategy-todo
DRA API: implement ResourceClaim strategy for DRADeviceTaints
2025-10-21 05:54:41 -07:00
Swati Sehgal
c2e1fdeb7a node: e2e: Ensure device plugin pod is Running/Ready before registration
In the device plugin node reboot e2e test, the registration trigger
(control file deletion) was being executed immediately after pod creation.
This could create a race condition: the device plugin container might not
be fully running, causing the test to flake when devices were not reported
as available on the node.

This change explicitly waits for the sample device plugin pod to reach the
Running/Ready state before deleting the registration control file. This
ensures that the device plugin is ready to register its devices with the
kubelet, eliminating a possible source of test flakiness.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-10-21 13:41:30 +01:00
Patrick Ohly
da80b554a7 DRA API: unify dropped field logic for ResourceClaim and ResourceClaimTemplate
The spec is the same in both, so those fields are now handled by common
code. For ResourceClaim spec updates, the "in use" check now only considers
the spec.

Theoretically some features could be in use in an old ResourceClaim status
and not in use in the spec. This can only occur in a spec update, which is
currently prevented because the entire spec is immutable. Even if it was
allowed, preventing adding disabled fields to the spec is the right thing to
do regardless of what may have ended up in the status earlier.
2025-10-21 12:22:52 +02:00