From 868dd41a963117ed513ffc50f7bffc8516d56983 Mon Sep 17 00:00:00 2001 From: houmin Date: Wed, 5 Aug 2020 11:35:46 +0800 Subject: [PATCH] Fix an error in NodeUnschedulable plugin comment --- .../framework/plugins/nodeunschedulable/node_unschedulable.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go b/pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go index ffc85e32c21..560630de029 100644 --- a/pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go +++ b/pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go @@ -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 { }