kubernetes/pkg/scheduler/framework
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
..
autoscaler_contract Move Code and Status from pkg/scheduler/framework to k8s.io/kube-scheduler/framework 2025-06-30 10:06:22 +00:00
parallelize Improve Goroutines metric calls in parallelizer.Until 2025-01-27 12:01:17 +00:00
plugins DRA scheduler: implement filter timeout and cancellation 2025-07-17 21:18:28 +02:00
preemption cleanup: use HandleErrorWithXXX instead of logger.Error where errors are intentionally ignored 2025-07-08 09:34:49 +08:00
runtime feat: add PreBindPreFlight and implement in in-tree plugins 2025-07-05 17:14:21 -07:00
cycle_state.go Extract interface CycleState and move is to staging repo. CycleState implementation remains in k/k/pkg/scheduler/framework 2025-05-29 16:18:36 +00:00
cycle_state_test.go Extract interface CycleState and move is to staging repo. CycleState implementation remains in k/k/pkg/scheduler/framework 2025-05-29 16:18:36 +00:00
events.go Move ClusterEvent type to staging repo, leaving some functions (that contain logic internal to scheduler) in kubernetes/kubernetes (#132190) 2025-06-26 08:06:29 -07:00
events_test.go Move ClusterEvent type to staging repo, leaving some functions (that contain logic internal to scheduler) in kubernetes/kubernetes (#132190) 2025-06-26 08:06:29 -07:00
extender.go Scheduler first fit (#123384) 2024-02-26 11:07:19 -08:00
interface.go scheduler: enhance and document Filter cancellation 2025-07-17 16:47:47 +02:00
interface_test.go Move Code and Status from pkg/scheduler/framework to k8s.io/kube-scheduler/framework 2025-06-30 10:06:22 +00:00
listers.go DRA scheduler: device taints and tolerations 2025-03-19 09:18:38 +01:00
types.go cleanup: use HandleErrorWithXXX instead of logger.Error where errors are intentionally ignored 2025-07-08 09:34:49 +08:00
types_test.go Move Code and Status from pkg/scheduler/framework to k8s.io/kube-scheduler/framework 2025-06-30 10:06:22 +00:00