feature(scheduler): won't run Filter if PreFilter returned a Skip status

This commit is contained in:
Kensei Nakada
2022-10-20 00:05:13 +00:00
parent a0b69ecd01
commit 786be73b4b
4 changed files with 181 additions and 35 deletions

View File

@@ -91,6 +91,7 @@ const (
// Wait is used when a Permit plugin finds a pod scheduling should wait.
Wait
// Skip is used when a Bind plugin chooses to skip binding.
// Also, if a PreFilter plugin returns Skip, coupled Filter plugin will be skipped.
Skip
)