Commit Graph

134908 Commits

Author SHA1 Message Date
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
Lukasz Szaszkiewicz
6b82a823b1 client-go/clients: improve TestWatchListSemanticsSimple 2025-10-21 16:25:07 +02: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
Markus Lehtonen
49e4fe9d2b kubelet: fix kubeletconfig.cgroupDriver in configz
Reflect the correct cgroupDriver setting in the configz enpoint in case
the cgroup driver setting is received from the CRI. Moves the
initialization of the configz handler to a slightly later phase where
the CRI has been queried.
2025-10-21 11:23:22 +03:00
zhengkai
ad2832977c fix(kubelet_node_status): remove the node.Spec.Unschedulable check, after remove the register schedulable 2025-10-21 16:04:14 +08:00
pranshul gupta
dbb3941cfe Declarative validation coverage for RoleRef.Name and Subject.Name in RoleBinding# 2025-10-21 11:51:20 +05:30
Kubernetes Prow Robot
7d353c5249 Merge pull request #134738 from yongruilin/master_bindingconditions-maxitems
Add +k8s:maxItems tag to ResourceClaim BindingConditions&BindingFailureConditions
2025-10-20 17:28:36 -07:00
Aaron Prindle
2e0319181d address feedback 2025-10-21 00:27:25 +00:00
yongruilin
a817e2b923 test(validation): Mark bindingConditions and bindingFailureConditions errors as covered by declarative 2025-10-20 23:38:48 +00:00
yongruilin
ce93309f4c test(validation): Add tests for bindingFailureConditions maxItems validation 2025-10-20 23:35:09 +00:00
yongruilin
2a116e29ce feat(dra): Add maxItems tag on DeviceRequestAllocationResul.BindingFailureConditions field 2025-10-20 23:35:09 +00:00
yongruilin
2ad5127a79 test(validation): Add tests for bindingConditions maxItems validation 2025-10-20 23:35:06 +00:00
yongruilin
ab08274be1 feat(dra): Add maxItems tag on DeviceRequestAllocationResul.BindingConditions field 2025-10-20 23:34:00 +00:00
Kubernetes Prow Robot
e8a356c5f1 Merge pull request #134717 from aaron-prindle/dv-deviceRequestAllocationResult.driver-format-migration
feat(validation-gen): add +k8s:format=k8s-long-name-caseless declarative validation for DeviceRequestAllocationResult.Driver
2025-10-20 15:20:37 -07:00
Kubernetes Prow Robot
95d48cce41 Merge pull request #134735 from SergeyKanzhelev/cleanup
remove usage o ExecProbeTimeout
2025-10-20 14:26:44 -07:00
Kubernetes Prow Robot
cba95d3e42 Merge pull request #132601 from toVersus/test/more-pod-level-resources
[PodLevelResources] Add more comprehensive test cases to kubelet
2025-10-20 14:26:36 -07:00
Peter Hunt
9eb7750d7f features: bump image gc max age feature to stable
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2025-10-20 16:40:11 -04:00
Kubernetes Prow Robot
dcdd1c5f65 Merge pull request #134710 from AkihiroSuda/fix-134669
build/common.sh: fix support for Rootless Docker
2025-10-20 13:36:43 -07:00
Kubernetes Prow Robot
69b762aacd Merge pull request #134587 from bart0sh/PR204-fix-TestConnectionHandling-flake
DRA: fix TestConnectionHandling flake
2025-10-20 13:36:36 -07:00
Kubernetes Prow Robot
031f4d541a Merge pull request #133072 from AadiDev005/fix-sidecar-startup-probe
Fix startup probe worker termination for sidecar containers
2025-10-20 12:26:37 -07:00
Sergey Kanzhelev
7336f53439 remove usage o ExecProbeTimeout 2025-10-20 18:52:54 +00:00
Kubernetes Prow Robot
e4fcafba69 Merge pull request #134729 from HirazawaUi/promote-4762-to-beta
kep-4762: Promote HostnameOverride feature gate to beta stage
2025-10-20 11:28:38 -07:00
Lukasz Szaszkiewicz
da77cf84ba pkg/kubelet/watch_base_manager: wraps the LW with WatchList semantics 2025-10-20 20:05:22 +02:00
Lukasz Szaszkiewicz
f8868e9cac client-go/kubernetes_test/clientset_test: intro TestUnSupportWatchListSemantics 2025-10-20 19:59:56 +02:00
Kubernetes Prow Robot
183e01c6f2 Merge pull request #134674 from p0lyn0mial/upstream-watchlist-unsupported-wl-semantics-meta-inf
client-go/metadata/metadatainformer: wrap the LW with WatchList semantics
2025-10-20 07:34:47 -07:00
Kubernetes Prow Robot
0d685e6592 Merge pull request #134670 from p0lyn0mial/upstream-watchlist-unsupported-wl-semantics-dynamic-inf
client-go/dynamic/dynamicinformer: wrap the LW with WatchList semantics
2025-10-20 07:34:40 -07:00
tison
f3d1fd23c5 Fix comments and reformat import statements 2025-10-20 21:55:12 +08:00
Kubernetes Prow Robot
b5c4ebc898 Merge pull request #134539 from adrianmoisey/kep-5495-add-deprecation-warning-to-kube-proxy
KEP: 5495 - Add deprecation warning for ipvs
2025-10-20 06:34:43 -07:00
Kubernetes Prow Robot
0d3fc93963 Merge pull request #134548 from tengqm/cdr-fg
Stop mentioning the removed gate CSIDriverRegistry
2025-10-20 05:42:39 -07:00
HirazawaUi
ba6074dd0b Promote HostnameOverride feature gate to beta stage 2025-10-20 20:22:39 +08:00
Lukasz Szaszkiewicz
8f2d7581eb client-go/dynamic/dynamicinformer: wrap the LW with WatchList semantics 2025-10-20 13:33:59 +02:00
Akihiro Suda
f6e2ea7b96 build/common.sh: fix support for Rootless Docker
In the case of Rootless mode, `docker run` should not be
invoked with `--user`.

Fix issue 134669

Regression in PR 134510

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-10-20 20:21:05 +09:00
Kubernetes Prow Robot
e2453c503e Merge pull request #134715 from neolit123/1.35-avoid-panic-in-cluster-info
kubeadm: add missing cluster-info context validation
2025-10-20 03:58:09 -07:00