mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
scheduler: document behavior of Error status returned by Filter
This behavior was useful for https://github.com/kubernetes/kubernetes/pull/125488 but wasn't obvious when reading the documentation.
This commit is contained in:
parent
7a4c962341
commit
d71d59b91e
@ -432,6 +432,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
|
||||
|
Loading…
Reference in New Issue
Block a user