Fix an error in NodeUnschedulable plugin comment

This commit is contained in:
houmin 2020-08-05 11:35:46 +08:00
parent 9dec51e8f3
commit 868dd41a96

View File

@ -25,8 +25,8 @@ import (
framework "k8s.io/kubernetes/pkg/scheduler/framework/v1alpha1"
)
// NodeUnschedulable is a plugin that priorities nodes according to the node annotation
// "scheduler.alpha.kubernetes.io/preferAvoidPods".
// NodeUnschedulable plugin filters nodes that set node.Spec.Unschedulable=true unless
// the pod tolerates {key=node.kubernetes.io/unschedulable, effect:NoSchedule} taint.
type NodeUnschedulable struct {
}