Commit Graph

134908 Commits

Author SHA1 Message Date
Stanislav Láznička
ad0a3de152 node-conformance-e2e: restart the kubelet after loading credential config
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-11-07 11:08:28 -08:00
Konrad Kaim
7c9d625cd3 feat: unify pod describer 2025-11-07 16:34:42 +00:00
Kubernetes Prow Robot
609e2e57da Merge pull request #135103 from ania-borowiec/nnn_flag
KEP-5278 Promote NominatedNodeNameForExpectation and ClearingNominatedNodeNameAfterBinding feature gates to beta
2025-11-07 07:41:00 -08:00
Kubernetes Prow Robot
c3aee79946 Merge pull request #134942 from ttsuuubasa/dra-bc-integration-tests
scheduler: KEP-5007 add integration tests on DeviceBindingConditions
2025-11-07 07:40:53 -08:00
Kubernetes Prow Robot
55ac11aad0 Merge pull request #135149 from ania-borowiec/nnn_test
KEP-5278 Add integration tests for setting and clearing NominatedNodeName
2025-11-07 06:06:53 -08:00
Tsubasa Watanabe
1225ce509e scheduler: KEP-5007 add integration tests
- Rescheduling on binding failure using taints or device removal
- Triggering binding timeout when BindingConditions remain unmet
- Recovery to a device without BindingConditions after binding timeout

Signed-off-by: Tsubasa Watanabe <w.tsubasa@fujitsu.com>
2025-11-07 21:15:13 +09:00
Tsubasa Watanabe
368e699ed2 scheduler: KEP-5007 move BindingConditions integration tests to separate file
To improve maintainability and reduce the size of dra_test.go,
this commit extracts the function "testDeviceBindingConditions"
into a new file: binding_conditions_test.go.
No functional changes are introduced.

Signed-off-by: Tsubasa Watanabe <w.tsubasa@fujitsu.com>
2025-11-07 21:14:50 +09:00
Kubernetes Prow Robot
7f80af8197 Merge pull request #135216 from macsko/fix_flaky_test_workloadmanager_windows
Fix failing test for pod group scheduling timeout on Windows
2025-11-07 03:22:52 -08:00
Ania Borowiec
e88aa1e04d Integration tests for setting and clearing NominatedNodeName 2025-11-07 10:42:43 +00:00
astraw99
8bf07d22c2 Add node arch in the kubectl get node output 2025-11-07 18:40:44 +08:00
Maciej Skoczeń
9c5959e9de Fix failing test for pod group scheduling timeout on Windows 2025-11-07 10:31:47 +00:00
Kubernetes Prow Robot
f38a61181c Merge pull request #133968 from yashsingh74/bump-coredns-1.12.4
Update coredns to v1.13.1
2025-11-06 20:38:54 -08:00
Kubernetes Prow Robot
e16c0daf9f Merge pull request #135201 from BenTheElder/deps-version-fix
build/dependencies.yaml: fix missing major.minor in golang: upstream version
2025-11-06 19:40:51 -08:00
shwetha-s-poojary
84baa7143e Enable notimestamp rule for Kube API Linter 2025-11-07 09:09:51 +05:30
Kubernetes Prow Robot
135db3b1c1 Merge pull request #135153 from SergeyKanzhelev/deviceManagerHealthFix
mark device manager as haelthy before it started for the first time
2025-11-06 17:00:51 -08:00
Kubernetes Prow Robot
0cfbf89e70 Merge pull request #134189 from mortent/NewUpdatePartitionableDevices
Updates to DRA Partitionable Devices feature
2025-11-06 16:10:53 -08:00
Kubernetes Prow Robot
76f3f84204 Merge pull request #135197 from Jefftree/revert-replacement
Revert- Don't pick versions that have a replacement as storage
2025-11-06 15:19:16 -08:00
Kubernetes Prow Robot
ec5211cedc Merge pull request #135147 from harche/HealhCheckTimeout
DRA: Add configurable health check timeout per device
2025-11-06 15:19:07 -08:00
Kubernetes Prow Robot
6232175b94 Merge pull request #134935 from alaypatel07/refactor-dra-extended-resources
refactor dra extended resources implementation in scheduler plugin
2025-11-06 15:18:59 -08:00
Kubernetes Prow Robot
b214dae15d Merge pull request #133648 from richabanker/merged-discovery
[KEP:4020] Peer-aggregated discovery
2025-11-06 15:18:52 -08:00
Benjamin Elder
3b3e4dd2c4 fix missing major.minor in golang: upstream version 2025-11-06 14:52:38 -08:00
Kubernetes Prow Robot
fcf6d3b545 Merge pull request #133392 from rphillips/getMetricsFromNode_fix
test: add retry to getMetricsFromNode and deflake 'should grab all metrics from kubelet /metrics/resource endpoint'
2025-11-06 14:28:58 -08:00
Ania Borowiec
e6d95a7b38 Promote NominatedNodeNameForExpectation and ClearingNominatedNodeNameAfterBinding feature gates to beta 2025-11-06 22:04:03 +00:00
Morten Torkildsen
b5dae0ffaa DRA: Update e2e tests for Partitionable Devices 2025-11-06 21:30:46 +00:00
Morten Torkildsen
4d29f88c88 DRA: Update integration tests for Partitionable Devices 2025-11-06 21:30:32 +00:00
Morten Torkildsen
7861714e6c DRA: Add validation in resourceslicecontroller for Partitionable Devices 2025-11-06 21:30:15 +00:00
Morten Torkildsen
38b5750e33 DRA: Update allocator for Partitionable Devices 2025-11-06 21:30:01 +00:00
Sascha Grunert
c7b277a32e KEP 4639: Move ImageVolume to on by default beta
Coauthored-by: Sascha Grunert <sgrunert@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2025-11-06 16:26:27 -05:00
Morten Torkildsen
6689fa7b00 DRA: Update ResourceSlice max size tests for Partitionable Devices 2025-11-06 21:13:33 +00:00
Morten Torkildsen
93fc7422ee DRA: Update validation for Partitionable Devices 2025-11-06 21:13:33 +00:00
Morten Torkildsen
ef3f6a2507 Run make update 2025-11-06 21:13:33 +00:00
Morten Torkildsen
e73fd4204d DRA: Update types for Partitionable Devices 2025-11-06 21:13:32 +00:00
Alay Patel
f8ccc4c4d7 dra scheduler plugin: refactor extendeddynamicresources.go for readibility
Signed-off-by: Alay Patel <alayp@nvidia.com>
2025-11-06 15:49:33 -05:00
Richa Banker
b9e59e8ea9 test: Add integration tests for peer-aggregated discovery
Add comprehensive integration tests covering:
- Peer-aggregated discovery merging across multiple API servers
- CRD/APIService exclusion from peer discovery
- Profile-based content negotiation (nopeer)
- Cache invalidation on local discovery changes
- Request routing to peer servers

Part of KEP-4020: Unknown Version Interoperability Proxy
2025-11-06 12:48:22 -08:00
Richa Banker
8f2c0a9a60 kube-apiserver: Enable peer proxy and peer-aggregated discovery
Wire up peer proxy infrastructure in kube-apiserver:
- Add UnknownVersionInteroperabilityProxy feature gate
- Configure peer proxy with identity lease selectors
- Register CRD and APIService informers with exclusion filters
- Start peer discovery sync and GV cleanup workers

Includes extractors for CRDs and APIServices to identify which
GroupVersions should be excluded from peer discovery.

Part of KEP-4020: Unknown Version Interoperability Proxy
2025-11-06 12:48:19 -08:00
Richa Banker
2f5f1749e5 apiserver: Add peer proxy and peer-aggregated discovery support
Integrate peerproxy and peer-aggregated discovery into generic API server:
- Add PeerProxyConfiguration to server config
- Wire up peer discovery cache sync as post-start hook
- Connect local discovery invalidation callbacks
- Add GV deletion workers and reaper for safe cleanup

Part of KEP-4020: Unknown Version Interoperability Proxy
2025-11-06 12:46:04 -08:00
Richa Banker
c72f9f73d9 discovery/aggregated: Add invalidation callback support
Add callback mechanism to notify peer-aggregated discovery handler
when local discovery changes, enabling efficient cache invalidation.

Part of KEP-4020: Unknown Version Interoperability Proxy
2025-11-06 12:46:04 -08:00
Richa Banker
6b8f793888 discovery/aggregated: Add peer-aggregated discovery handler
Implement peer-aggregated discovery that merges local and peer discovery
documents into a unified view. Features:
- Deterministic merging using topological sort
- Short-circuit optimizations when content/order unchanged
- Resource capability merging (verbs, subresources)
- ETag-based caching
- Prometheus metrics for cache hits/misses

The wrapper routes requests to either local-only or peer-aggregated
handlers based on Accept header profile.

Part of KEP-4020: Unknown Version Interoperability Proxy
2025-11-06 12:46:04 -08:00
Richa Banker
d690745772 peerproxy: Refactor into separate files and add exclusion filter 2025-11-06 12:46:04 -08:00
Richa Banker
6a07342d37 discovery: Add profile-based content negotiation
Add support for 'profile=nopeer' in Accept headers to allow clients
to opt out of peer-aggregated discovery and request local-only results.

Updates discovery client to set appropriate Accept headers based on
whether peer-aggregated discovery is desired.

Part of KEP-4020: Unknown Version Interoperability Proxy
2025-11-06 12:46:04 -08:00
Richa Banker
3b89deb6b3 util/sort: Add MergePreservingRelativeOrder for topological sorting
Add a topological sort implementation that merges multiple ordered lists
while preserving their relative ordering. This is used by peer-aggregated
discovery to deterministically merge discovery documents from multiple
API servers.

Part of KEP-4020: Unknown Version Interoperability Proxy
2025-11-06 12:46:04 -08:00
Kubernetes Prow Robot
3627464300 Merge pull request #135187 from BenTheElder/go1254
upgrade go to 1.25.4
2025-11-06 12:43:30 -08:00
Kubernetes Prow Robot
22962087ec Merge pull request #135186 from pohly/dra-scheduler-unit-test-flake
DRA: fix for scheduler unit test flake + logging
2025-11-06 12:43:23 -08:00
Kubernetes Prow Robot
171d2dacd2 Merge pull request #134893 from HirazawaUi/kep-5607
KEP-5607: Allow hostNetwork pods to use user namespace
2025-11-06 12:43:15 -08:00
Kubernetes Prow Robot
ee0485adb9 Merge pull request #134736 from haircommander/4210-ga
features: bump image gc max age feature to stable
2025-11-06 12:43:07 -08:00
Kubernetes Prow Robot
41fd1b51f6 Merge pull request #134520 from sunya-ch/add-share-id-to-plugin-device
[DRA] Add ShareID to kubelet plugin API
2025-11-06 12:43:00 -08:00
Kubernetes Prow Robot
4cf80c652a Merge pull request #133114 from Apptane/early-image-verification-policy
kubelet: invoke part of image verification policy earlier
2025-11-06 12:42:52 -08:00
Jefftree
3be9af427f Fix revert conflict 2025-11-06 20:39:34 +00:00
Jefftree
e6574b416f Revert "Unit test for emulated storage version selection"
This reverts commit d5517b7a51.
2025-11-06 20:33:08 +00:00
Jefftree
e8176f6f9f Revert "Don't pick versions that have a replacement as storage version"
This reverts commit af811be190.
2025-11-06 20:32:07 +00:00