Skip to content

Commit 3701e39

Browse files
committed
fix: remove the mention that DRA uses Pending
1 parent 82e3a67 commit 3701e39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/scheduler/framework/interface.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ const (
227227
// Pending means that the scheduling process is finished successfully,
228228
// but the plugin wants to stop the scheduling cycle/binding cycle here.
229229
//
230-
// For example, the DRA plugin sometimes needs to wait for the external device driver
231-
// to provision the resource for the Pod.
230+
// For example, if your plugin has to notify the scheduling result to an external component,
231+
// and wait for it to complete something **before** binding.
232232
// It's different from when to return Unschedulable/UnschedulableAndUnresolvable,
233233
// because in this case, the scheduler decides where the Pod can go successfully,
234234
// but we need to wait for the external component to do something based on that scheduling result.

0 commit comments

Comments
 (0)