Commit Graph

27177 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
f9e92a1aa7 Merge pull request #130814 from LionelJouin/kep-4817-beta
[KEP-4817] DRAResourceClaimDeviceStatus to Beta
2025-03-14 10:57:58 -07:00
Kubernetes Prow Robot
45f5ecfefd Merge pull request #125452 from carlory/clean-e2efeatures
remove unneeded e2e features
2025-03-14 10:57:47 -07:00
Kubernetes Prow Robot
0446f6c146 Merge pull request #130492 from macsko/call_preenqueue_plugins_when_adding_pod_to_backoffq
Call PreEnqueue plugins before adding pod to backoffQ
2025-03-14 08:55:53 -07:00
Kubernetes Prow Robot
83d33a927a Merge pull request #130133 from ffromani/split-uncore-metrics
node: cpumgr: metrics: add uncore cache alignment metrics
2025-03-14 08:55:46 -07:00
Kubernetes Prow Robot
ba6acfd748 Merge pull request #130208 from carlory/remove-duplicated-test
remove duplicated test on configmap volume
2025-03-14 07:45:56 -07:00
Lionel Jouin
37dee3c282 [KEP-4817] DRAResourceClaimDeviceStatus to Beta
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-03-14 14:08:47 +01:00
Maciej Skoczeń
8d4eaa024d Add SchedulerPopFromBackoffQ feature gate for KEP-5142 2025-03-14 08:47:39 +00:00
Francesco Romani
5c17e7bd9c node: cpumgr: metrics: add uncore cache alignment metrics
add missing metric about uncore / L3 / Last-Level cache alignment,
plus its e2e tests.

Exposing uncore alignment requires a bit of refactoring in the static
policy implementation because, differently from full PCPUs alignment
and NUMA alignment, can't be easily and safely inferred by construction.

The main reason for this is that uncore cache alignment is preferred,
not mandatory, thus the cpu allocator can legally use cross-uncore
allocation. Because of that, the final cpuset union step can
create a final cpuset which is not uncore-aligned even though all
its parts are uncore-aligned.

The safest way seems thus to run just a final uncore-alignment check
once the final cpuset is computed.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-03-14 09:08:54 +01:00
Francesco Romani
9cfe1863ce node: e2e: clarify test description
fix test name. Cosmetic only.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-03-14 09:06:21 +01:00
carlory
3e70a1bc9c remove unneeded e2e features
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-14 14:50:35 +08:00
Kubernetes Prow Robot
46aba9dcba Merge pull request #130805 from Jefftree/cle-int-test-enable-api
Enable proper API in CLE integration test
2025-03-13 20:09:46 -07:00
Jefftree
6979567c44 Enable proper API in CLE integration test 2025-03-14 01:59:02 +00:00
Kubernetes Prow Robot
8b08487283 Merge pull request #130354 from siyuanfoundation/forward-api
KEP-4330: add forward compatibility for compatibility mode
2025-03-13 18:55:57 -07:00
Kubernetes Prow Robot
b00f88e3b5 Merge pull request #129414 from yongruilin/compatibility-version-featuregate
feat: Refactors featuregate lifecycle management script
2025-03-13 18:55:46 -07:00
Kubernetes Prow Robot
23d6377028 Merge pull request #130019 from yongruilin/version-intro
KEP-4330: extend version information with more detailed version fields
2025-03-13 17:43:46 -07:00
yongruilin
088daf472b feat: Refactors featuregate lifecycle management script
- rename featuregate_linter to compatibility_lifecycle
- add feature removal verify to follow N+3 rule
- remove unversioned related operation
- rename yaml folder name to "reference"
2025-03-13 21:57:21 +00:00
Kubernetes Prow Robot
396c3ebe4c Merge pull request #130711 from lauralorenz/crashloopbackoff-featuregate-reducedefaultcrashloopbackoffdelay
KEP-4603: Add ReduceDefaultCrashLoopBackoffDecay featuregate, feature and unit and e2e tests
2025-03-13 14:55:47 -07:00
yongruilin
a3094ccbe6 feat: extend version information with more detailed version fields
- Add new version fields to version.Info struct:
  * EmulationMajor and EmulationMinor to track emulated version
  * MinCompatibilityMajor and MinCompatibilityMinor for compatibility tracking
- Update related code to populate and use these new fields
- Improve version information documentation and OpenAPI generation
- Modify version routes and documentation to reflect new version information structure
2025-03-13 21:44:31 +00:00
Kubernetes Prow Robot
04fb7ac18b Merge pull request #130536 from tenzen-y/promote-successpolicy-to-ga
KEP-3998: Promote JobSuccessPolicy to Stable
2025-03-13 13:27:54 -07:00
Kubernetes Prow Robot
94cc4babc2 Merge pull request #130233 from soltysh/statefulset_api
StatefulSet: add explicit validation for .spec.serviceName and mark the field optional
2025-03-13 13:27:46 -07:00
Kubernetes Prow Robot
4666b8cdf6 Merge pull request #130783 from jpbetz/versioned-formats
Support emulation versioning of custom resource formats
2025-03-13 11:55:55 -07:00
Kubernetes Prow Robot
be127ae0e2 Merge pull request #130751 from Jefftree/cle-promote-beta
[KEP-4355] Promote Coordinated Leader Election to Beta
2025-03-13 11:55:47 -07:00
Maciej Szulik
8eb74b96e3 Add validation to StatefulSet's .spec.serviceName
.spec.serviceName field is injected into pod.spec.subDomain which
requires values to be valid DNS1123 label, but statefulset validation
never validates the field, if specifired. This can cause the controller
to fail creating pods.

Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-03-13 17:53:12 +01:00
Joe Betz
e0011c7236 Support emulation versioning of formats
We plan to add more formats in upcoming releases.
This tracks which formats are introduced at a version.

Unrecognized formats remain ignored. That is,
if a format is not supported at the emulated version,
the format is not enforced. This differs from typical
field handling, where unsupported field values are
forbidden. This is pre-existing behavior and is
in compliance with JSON Schema's format handling.

Ratcheting of custom resources helps with the introduction
of new formats. When a cluster is upgraded to a version
of Kubernetes that supports a format already set (but not enforced)
in a custom resource definition, the format will start
being enforced against custom resources. Ratcheting will
tolerate unchanged values of custom resources, even
if the value is not valid according to the format.
2025-03-13 11:09:12 -04:00
Kubernetes Prow Robot
68899f8e6d Merge pull request #124360 from carlory/kep-3751-quota-2
Add quota support for PVC with VolumeAttributesClass
2025-03-13 07:35:48 -07:00
carlory
27706a0b54 Add quota support for PVC with VolumeAttributesClass
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-13 13:50:44 +08:00
Kubernetes Prow Robot
96dd5508f6 Merge pull request #129714 from esotsal/fix-reset-injector-because-cri-proxy-undefined
testing: Skip test if cri proxy is disabled or undefined
2025-03-12 21:19:46 -07:00
Kubernetes Prow Robot
761f5646be Merge pull request #130138 from rata/userns-enabled-by-default
features: Enable user namespaces by default
2025-03-12 20:13:48 -07:00
Kubernetes Prow Robot
7b6c56e5fb Merge pull request #130135 from saschagrunert/image-volume-beta
[KEP-4639] Graduate image volume sources to beta
2025-03-12 18:03:58 -07:00
Kubernetes Prow Robot
05bfdbc6dd Merge pull request #129950 from ffromani/alignment-error-detail-metrics
node: metrics for alignment failures
2025-03-12 18:03:46 -07:00
lauralorenz
256a576651 Add featuregate, feature and unit and e2e tests
Signed-off-by: lauralorenz <lauralorenz@google.com>
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2025-03-12 23:43:16 +00:00
Kubernetes Prow Robot
2261137135 Merge pull request #122550 from danwinship/tighten-ip-validation
Tighten IP/CIDR validation
2025-03-12 15:57:46 -07:00
Kubernetes Prow Robot
d70bfc8e86 Merge pull request #130636 from serathius/watchcache-integration-test
Move setup in TestListOptions before we start API server
2025-03-12 13:35:54 -07:00
Jefftree
3b88db4f23 Promote CLE to beta 2025-03-12 19:25:30 +00:00
Kubernetes Prow Robot
21f7eaa8e2 Merge pull request #130705 from aaron-prindle/validation-gen-add-metric-and-runtime-verification-upstream
[Declarative Validation] feat: add declarative validation metrics and associated runtime verification tests
2025-03-12 11:29:54 -07:00
Kubernetes Prow Robot
6b8341fc2e Merge pull request #130544 from jsafrane/selinux-beta
selinux: Promote SELinuxChangePolicy and SELinuxMount to beta
2025-03-12 11:29:47 -07:00
Jefftree
5ba4a90fda Add LeaseCandidate v1beta1 2025-03-12 17:52:10 +00:00
Kubernetes Prow Robot
caf541857f Merge pull request #130673 from gauravkghildiyal/kep-4444-ga
Promote ServiceTrafficDistribution feature-gate to GA and update docs with latest descriptions
2025-03-12 08:23:47 -07:00
Dan Winship
692785d25b Add legacy versions of IsValidIP/IsValidCIDR
Add validation.IsValidIPForLegacyField and
validation.IsValidCIDRForLegacyField, which validate "legacy" IP/CIDR
fields correctly. Use them for all such fields (indirectly, via a
wrapper in pkg/apis/core/validation that handles the
StrictIPCIDRValidation feature gate correctly).

Change IsValidIP and IsValidCIDR to require strict parsing and
canonical form, and update the IPAddr, ServiceCIDR, and
NetworkDeviceData validation to make use of them.
2025-03-12 09:58:04 -04:00
Marek Siarkowicz
ac6790450a Move TestListOptions setup before we start API server
This PR changes the TestListOptions setup to execute compaction before
we start apiserver allowing the test work with cache snapshots from
KEP-4988 by preventing creation of snapshots for compacted revisions.

While etcd compaction removes access to old revision, with KEP-4988
those revisions will be still available in watch cache. Implementing
compaction for watch cache doesn't make sense as it would only be
used for testing, making it unreliable.

To properly test how etcd and watch cache behaves on
compacted revisions we need to compact etcd before we start apiserver.
2025-03-12 14:52:34 +01:00
Kubernetes Prow Robot
e0ab1a16ad Merge pull request #128372 from aramase/aramase/f/kep_4412_alpha_impl
KSA token for Kubelet image credential providers alpha
2025-03-12 00:39:50 -07:00
Anish Ramasekar
2090a01e0a add e2e test with the gcp-credential-provider test plugin
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-03-11 20:36:36 -07:00
Kubernetes Prow Robot
f13237a34e Merge pull request #130735 from Jefftree/cle-lexo-check
CLE: Remove invalid emulated version and add lexographical order test
2025-03-11 19:47:59 -07:00
Kubernetes Prow Robot
4a0566c25b Merge pull request #130575 from Jefftree/cle-e2e
Add E2E tests for CLE
2025-03-11 19:47:45 -07:00
Aaron Prindle
de904f8099 feat: add declarative validation metrics and associated runtime verification tests 2025-03-12 02:41:30 +00:00
Anish Ramasekar
d398de294d Add KubeletServiceAccountTokenForCredentialProviders feature gate
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-03-11 19:24:54 -05:00
Kubernetes Prow Robot
1b6e321e23 Merge pull request #129407 from serathius/streaming-proto-list-encoder
Implement streaming proto list encoder
2025-03-11 17:11:45 -07:00
Kubernetes Prow Robot
c5d4e53444 Merge pull request #130731 from Jefftree/cle-int-refactor
Fix context usage in CLE integration test
2025-03-11 15:59:52 -07:00
Jefftree
775b118a6d Remove invalid emulated version and add lexographical order test 2025-03-11 21:00:48 +00:00
Jefftree
9eef88c844 Add CLE e2e tests 2025-03-11 20:54:45 +00:00