mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Merge pull request #126476 from pohly/scheduler-framework-filter-docs
scheduler: document behavior of Error status returned by Filter
This commit is contained in:
commit
5b95fdb374
@ -543,6 +543,9 @@ type FilterPlugin interface {
|
|||||||
// All FilterPlugins should return "Success" to declare that
|
// All FilterPlugins should return "Success" to declare that
|
||||||
// the given node fits the pod. If Filter doesn't return "Success",
|
// the given node fits the pod. If Filter doesn't return "Success",
|
||||||
// it will return "Unschedulable", "UnschedulableAndUnresolvable" or "Error".
|
// 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
|
// For the node being evaluated, Filter plugins should look at the passed
|
||||||
// nodeInfo reference for this particular node's information (e.g., pods
|
// 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
|
// considered to be running on the node) instead of looking it up in the
|
||||||
|
Loading…
Reference in New Issue
Block a user