Commit Graph

134089 Commits

Author SHA1 Message Date
Yuan Wang
aac951d902 Add dependency for NodeDeclaredFeatures 2025-11-10 09:41:02 +00:00
Yuan Wang
97c3f575b9 Refactor validation 2025-11-10 09:41:02 +00:00
Yuan Wang
2eb1eeeabf add disruptive tests 2025-11-10 09:41:02 +00:00
Yuan Wang
83c5cd5526 Implement restartPod action 2025-11-10 09:41:02 +00:00
Kubernetes Prow Robot
d777de7741 Merge pull request #135195 from haircommander/image-volume
KEP 4639: Move ImageVolume to on by default beta
2025-11-09 18:34:53 -08:00
Kubernetes Prow Robot
183892b2c9 Merge pull request #134870 from pmengelbert/pmengelbert/kuberc/4
Add client-go credential plugin to kuberc
2025-11-09 17:26:53 -08:00
Peter Engelbert
fab280950d Add client-go credential plugin to kuberc
Remove reference to internal types in kuberc types

* Remove unserialized types from public APIs

Also remove defaulting

* Don't do conversion gen for plugin policy types

Because the plugin policy types are explicitly allowed to be empty, they
should not affect conversion. The autogenerated conversion functions for
the `Preference` type will leave those fields empty.

* Remove defaulting tests

Comments and simplifications (h/t jordan liggitt)

Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
2025-11-09 14:24:53 -05:00
Kubernetes Prow Robot
ef274e869c Merge pull request #135142 from stlaz/fix-node-conformance-failures-2
Fix node-conformance failures
2025-11-08 14:14:54 -08:00
Kubernetes Prow Robot
87eb6c5f7f Merge pull request #135225 from HirazawaUi/fix-envfiles-tests
Fix e2e test cases for EnvFiles
2025-11-08 12:14:52 -08:00
HirazawaUi
d979816a40 Fix e2e test cases for EnvFiles 2025-11-08 10:14:00 +08:00
Kubernetes Prow Robot
173523550a Merge pull request #135092 from MoonYoung02/kube-proxy-fix-contextual-logging
Switch kube-proxy/server.go to context-aware logging APIs (HandleErrorWithContext, UntilWithContext)
2025-11-07 13:18:52 -08:00
Anish Ramasekar
d82fa1eb98 test: use localhost and HostNetwork for registry, mark test as disruptive
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-11-07 11:13:28 -08:00
Stanislav Láznička
8d0fb17a18 e2e test registry: force IPv4 localhost IP
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-11-07 11:08:34 -08:00
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
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
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
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