Merge pull request #126476 from pohly/scheduler-framework-filter-docs

scheduler: document behavior of Error status returned by Filter
This commit is contained in:
Kubernetes Prow Robot 2024-08-13 22:10:42 -07:00 committed by GitHub
commit 5b95fdb374
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -543,6 +543,9 @@ type FilterPlugin interface {
// All FilterPlugins should return "Success" to declare that
// the given node fits the pod. If Filter doesn't return "Success",
// it will return "Unschedulable", "UnschedulableAndUnresolvable" or "Error".
//
// "Error" aborts pod scheduling and puts the pod into the backoff queue.
//
// For the node being evaluated, Filter plugins should look at the passed
// nodeInfo reference for this particular node's information (e.g., pods
// considered to be running on the node) instead of looking it up in the