diff --git a/pkg/scheduler/apis/config/types.go b/pkg/scheduler/apis/config/types.go index 0ec488195c1..41fb7d92d41 100644 --- a/pkg/scheduler/apis/config/types.go +++ b/pkg/scheduler/apis/config/types.go @@ -136,7 +136,7 @@ type Plugins struct { // Filter is a list of plugins that should be invoked when filtering out nodes that cannot run the Pod. Filter PluginSet - // PostFilter is a list of plugins that are invoked after filtering phase, no matter whether filtering succeeds or not. + // PostFilter is a list of plugins that are invoked after filtering phase, but only when no feasible nodes were found for the pod. PostFilter PluginSet // PreScore is a list of plugins that are invoked before scoring. diff --git a/staging/src/k8s.io/kube-scheduler/config/v1beta2/types.go b/staging/src/k8s.io/kube-scheduler/config/v1beta2/types.go index 5eac53052fc..bbe77cad20d 100644 --- a/staging/src/k8s.io/kube-scheduler/config/v1beta2/types.go +++ b/staging/src/k8s.io/kube-scheduler/config/v1beta2/types.go @@ -167,7 +167,7 @@ type Plugins struct { // Filter is a list of plugins that should be invoked when filtering out nodes that cannot run the Pod. Filter PluginSet `json:"filter,omitempty"` - // PostFilter is a list of plugins that are invoked after filtering phase, no matter whether filtering succeeds or not. + // PostFilter is a list of plugins that are invoked after filtering phase, but only when no feasible nodes were found for the pod. PostFilter PluginSet `json:"postFilter,omitempty"` // PreScore is a list of plugins that are invoked before scoring. diff --git a/staging/src/k8s.io/kube-scheduler/config/v1beta3/types.go b/staging/src/k8s.io/kube-scheduler/config/v1beta3/types.go index 64038aa9937..21c3c18c146 100644 --- a/staging/src/k8s.io/kube-scheduler/config/v1beta3/types.go +++ b/staging/src/k8s.io/kube-scheduler/config/v1beta3/types.go @@ -160,7 +160,7 @@ type Plugins struct { // Filter is a list of plugins that should be invoked when filtering out nodes that cannot run the Pod. Filter PluginSet `json:"filter,omitempty"` - // PostFilter is a list of plugins that are invoked after filtering phase, no matter whether filtering succeeds or not. + // PostFilter is a list of plugins that are invoked after filtering phase, but only when no feasible nodes were found for the pod. PostFilter PluginSet `json:"postFilter,omitempty"` // PreScore is a list of plugins that are invoked before scoring.