Commit Graph

53989 Commits

Author SHA1 Message Date
Lalit Chauhan
2061ec2be9 Enable DV for resourceslice 2025-10-22 22:48:25 +00: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
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
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
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
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
Christian Van
b95439f6d1 docs: EphemeralContainerCommon.ResizePolicy: This field cannot be set on ephemeral containers 2025-10-21 11:49:17 -04:00
Joe Betz
bd6fb65f83 Reduce fuzz test runs by 10x to avoid timeouts 2025-10-21 10:13:04 -04: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
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
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
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
HirazawaUi
ba6074dd0b Promote HostnameOverride feature gate to beta stage 2025-10-20 20:22:39 +08:00
Aaron Prindle
47e9686b4d feat(validation-gen): add +k8s:format=k8s-long-name-caseless declarative validation for DeviceRequestAllocationResult.Driver 2025-10-19 23:55:16 +00:00
Aaron Prindle
0cf9102763 feat: add +k8s:enum declarative validation to ResourceClaim DeviceTolerationOperator and DeviceTaintEffect 2025-10-19 22:36:15 +00:00
Kubernetes Prow Robot
76f5a1c8c2 Merge pull request #134635 from vivzbansal/execprobe1
Locked the (generally available) feature gate `ExecProbeTimeout` to true.
2025-10-17 18:06:40 -07:00
Lalit Chauhan
2072acb3ba Add listType=map and listMapekeys on ResourceClaimStatus.Devices 2025-10-17 22:48:52 +00:00
Kubernetes Prow Robot
2158dd67e9 Merge pull request #134630 from lalitc375/k8s-enum
feat: add enum validation for AllocationConfigSource
2025-10-17 15:40:51 -07:00
Kubernetes Prow Robot
9dcfb3d04b Merge pull request #133373 from AkihiroSuda/carry-133278
[Carry 133278] kubelet: Don't ignore idsPerPod config #133278
2025-10-17 15:40:43 -07:00
Lalit Chauhan
1f803aa314 Use DV for long name validation of spec.devices.requests[%d].firstAvailable[%d].deviceClassName 2025-10-17 19:15:34 +00:00
Kubernetes Prow Robot
4bb072512e Merge pull request #134446 from aaron-prindle/dv-device-allocation-mode-enum-migration
feat: add +k8s:enum declarative validation to ResourceClaim DeviceAllocationMode
2025-10-17 11:54:41 -07:00
Vivek Bansal
af17392630 Setting the default feature-gate ExecProbeTimeout value to TRUE 2025-10-17 18:38:05 +00:00
Aaron Prindle
2fd727bf92 address feedback - comment on declarative defaulting gap w/ DV 2025-10-16 22:47:22 +00:00
Kubernetes Prow Robot
aefb388c7d Merge pull request #134654 from liggitt/unexport-orphan
Include relevant dimensions in pod controller indexing
2025-10-16 13:02:40 -07:00
Kubernetes Prow Robot
7af016ec31 Merge pull request #133153 from helayoty/helayoty/enable-beta-maxUnavailable
Update MaxUnavailableStatefulSet feature gate to beta
2025-10-16 12:04:50 -07:00
Kubernetes Prow Robot
50e3cb3f58 Merge pull request #133128 from jm-franc/set-gate-to-beta
Promote HPAConfigurableTolerance gate to beta
2025-10-16 12:04:43 -07:00
Kubernetes Prow Robot
e066b3850f Merge pull request #133912 from tallclair/kube-feature-deps
Mark all Kube feature dependencies, and require dependencies to be declared for all features
2025-10-16 11:14:43 -07:00
Aaron Prindle
9d83f71cde fix validation_test.go to use path normalization 2025-10-16 17:40:19 +00:00
Aaron Prindle
a77f845141 address feedback - remove origin for enum as NotSupported handles this 2025-10-16 17:40:19 +00:00
Aaron Prindle
6e95412c43 address nit 2025-10-16 17:40:19 +00:00