From 3701e393279aef31273bb212859e4edac7b8764f Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Tue, 4 Feb 2025 05:23:51 +0900 Subject: [PATCH] fix: remove the mention that DRA uses Pending --- pkg/scheduler/framework/interface.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/scheduler/framework/interface.go b/pkg/scheduler/framework/interface.go index 536adf66863..cf6f39c6748 100644 --- a/pkg/scheduler/framework/interface.go +++ b/pkg/scheduler/framework/interface.go @@ -227,8 +227,8 @@ const ( // Pending means that the scheduling process is finished successfully, // but the plugin wants to stop the scheduling cycle/binding cycle here. // - // For example, the DRA plugin sometimes needs to wait for the external device driver - // to provision the resource for the Pod. + // For example, if your plugin has to notify the scheduling result to an external component, + // and wait for it to complete something **before** binding. // It's different from when to return Unschedulable/UnschedulableAndUnresolvable, // because in this case, the scheduler decides where the Pod can go successfully, // but we need to wait for the external component to do something based on that scheduling result.