Commit Graph

134908 Commits

Author SHA1 Message Date
Jordan Liggitt
5fb0e16be6 Drop runtime use of gogo packages 2025-10-08 14:28:39 -04:00
Kubernetes Prow Robot
ddc2c5d192 Merge pull request #134481 from soltysh/chunk_size_drop_beta
Update --chunk-size flag, dropping the beta information
2025-10-08 10:22:59 -07:00
Vikas
caea56f384 Fix controller setup in storage version unit testcases 2025-10-08 22:12:42 +05:30
Maciej Szulik
cf099f4fc9 Update --chunk-size flag, dropping the beta information
The --chunk-size flag has been around since October 2017
(i4780ad0297)
so it's about time we make it official.

Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-10-08 18:15:36 +02:00
Kubernetes Prow Robot
10b97337f7 Merge pull request #131411 from ballista01/apiserver-requestheader-security-fix
Fix overlapping client CA and requestheader CA validation with proper certificate checking
2025-10-08 09:11:00 -07:00
upodroid
8dc51e11ef improve kubeup env parameters 2025-10-08 18:42:20 +03:00
Kubernetes Release Robot
67c29eaafc CHANGELOG: Update directory for v1.35.0-alpha.1 release 2025-10-08 14:22:30 +00:00
Konstantinos Angelopoulos
b8670cbc31 reduce dependencies to apiextension objects 2025-10-08 16:07:48 +02:00
Kubernetes Prow Robot
acaa1e362d Merge pull request #133410 from richabanker/delete-label-values
Wrapper for prom client's DeleteLabelValues()
2025-10-08 07:01:02 -07:00
Kubernetes Prow Robot
a20a9a4113 Merge pull request #133599 from eltrufas/block-transient
Mark API server errors as transient in csi raw block driver
2025-10-08 05:29:02 -07:00
Patrick Ohly
6f51446802 DRA device taints: fix toleration of NoExecute
As usual, consumers of an allocated claim react to the information stored in
the status. In this case, the scheduler did not copy the tolerations into the
status and as a result a pod with a toleration for NoExecute got scheduled and
then immediately evicted.

Some additional logging gets added to make the handling easier to track in the
eviction controller. Example YAMLs allow reproducing the use case manually.
2025-10-08 13:13:47 +02:00
Zeqian Meng
25653e7bfc Update to Debian Buster for npb-ep image 2025-10-08 11:31:53 +02:00
Kubernetes Prow Robot
2e2c63ef73 Merge pull request #134449 from aditigupta96/contextual-api-approval-controller
refactor(apiextensions-apiserver): Make APIApproval controller context-aware
v1.35.0-alpha.1
2025-10-08 01:43:01 -07:00
Patrick Ohly
9702a2dca2 E2E framework: enable data race detection only if needed
When building the test binary without race detection, we don't
need the post-processing of the JUnit file because it cannot
contain data race reports. This can be done via build tags.
2025-10-08 08:45:21 +02:00
Mayank Agrawal
5e216ae34d Replace HandleCrash and HandleError calls to use context-aware alternatives 2025-10-07 22:40:10 -07:00
Aditi Gupta
7eb7894dad refactor(apiextensions-apiserver): Make APIApproval controller context-aware 2025-10-07 21:30:26 -07:00
Rafael Castillo
f99d0e9759 Mark API server errors as transient in csi raw block driver
Certain failures during SetupDevice and MapPodDevice are not treated as
transient in the csi raw block plugin implementation, while they are in
the file mode plugin. This can lead to certain failures causing volumes
to be marked as unmounted incorrectly.

This patch brings the block plugin up to parity with the fs one by
marking the equivalent calls as transient. This mostly covers API server
and some csi driver calls.
2025-10-08 02:39:01 +00:00
Kubernetes Prow Robot
2cdcccbc99 Merge pull request #134403 from macsko/add-sig-scheduling-leads-to-feature-approvers
Update SIG Scheduling leads in feature-approvers
2025-10-07 19:17:06 -07:00
Kubernetes Prow Robot
7dcc66e8b6 Merge pull request #133922 from lmktfy/20250907_docs_owners_aliases
Fix OWNERS_ALIASES entry for SIG Docs
2025-10-07 19:17:00 -07:00
Aaron Prindle
2fa703bfb6 address feedback 2025-10-07 22:49:14 +00:00
Aaron Prindle
b4fa5794ef generate 2025-10-07 22:49:14 +00:00
Aaron Prindle
1c0f0add8a feat: add +k8s:immutable tag to ResourceClaim.spec and associated tests 2025-10-07 22:49:11 +00:00
Aaron Prindle
dfd7b230b4 feat: make it so that all ShortCircuit validators are run for short circuiting check 2025-10-07 22:47:42 +00:00
Aaron Prindle
10473da4f7 chore: add +k8s:immutable tag implementation and test 2025-10-07 22:47:42 +00:00
Kubernetes Prow Robot
73bcd2b0e4 Merge pull request #134333 from lalitc375/reserved-for
Add listType=map and listMapekey=uid for ResourceClaimStatus.ReservedFor
2025-10-07 15:44:59 -07:00
Dan Winship
c189e9d82f Split Endpoints controller and EndpointSlice controller conformance tests 2025-10-07 17:32:53 -04:00
Dan Winship
7b7145a594 Update kubernetes.default endpoints test a bit
Inline the endpointSlicesEqual() method into the test, since despite
its generic-sounding name, it made assumptions specific to this test.

Also, port to generic sets.
2025-10-07 17:32:36 -04:00
Dan Winship
e627b3b2bf Move some network conformance tests around.
Move the Endpoints API test from endpointslice.go to endpoints.go

Move the "kubernetes.default Service exists" and "kubernetes.default
endpoints exist" tests to apiserver.go, since (unlike the rest of
service.go/endpointslice.go) they aren't testing the behavior of the
Service/EndpointSlice/Endpoints APIs.

(No code changes, but fixed a typo in a comment.)
2025-10-07 17:32:34 -04:00
Dan Winship
d46f15bd12 Fix some linter errors before splitting out code
(In particular, fix the wait.PollImmediate calls even in the code
that's staying here, not just the code that's moving.)
2025-10-07 17:32:32 -04:00
Dan Winship
07959fd168 Remove redundant test of "empty EndpointSlice for Service with no Pods"
This was being checked by two different conformance tests.
2025-10-07 17:32:27 -04:00
Dan Winship
ff83235f35 Fix up EndpointSlice conformance test descriptions 2025-10-07 17:32:25 -04:00
Kubernetes Prow Robot
62e9524c85 Merge pull request #134412 from aaron-prindle/resourceclaim-strategy-cleanup
fix: remove unnecessary ValidateResourceClaim call from resourclaim ValidateUpdate
2025-10-07 14:24:59 -07:00
Kubernetes Prow Robot
7891d35ccf Merge pull request #134399 from aojea/slice_headless
add integration test for endpoint and endpointslice controller labels propagation and headless services
2025-10-07 13:35:09 -07:00
Kubernetes Prow Robot
251b3ad820 Merge pull request #134284 from aaron-prindle/fix-resourceclaim-oneof-logic
fix: update pkg/apis/resource validateDeviceRequest to short-circuit on the oneOf check
2025-10-07 13:35:01 -07:00
Nour
dd8d0e65d4 Dedicated package for scheduler interaction with DRA structured types 2025-10-07 23:14:03 +03:00
Lalit Chauhan
1fb8674387 Add listType=map and listMapekey=uid for ResourceClaimStatus.ReservedFor 2025-10-07 20:07:48 +00:00
Kubernetes Prow Robot
3a53784ecb Merge pull request #133876 from kei01234kei/make_v1_version_fist_priotiry_inresource
make v1 resource version first priority in resource
2025-10-07 08:55:02 -07:00
Hemant Kumar
01264d3970 With new changes we will also have a VolumeModifying condition
Fix e2e tests to take that into account
2025-10-07 10:31:29 -04:00
Baptiste Girard-Carrabin
cb01a28df4 Ensure CSINode is owned by node when installing CSI drivers
CSI drivers can be installed while the node is still initializing since the daemonsets usually tolerate all taints. As a result, we also need to make sure the outdated CSINode object has been removed before installing a new CSI driver.
2025-10-07 11:00:55 +02:00
Patrick Ohly
13cd40d718 E2E volume: fix restarting of watch
Presumably
https://github.com/kubernetes/kubernetes/pull/127260/files#r2405215911
was meant to continue polling after a watch was closed by the apiserver.
This is something that can happen under load.

However, returning the error has the effect that polling stops.
This can be seen as test failures when testing with race
detection enabled:

    persistent_volumes_test.go:1101: Failed to wait for all claims to be bound: watch closed
2025-10-07 10:22:35 +02:00
Baptiste Girard-Carrabin
328f9da729 Add current and old nodeIDs in log messages
Refactor the nodeOwnsCSINode function to also outputs the current owner ID so that it can be logged afterwards.
2025-10-07 10:03:13 +02:00
Kubernetes Prow Robot
ad82c3d39f Merge pull request #134391 from lalitc375/k8s-uuid
Add DV for uids in resourceClaim Status
2025-10-06 15:42:59 -07:00
Aaron Prindle
111fc04e1d fix: update pkg/apis/resource validateDeviceRequest to short-circuit on the oneOf check 2025-10-06 22:15:53 +00:00
Aaron Prindle
e62523e1f5 address feedback 2025-10-06 22:10:33 +00:00
Aaron Prindle
fd12fc00c9 fix: remove unnecessary ValidateResourceClaim call from resourclaim ValidateUpdate 2025-10-06 22:10:30 +00:00
Kubernetes Prow Robot
9343d04120 Merge pull request #134408 from yongruilin/vg_resourceclaim
feat(validation-gen): add path normalization options & migration k8s:maxItem on ResourceClaimSpec fields
2025-10-06 14:53:06 -07:00
Kubernetes Prow Robot
fd1ea25e9a Merge pull request #134389 from thockin/takeover-130780
Add resourcequota WarningsOnCreate when request > limits
2025-10-06 14:52:58 -07:00
Lalit Chauhan
4ca286819a Add DV for uids in resourceClaim Status 2025-10-06 20:54:00 +00:00
Kubernetes Prow Robot
439a3c4f35 Merge pull request #134074 from rutigs/master
Record SyncTerminatingPod error and set error status on span when non-nil err returned
2025-10-06 12:12:59 -07:00
Wenxue Zhao
d9fb647515 fix overlapping client CA and requestheader CA validation with proper certificate checking
fix error message

fix lint
2025-10-06 14:52:59 -04:00