mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-20 16:35: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:
@@ -432,6 +432,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
|
||||||
|
|||||||
Reference in New Issue
Block a user