Commit graph

53873 commits

Author SHA1 Message Date
Kubernetes Prow Robot
db63a581ca
Merge pull request #134366 from tallclair/feature-gates-test
Set multiple feature gates simultaneously in test
2025-10-13 13:11:33 -07:00
Kubernetes Prow Robot
260ea59ff5
Merge pull request #134293 from bart0sh/PR203-migrate-devicemanager-to-contextual-logging
Migrate device manager to contextual logging
2025-10-13 07:23:44 -07:00
Kubernetes Prow Robot
b30d138603
Merge pull request #134465 from lalitc375/k8s-label-key
Add k8s-label-key format for toleration key
2025-10-10 13:57:00 -07:00
Kubernetes Prow Robot
1bafa63caf
Merge pull request #134526 from PersistentJZH/fix/fix-cron-parse-panic
fix panic in cron.ParseStandard
2025-10-10 12:23:00 -07:00
Lalit Chauhan
8b5cf608fd Add k8s-label-key format for toleration key 2025-10-10 16:25:48 +00:00
Kubernetes Prow Robot
5b3bbd89e6
Merge pull request #134144 from swagatbora90/fix-kubeletnull-crash
change klog to log volume name instead of entire spec in GetDeviceMountPath
2025-10-10 09:21:00 -07:00
PersistentJZH
b738e8c3ca fix panic in cron.ParseStandard
Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com>

fix

optimize logic

fix unit test
2025-10-10 23:51:05 +08:00
Kubernetes Prow Robot
ee1ff4866e
Merge pull request #134479 from pohly/dra-device-taint-no-execute-toleration-fix
DRA device taints: fix toleration of NoExecute
2025-10-10 00:47:00 -07:00
Kubernetes Prow Robot
28c655e79b
Merge pull request #134286 from aaron-prindle/dv-format-long-name-caseless-tag-migration
feat: migrate k8s:format=k8s-long-name-caseless validation on OpaqueDeviceConfiguration.Driver to declarative validation
2025-10-08 19:16:59 -07:00
Kubernetes Prow Robot
3e4b5e48f2
Merge pull request #134193 from hoskeri/fix-ipv6allocator
Fix IPv6 allocator for /64 CIDRs
2025-10-08 18:03:01 -07:00
Aaron Prindle
8e4cd1f3b6 address feedback 2025-10-08 20:45:07 +00:00
Aaron Prindle
d77cb206a0 feat: migrate k8s:format=k8s-long-name-caseless validation on OpaqueDeviceConfiguration.Driver to declarative validation 2025-10-08 20:45:01 +00:00
Kubernetes Prow Robot
96660d0441
Merge pull request #134367 from aaron-prindle/dv-resource-claim-spec-immutable
add +k8s:immutable tag to ResourceClaim.spec and associated tests
2025-10-08 12:57:08 -07: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
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
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
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
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
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
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
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
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
yongruilin
6965075ebd Address feedback: simpliy errormatcher instantiation 2025-10-06 17:54:03 +00:00
yongruilin
6138a68f4e fix(validation): Mark covered errors in TestValidateClaim for better clarity 2025-10-06 17:54:03 +00:00
yongruilin
763c01ef68 feat(validation): Add normalization rules for ResourceClaim validation 2025-10-06 17:54:01 +00:00
yongruilin
ae8ea8994e feat(validation): Enhance validation tests with normalization rules support 2025-10-04 03:28:52 +00:00
yongruilin
7bbc7228ac run update-codegen.sh 2025-10-04 03:28:50 +00:00
yongruilin
7366031541 feat(dra): Add maxItems validation tags for ResourceClaim fields
This commit adds +k8s:maxItems tags to several slice fields within the ResourceClaimSpec across versions v1, v1beta1, and v1beta2.

The following fields under ResourceClaimSpec are now validated for their maximum number of items:
 - DeviceRequest.FirstAvailable
 - ExactDeviceRequest.Selectors
 - DeviceSubRequest.Selectors
 - DeviceConstraint.Requests
 - DeviceClaimConfiguration.Requests
2025-10-04 03:26:24 +00:00
Sergey Kanzhelev
5b7e96219f remove cpuSharesToCPUWeight that is not used any longer 2025-10-03 22:50:07 +00:00
Kubernetes Prow Robot
ab7e45228f
Merge pull request #134400 from macsko/disable_async_api_calls_feature_gate
Disable SchedulerAsyncAPICalls feature gate due to a known regression in v1.34
2025-10-03 14:22:58 -07:00
Kubernetes Prow Robot
8c6fa3bd2f
Merge pull request #134398 from humblec/metrics-csi
correct metrics function comments
2025-10-03 13:32:56 -07:00
Tim Hockin
8443187688
Warn when quota request > limit 2025-10-03 10:58:35 -07:00
rongfu.leng
79678dd393
feat: add resourcequota WarningsOnCreate request less than limits
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
2025-10-03 10:58:34 -07:00
Kubernetes Prow Robot
9624c3dcdc
Merge pull request #134360 from ajaysundark/fix-node-swap-metric-time-stamp
Fix: Correct timestamp for node swap metrics
2025-10-03 09:34:58 -07:00
Maciej Skoczeń
1137d51b35 Disable SchedulerAsyncAPICalls feature gate due to a known regression 2025-10-03 13:02:02 +00:00
Kubernetes Prow Robot
aa42060beb
Merge pull request #134387 from adrianmoisey/attempt-at-fixing-flake
Use a dedicated delete channel in HPA test
2025-10-03 04:52:57 -07:00
Humble Devassy Chirammal
2ddc955558 correct metrics function comments
Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
2025-10-03 17:11:54 +05:30