4433 Commits
Author SHA1 Message Date
kubernetes-prow[bot] ce80978422 Merge pull request #143778 from tallclair/remove_inplace_pod_scaling
Remove InPlacePodVerticalScaling feature gate
2026-11-05 23:15:13 +00:00
kubernetes-prow[bot] 5897b3ac79 Merge pull request #139079 from carlory/remove-fg-RecoverVolumeExpansionFailure
Remove feature gate RecoverVolumeExpansionFailure
2026-11-05 21:49:14 +00:00
Tim Allclair be90f569f3 Remove InPlacePodVerticalScaling feature gate
The InPlacePodVerticalScaling feature gate has been GA and locked to
true since v1.35, and is now removed. Code paths that handled the
disabled state are removed, along with gate overrides in tests.

The node version skew check in pod resize validation is also removed:
the oldest kubelet supported by a v1.38 apiserver is v1.35, where the
feature is always enabled.
2026-11-05 19:26:45 +00:00
kubernetes-prow[bot] 0d89050dd0 Merge pull request #143810 from benluddy/tabular-serializer-benchmark
KEP-4222: Add table-based Serializer benchmarks.
2026-11-05 16:57:38 +00:00
kubernetes-prow[bot] 0cd31d52e5 Merge pull request #142467 from gavinkflam/5936-move-to-beta
KEP-5936: Beta support of atomic write volume user fields behind a feature gate AtomicWriteVolumeUserFields
2026-11-05 03:43:12 +00:00
Ben Luddy 5e92c6107c Add table-based Serializer benchmarks.
The idea is to make apples-to-apples comparison easier by having one benchmark implementation each
for Encode and Decode, and parameterizing with a runtime.Serializer and a []runtime.Object (to vary
the concrete type and contents).
2026-11-04 17:15:13 -05:00
Sascha Grunert 44dfc921ce Add the OCI seccomp profile type behind SecurityProfileOCI
Add seccompProfile.type OCI with the oci field (a digest-pinned ref and an
optional RuntimeDefault or Localhost baseProfile) and the alpha
SecurityProfileOCI feature gate, as described in KEP-6061. The oci field
is validated declaratively, with custom validators for the reference and
the base profile path; the gate check and the rule that privileged
containers cannot use an OCI profile stay handwritten. While the gate is
disabled the type is rejected unless the old object already uses it.
PodSecurity baseline and restricted keep rejecting OCI. The
SecurityProfileOCI node declared feature keeps pods with OCI profiles on
nodes whose kubelet has the gate enabled and a runtime that supports OCI
seccomp profiles. The field is named ref instead of the KEP's reference,
following the kube-api-linter naming convention for new fields.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2026-11-04 07:21:35 +01:00
Gavin Lam b0a0e85542 test: Add a test case where feature gate is disabled and oldPod already uses the fields
Signed-off-by: Gavin Lam <gavin.oss@tutamail.com>
2026-11-04 01:15:28 -05:00
Gavin Lam d68cc1e27b test: Refactor TestDropAtomicWriteVolumeUserFields to improve readability
Signed-off-by: Gavin Lam <gavin.oss@tutamail.com>
2026-11-04 01:14:16 -05:00
Gavin Lam 53c49ef436 test: Fix TestDropAtomicWriteVolumeUserFields reusing the same slice across test cases
Signed-off-by: Gavin Lam <gavin.oss@tutamail.com>
2026-11-04 00:24:41 -05:00
carlory 6b06590525 Remove feature gate RecoverVolumeExpansionFailure 2026-11-01 14:03:41 +08:00
Heba Elayoty f2dba1341b Update imports to use WAS building blocks from scheduling/v1
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
2026-10-31 16:47:27 +00:00
kubernetes-prow[bot] 25c56b44b1 Merge pull request #142093 from everpeace/kep-3619-remove-feature-gate
KEP-3619:  Remove locked GA SupplementalGroupsPolicy feature gate
2026-10-28 16:51:37 +00:00
Antoni Zawodny b5bc747913 Promote CompositePodGroup API to beta 2026-10-28 08:11:40 +01:00
Shingo Omura 9f9344d46f KEP-3619: Remove SupplementalGroupsPolicy feature gate
The feature went GA and was locked to default in v1.35, so it can be
removed in v1.38.
2026-10-25 15:10:52 +09:00
Jordan Liggitt fbc5386508 Cleanup inactive approvers 2026-10-22 13:34:00 -04:00
Lucas Käldström 71b4ddbb6e Add AuthorizationConditionsReview API 2026-10-09 19:41:19 +03:00
Lucas Käldström 6a16cacba1 Add spec.authorizationOptions and status.conditionalDecision to SubjectAccessReview types
Signed-off-by: Lucas Käldström <luxask@amazon.fi>
2026-10-09 19:37:57 +03:00
Lucas KäldströmandJordan Liggitt 9327ba3797 Ignore validation errors from other API versions without specific fields
Co-authored-by: Jordan Liggitt <liggitt@google.com>
2026-10-08 19:54:21 +03:00
Patrick Ohly c13f052503 ktesting: move to staging
This moves the existing code unchanged, updates package and module name, and
updates all import statements.
2026-10-07 11:08:22 +02:00
Michael Aspinwall ccd2ca6f45 authentication: enable instant cast for TokenRequest
Align internal TokenRequestSpec.ExpirationSeconds with staging v1 (*int64) and mark UserInfo conversions copy-only so conversion-gen emits direct unsafe.Pointer casts.
2026-10-06 17:11:36 +00:00
Michael Aspinwall 2673d42ba7 pkg/api/testing: add TestMemoryIdenticalConversion across all API types 2026-10-05 23:45:25 +00:00
Davanum Srinivas 53cbfe3e4b apimachinery: drop the kube-openapi import from runtime/scheme.go
The one use was a type assertion; runtime now exports the same OpenAPIModelNamer interface, and a k/k test keeps it identical to kube-openapi's.
kube-openapi leaves the go.mod of api, cluster-bootstrap, csi-translation-lib, kube-controller-manager, kube-proxy and kubelet.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-10-01 12:01:18 -04:00
Andrzej Wasylkowski cc22f731df Remove MatchLabelKeysInPodAffinity feature gate 2026-09-29 12:37:05 +00:00
kubernetes-prow[bot] 7d2671787a Merge pull request #142131 from 6democratickim9/fix-fractional-byte-warnings
api: avoid overflow in fractional byte warnings
2026-09-23 16:36:13 +00:00
kubernetes-prow[bot] 2185d97ed7 Merge pull request #141573 from RiRa12621/patch-1
fix(/pkg/api/node/util.go): adjust deprecation notice for better grammar
2026-09-22 14:50:11 +00:00
6democratickim9 df8fd28194 api: cover byte warning boundary cases 2026-09-20 11:24:30 +09:00
kubernetes-prow[bot] 746eaf9cc8 Merge pull request #142108 from everettraven/upstream/mldsa/podcertificates
update podcertificaterequest and podcertificateprojection to allow setting ML-DSA algorithms
2026-09-17 21:21:30 +00:00
Bryce Palmer 3cd3eb2fd8 api/pod/util: add AllowMLDSAPodCertificateKeyTypes validation option
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
2026-09-17 12:12:22 -04:00
6democratickim9 72bfaae38b api: test large fractional byte quantities 2026-09-16 08:07:57 +09:00
6democratickim9 a0cec4cf79 api: avoid overflow in fractional byte warnings 2026-09-16 07:59:12 +09:00
Troy Chiu d22ea05486 api: remove DynamicResourceAllocation feature gate markers and field dropping 2026-09-15 21:26:15 +00:00
thc1006 b653c61905 pod: ratchet a stored pod-level hugepages value that no longer validates
usesIndivisibleHugePagesValues decides whether an update may keep a hugepages
value that fails the divisibility check because the stored object already
holds it. It scanned the containers and spec.overhead but not pod-level
spec.resources, which goes through the same check, so a pod carrying such a
value there failed every update that validates the spec, a label-only one
included (status updates are not affected), while the same value in a
container was kept.

Such a pod can exist. Before Value() saturated (#141305), a request of 2^64
bytes wrapped to zero and passed as a multiple of 2Mi, at the pod level as
well as in a container; since then it saturates to MaxInt64 and fails. A
cluster that stored one on v1.37 cannot update it after the upgrade unless
the pod level is ratcheted like the containers.

Scan spec.resources too, and fold the three scans into one helper.

Signed-off-by: thc1006 <84045975+thc1006@users.noreply.github.com>
2026-09-14 19:40:38 +08:00
Rick Rackow b8c28f87af fix(/pkg/api/node/util.go): adjust deprecation notice for better grammar
We want to avoid having output like `Warning: spec.template.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[1].matchExpressions[0].key: node-role.kubernetes.io/master is use "node-role.kubernetes.io/control-plane" instead` which isn't really great grammar.
2026-09-08 13:10:16 +02:00
kubernetes-prow[bot] ded4b83e34 Merge pull request #139115 from HirazawaUi/promote-envfiles-to-ga
Promote Envfiles feature gate to GA
2026-08-26 23:21:45 +00:00
Gaurav Ghildiyal abb809e25e api/validation: implement API validation, conversion, and CEL compilation for derived attributes
Introduces validation logic for DerivedAttributes, ensuring unique attribute names, properly formatted fully-qualified names, and correct API transitions via conversion. Also implements compile-time CEL checks to verify that derived attributes evaluate to primitive scalars (string, integer, boolean, semver) or lists of them.
2026-07-24 07:46:57 +00:00
nispriha 8a9e5b3df5 Add feature gate drop logic for volumeMount bindMountOptions 2026-07-23 15:05:15 +05:30
HirazawaUi 5d842204c6 Promote Envfiles feature gate to GA 2026-07-23 14:57:44 +08:00
Praveen Krishna b45d2c17b6 feat(kubelet): integrate DRA node allocatable resources into OOM score calculations 2026-07-23 03:35:20 +00:00
Praveen Krishna 10613d08fc feat(api): update validations for NodeAllocatableResourceClaimStatus and NodeAllocatableResources 2026-07-23 03:35:18 +00:00
Praveen Krishna abe8f409f3 chore: Update existing usage to align with the Alpha 2 API 2026-07-23 03:23:24 +00:00
kubernetes-prow[bot] 67b2680824 Merge pull request #140717 from helayoty/helayoty/6089-composite-podgroup
[WAS] KEP-6089: Support Composite PodGroup for Building blocks APIs and workloadbuilder
2026-07-23 03:18:28 +00:00
kubernetes-prow[bot] a669441811 Merge pull request #140244 from nispriha/njagan/emptydir_mode
KEP-5502: Add emptyDir volume permission mode
2026-07-23 03:18:01 +00:00
kubernetes-prow[bot] 9fde8b4535 Merge pull request #139116 from HirazawaUi/promote-hostname-overrid-to-ga
KEP-4762: Promote HostnameOverride feature gate to GA
2026-07-23 01:39:46 +00:00
nispriha af84bbfc3d Add feature gate drop logic for emptyDir mode 2026-07-23 06:19:42 +05:30
Heba Elayoty 45f110b546 add Path to WorkloadItem, remove rootPath from Validate
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
2026-07-22 20:06:34 +00:00
Filip Křepinský fc558fb4e9 introduce EvictionRequest and Eviction API
to new lifecycle group

- EvictionRequest is managed by a requester
- Eviction is managed by the evictionrequest-controller
- add storage, strategy, printers and validation
2026-07-22 21:32:12 +02:00
Filip Křepinský 170a6b3dc2 add EvictionResponders to Pod spec 2026-07-22 21:23:26 +02:00
Amritansh Amritansh 4b5b72e8a7 Add feature gate drop logic for gRPC TLS 2026-07-22 22:00:07 +05:30
kubernetes-prow[bot] 9c722bc288 Merge pull request #140194 from gnufied/implement-volume-health-api
Implement volume health api
2026-07-22 15:06:01 +00:00