Commit Graph

5349 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a6227695ab Merge pull request #128402 from richabanker/mvp-agg-discovery
KEP 4020: Replace StorageVersionAPI with aggregated discovery to fetch served resources by a peer apiserver
2025-03-18 21:43:49 -07:00
Marek Siarkowicz
506e4fed14 In TestListCorruptObject corrupt the object in etcd instead of changing encryption key
Changing the encryption key doesn't work with watch cache as it doesn't
break decoding newly written objects. A new object will be written using
a new key, and decoded using a new key.
2025-03-18 21:49:17 +01:00
Richa Banker
8b2cee83c1 Replace StorageVersion API with aggregated discovery to fetch served resources by a peer for MVP
Co-authored-by: Joe Betz <jpbetz@google.com>

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2025-03-18 13:27:27 -07:00
Kubernetes Prow Robot
83c5f99f97 Merge pull request #128184 from cupnes/add-storage-capacity-scoring
KEP-4049: Add storage capacity scoring to VolumeBinding plugin
2025-03-18 03:49:49 -07:00
Kubernetes Prow Robot
d367e0b326 Merge pull request #130865 from serathius/integration-refactor
Split subfunction to allow adding more subtests
2025-03-17 08:18:27 -07:00
Kubernetes Prow Robot
8906223b00 Merge pull request #130347 from Jefftree/remove-v2beta1-agg-discovery
Add a deprecated feature gate to stop serving apidiscovery.k8s.io/v2beta1
2025-03-17 08:17:52 -07:00
Marek Siarkowicz
414bfc707f Split subfunction to allow adding more subtests 2025-03-17 12:43:17 +01:00
Yuma Ogami
43382b1b39 Switch control from VolumeCapacityPriority to StorageCapacityScoring
The tests and comments have also been updated because while
VolumeCapacityPriority preferred a node with the least allocatable,
StorageCapacityScoring preferred a node with the maximum allocatable.
2025-03-17 00:49:58 +00:00
Jefftree
95d3d4a22d Gate apidiscovery/v2beta1 serving with a feature gate 2025-03-14 19:35:20 +00:00
Maciej Skoczeń
f6a35c55f2 Wait for node to appear in cache in TestUpdateNominatedNodeName integration test 2025-03-14 17:06:30 +00: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
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
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
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
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
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
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
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
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
Kubernetes Prow Robot
309c4c17fb Merge pull request #128499 from stlaz/ctb_betav1
ClusterTrustBundles - move to beta
2025-03-11 12:47:45 -07:00
Jefftree
b7b1e78d62 Fix context usage 2025-03-11 19:29:21 +00:00
Kubernetes Prow Robot
6bb5901e2d Merge pull request #129058 from dom4ha/nominated_cluster_event
Trigger all pods rescheduling on nominated node changes
2025-03-11 11:27:47 -07:00
Stanislav Láznička
0cd2976cab integration: ctb: apiserversigner test to use certbeta api 2025-03-11 18:07:27 +01:00
Stanislav Láznička
e0f536bf1f use the ClusterTrustBundles beta API 2025-03-11 18:07:24 +01:00
Kubernetes Prow Robot
4c311c9fcf Merge pull request #130475 from serathius/watchcache-consistency
Implement consistency checking
2025-03-11 05:09:46 -07:00
Marek Siarkowicz
e4d73c56cd Implement consistency checking 2025-03-11 10:17:23 +01:00
Kubernetes Prow Robot
8f97ac7fcf Merge pull request #130530 from pacoxu/v1.33-fg-cleanup
v1.33 feature gate cleanup
2025-03-10 23:03:46 -07:00
Paco Xu
8195f82fe8 remove AggregatedDiscoveryEndpoint that was GAed in v1.30 2025-03-11 10:51:43 +08:00
Siyuan Zhang
3d2d8db835 Add option to explicitly enable future gv or gvr in runtime-config.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-03-10 12:13:45 -07:00
Siyuan Zhang
819cb8fe22 Add emulation forward compatibility into api enablement and RemoveDeletedKinds.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-03-10 11:56:40 -07:00
dom4ha
4deb4f2b5f Trigger rescheduling on delete event also when unscheduled pod is removed 2025-03-10 15:03:50 +00:00
Kubernetes Prow Robot
4806519423 Merge pull request #130622 from pohly/DRAPrioritizedList
DRA: Prioritized Alternatives in Device Requests, II
2025-03-10 06:51:51 -07:00
Patrick Ohly
89440b1239 DRA: integration tests for prioritized list
This adds dedicated integration tests for the feature to the general
test/integration/dra for the API and some minimal testing with the scheduler.

It also adds non-performance test cases for scheduler_perf because that is a
better place for running through the complete flow (for example, can reuse
infrastructure for setting up nodes).
2025-03-10 11:38:06 +01:00
Gaurav Ghildiyal
dc80618817 Use SetFeatureGateEmulationVersionDuringTest() for testing
ServiceTrafficDistribution feature-flag disablement in control plane components

Ref. https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/feature-gates.md#disablement-tests
2025-03-09 17:02:54 -07:00
Tim Hockin
e54719bb66 Use randfill, do API renames 2025-03-08 15:18:00 -08:00
Kubernetes Prow Robot
6216201e16 Merge pull request #130485 from aramase/aramase/f/using_sar_for_node_aud_restriction
Enable dynamic configuration of service account names and audiences for token requests in node audience restriction
2025-03-07 15:35:45 -08:00
Anish Ramasekar
3f5d30543d Add integration tests for using SAR with node audience restriction
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-03-07 16:25:18 -06:00
Kubernetes Prow Robot
43560c620a Merge pull request #130522 from googs1025/feature/integration_filter_TaintToleration
chore(scheduler): add filter integration tests for missing part plugins: TaintToleration plugin
2025-03-07 04:15:45 -08:00
Kubernetes Prow Robot
672f57e2a4 Merge pull request #129909 from YamasouA/refactor/scheduler_perf
Refactor scheduler_perf runWorkload
2025-03-06 21:01:52 -08:00
Kubernetes Prow Robot
9d45ea8b9d Merge pull request #128586 from mortent/DRAPrioritizedList
Prioritized Alternatives in Device Requests
2025-03-06 21:01:44 -08:00
googs1025
032b05114c chore(scheduler): add filter integration tests for missing part plugins: TaintToleration plugin 2025-03-07 09:33:49 +08:00
Yuki Iwai
749f03a49f Gradeate Job SuccessPolicy to Stable
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2025-03-07 07:21:12 +09:00
Kubernetes Prow Robot
0f7becbc44 Merge pull request #130537 from saintube/scheduler-expose-nodeinfo-in-score
Expose NodeInfo to the ScorePlugin
2025-03-06 06:53:55 -08:00