kubernetes/pkg/scheduler/framework/plugins/dynamicresources
Patrick Ohly bc338e7505 DRA scheduler: implement filter timeout and cancellation
The intent is to catch abnormal runtimes with the generously large default
timeout of 10 seconds.

We have to set up a context with the configured timeout (optional!), then
ensure that both CEL evaluation and the allocation logic itself properly
returns the context error. The scheduler plugin then can convert that into
"unschedulable".

The allocator and thus Filter now also check for context cancellation by the
scheduler. This happens when enough nodes have been found.
2025-07-17 21:18:28 +02:00
..
allocateddevices.go DRA: use v1beta1 API 2024-11-06 13:03:19 +01:00
dra_manager.go DRA scheduler: device taints and tolerations 2025-03-19 09:18:38 +01:00
dynamicresources.go DRA scheduler: implement filter timeout and cancellation 2025-07-17 21:18:28 +02:00
dynamicresources_test.go DRA scheduler: implement filter timeout and cancellation 2025-07-17 21:18:28 +02:00
OWNERS DRA: add wg/device-management label automatically 2024-10-28 16:36:04 +01:00