Commit Graph

136265 Commits

Author SHA1 Message Date
Joel Speed
47d830f3cd Forbid usage of omitzero for fields marked optional 2026-03-10 15:03:08 +00:00
Kubernetes Prow Robot
f8b277b2b8 Merge pull request #137600 from pacoxu/integration-flake
for discovery integration, set client qps limit to 50 and burst to 100
2026-03-10 20:21:30 +05:30
Kubernetes Prow Robot
9d0495ec93 Merge pull request #137495 from pohly/klog-update
dependencies: klog v2.140.0
2026-03-10 20:21:21 +05:30
Kubernetes Prow Robot
519dbb1929 Merge pull request #137481 from pohly/PR224-fix-upgrade-downgrade-failures
DRA upgrade/downgrade: add some debug output for stopping commands
2026-03-10 20:21:13 +05:30
Kubernetes Prow Robot
2757a872ec Merge pull request #137523 from enj/enj/f/constrained_impersonation_latency_metrics
KEP-5284: add impersonation latency tracking
2026-03-10 19:29:36 +05:30
Kubernetes Prow Robot
ec451e29ab Merge pull request #137384 from richabanker/statusz-beta
Graduate ComponentStatusz feature gate to Beta
2026-03-10 19:29:28 +05:30
Kubernetes Prow Robot
cf3957f01a Merge pull request #137364 from Phaow/add-vgs-tests
test: add preprovisioned vgs test
2026-03-10 19:29:19 +05:30
Kubernetes Prow Robot
2f9c2462f7 Merge pull request #137332 from gavinkflam/fix-projected-token-link-file-owner-uid
bug: Fix link file ownership of projected serviceAccountToken
2026-03-10 19:29:11 +05:30
Kubernetes Prow Robot
25f4905292 Merge pull request #137596 from pohly/golangci-modernize-new
golangci-lint: disable newexpr hint
2026-03-10 18:33:18 +05:30
Kubernetes Prow Robot
4e3e58ffbe Merge pull request #136435 from Jefftree/leaderelection-client-efficiency
Update leasecandidate client to read from cache
2026-03-10 18:33:12 +05:30
Kubernetes Prow Robot
21b427c299 Merge pull request #136827 from atombrella/feature/fix_nilness_controller
Fix cases of nilness under pkg/controller.
2026-03-10 15:15:11 +05:30
Paco Xu
0cc4aaa963 for discovery integration, set client qps limit to 50 and burst to 100 2026-03-10 15:43:45 +08:00
Patrick Ohly
4f260c4399 golangci-lint: disable newexpr hint
When updating master to Go 1.26, the hint in the modernize linter got enabled
automatically. We want to be more conservative to avoid issues when new code
needs to be backported. Currently older release branches do not have Go 1.26 yet.
2026-03-10 08:03:36 +01:00
Kubernetes Prow Robot
a142b22c38 Merge pull request #136965 from yuanwang04/restart-pod-tests
Move E2E tests for RestartAllContainers
2026-03-10 08:53:11 +05:30
Antoni Zawodny
3f094dc228 Create Workload API v1alpha2 (#136976)
* Drop WorkloadRef field and introduce SchedulingGroup field in Pod API

* Introduce v1alpha2 Workload and PodGroup APIs, drop v1alpha1 Workload API

Co-authored-by: yongruilin <yongrlin@outlook.com>

* Run hack/update-codegen.sh

* Adjust kube-scheduler code and integration tests to v1alpha2 API

* Drop v1alpha1 scheduling API group and run make update

---------

Co-authored-by: yongruilin <yongrlin@outlook.com>
2026-03-10 07:59:10 +05:30
Kubernetes Prow Robot
1c91b2969f Merge pull request #136964 from yuanwang04/restart-pod-last-term-status
Fix LastTerminationStatus for RestartAllContainers
2026-03-10 06:59:17 +05:30
Kubernetes Prow Robot
a01d2e6cd4 Merge pull request #132922 from yt2985/client-fix
Fix the client-go issue of reloading trust root CAs.
2026-03-10 06:59:10 +05:30
Monis Khan
8a154c3d39 KEP-5284: add impersonation latency tracking
This change allows slow impersonation requests to be tracked via the
apiserver.latency.k8s.io/impersonation audit event annotation.

Updated tests to assert that the audit event log:

- Contains the new latency annotation
- Contains the impersonationConstraint field
- Failed impersonation attempts are observable by the response status

Signed-off-by: Monis Khan <mok@microsoft.com>
2026-03-09 19:58:31 -04:00
Kubernetes Prow Robot
1a3cc8be4d Merge pull request #137552 from kannon92/issue-137539
move extended resources to dra feature lane
2026-03-10 05:17:16 +05:30
Kubernetes Prow Robot
dbaf71515c Merge pull request #137521 from BenTheElder/document-kind-feature
document "Kind" e2e feature
2026-03-10 05:17:09 +05:30
Yuan Wang
f33a2767aa Refactor container restart policy tests to e2e/common/node
- Added validation for lastTerminationStatus
2026-03-09 23:05:05 +00:00
Kubernetes Prow Robot
e7f635506d Merge pull request #136763 from richabanker/nh-alpha
Enable native histograms gated by feature flag in apiserver
2026-03-10 04:11:09 +05:30
Richa Banker
682570580d Graduate ComponentStatusz feature gate to Beta 2026-03-09 15:00:26 -07:00
Yuan Wang
cf33d3ace3 Fix LastTerminationStatus for RestartAllContainers 2026-03-09 21:47:45 +00:00
Kubernetes Prow Robot
0fbb89c81c Merge pull request #137535 from danwinship/nodeip-e2e-cleanups
e2e cleanups related to node IPs
2026-03-10 02:59:19 +05:30
Kubernetes Prow Robot
7bec24fbb3 Merge pull request #137475 from troychiu/flaky-test-extended-resource-name-no-resource
Fix scheduler flaky test: wait for DeviceClass cache sync in dynamicresources tests
2026-03-10 02:59:11 +05:30
Kubernetes Prow Robot
5ceb6df291 Merge pull request #137574 from SergeyKanzhelev/revertImageID
revert adding PullImageResponse.image_id to CRI API
2026-03-10 01:19:20 +05:30
Kubernetes Prow Robot
3d6026d2fd Merge pull request #136178 from omerap12/promote-hpa-metrics
promote HPA metrics to beta
2026-03-10 01:19:13 +05:30
Troy Chiu
1d2165b29c Fix scheduler flaky test: wait for DeviceClass cache sync in dynamicresources tests
When DRAExtendedResource is enabled, the dynamicresources test setup
registers an event handler for DeviceClasses but was not waiting for it
to sync. This can lead to flaky tests where the cache is not fully
populated when the test starts.

This change captures the event handler registration and includes its
DoneChecker in a WaitFor call.
2026-03-09 19:24:13 +00:00
Kevin Hannon
c7ca6b9cfe Add KubeletMinVersion:1.36 label to DRA extended resource tests
This prevents the DRA extended resource tests from running against
kubelets older than 1.36 in n-x version skew jobs, avoiding failures
when deploying device plugins on downgraded kubelets.
2026-03-09 14:29:31 -04:00
Kubernetes Prow Robot
7495d96adf Merge pull request #136924 from troychiu/PriorityListStable
Promote DRAPrioritizedList to GA
2026-03-09 23:55:29 +05:30
Kubernetes Prow Robot
413d481282 Merge pull request #136655 from bitoku/partitionable-devices
Add partitionable devices upgrade/downgrade test.
2026-03-09 23:55:21 +05:30
Adam Dyess
83d42f46b4 issue: setcap build image shouldn't require a shell (#136633)
* issue: setcap build image shouldn't require a shell

* Apply review comment to rename intermediate binary

* Use plain `exec` rather than path to setcap executable.
2026-03-09 23:55:13 +05:30
Kubernetes Prow Robot
147a9ee315 Merge pull request #137231 from danwinship/lifecycle-hook-e2e
Rework container lifecycle tests to not require "privileged" pod security
2026-03-09 23:05:15 +05:30
Sergey Kanzhelev
9f73dfcc5f revert adding PullImageResponse.image_id to CRI API 2026-03-09 17:10:10 +00:00
Kubernetes Prow Robot
4a300f8e6d Merge pull request #137561 from bart0sh/PR225-DRA-fix-ExtendedResource-upgrade-downgrade-flakes
test/e2e_dra: retry pod check during upgrade/downgrade
2026-03-09 21:57:15 +05:30
Nikhil
e026a9482a Remove deprecated PodRequestsAndLimits from kubectl/pkg/util/resource (#137442)
* Remove deprecated PodRequestsAndLimits from kubectl/pkg/util/resource

The PodRequestsAndLimits function was deprecated in favor of
k8s.io/component-helpers/resource.PodRequests and PodLimits,
which also support pod-level resources. There are no remaining
consumers in kubectl.

This removal includes the unexported helpers: podRequests,
podLimits, determineContainerReqs, max, addResourceList, and
maxResourceList.

* Remove test for deleted max helper function
2026-03-09 19:53:31 +05:30
Kubernetes Prow Robot
63d25f42db Merge pull request #136945 from ardaguclu/fix-kubectl-scale
Reflect expected replica count to the output of kubectl scale
2026-03-09 19:53:22 +05:30
Kubernetes Prow Robot
4c162fe1f7 Merge pull request #136602 from guptaNswati/e2e-kep3695-podresources-test
add additional Get() tests for GA
2026-03-09 19:53:13 +05:30
Ayato Tokubi
d1ca3c6ec9 Add partitionable devices upgrade/downgrade test. 2026-03-09 14:09:36 +00:00
Kubernetes Prow Robot
889a2bb795 Merge pull request #137537 from Mujib-Ahasan/add-suggestfor
kubectl: improve command suggestions for describe and get
2026-03-09 18:57:14 +05:30
Ed Bartosh
aa731ab5c0 test/e2e_dra: retry pod check during upgrade/downgrade
During cluster upgrade and downgrade, nodes are temporarily restarted.
A pod can be reported as Running by the API server while the kubelet's
container runtime is still initializing, causing transient exec failures:

  Internal error occurred: unable to upgrade connection: pod does not exist

Wrapped b.TestPod in tCtx.Eventually so that assertion failures are treated
as temporary and retried.
2026-03-09 11:40:39 +02:00
Patrick Ohly
f692e4e8f0 DRA upgrade/downgrade: add some debug output for stopping commands
In some (all?) CI jobs the initial kubelet instance keeps running, despite
command context cancellation. Not reproducible locally, so additional output
was necessary to track down the root cause in CI runs: signal propagation via
sudo didn't work for kube-proxy and kubelet, but only for those two and only in
the CI. The fix is to change the CI jobs so that they disable the usage of
sudo.

While at it, simplify by replacing atomic.Pointer with atomic.Boole.
2026-03-09 10:40:33 +01:00
Patrick Ohly
3f997b58ed local-up-cluster.sh: support overriding or disabling sudo
When invoked with root privileges, sudo isn't necessary. Having it as
intermediary between a test executing the commands (the DRA upgrade/downgrade
tests) and the actual commands let to the kubelet not being killed.
Skipping the use of sudo helped.
2026-03-09 10:40:33 +01:00
Kubernetes Prow Robot
d0bd636b3e Merge pull request #137531 from atombrella/feature/test_rangeint
Lint: Use modernize/rangeint in `test/{e2e,e2e_node,images,soak}`
2026-03-09 14:01:18 +05:30
Kubernetes Prow Robot
090693bd79 Merge pull request #137497 from atombrella/feature/modernize_activate_forvar
Lint: Activate modernize/forvar rule in golangci-lint.
2026-03-09 14:01:11 +05:30
Kubernetes Prow Robot
bc9a038c98 Merge pull request #137494 from fuweid/fix-reset-issue
cmd/kubeadm: ignore EINVAL error during unmount
2026-03-09 08:09:58 +05:30
Kubernetes Prow Robot
1cdc42e3aa Merge pull request #136845 from darshansreenivas/external-snapshotter-e2e-tests
adding stress tests to volume Group Snapshotter
2026-03-09 06:51:58 +05:30
Darshan Murthy
0dd7cb2e3b adding stress tests to volume Group Snapshotter 2026-03-08 11:25:23 -07:00
Kevin Hannon
52fcf994ca move extended resources to dra feature lane 2026-03-08 14:20:17 -04:00