diff --git a/pkg/scheduler/apis/config/types.go b/pkg/scheduler/apis/config/types.go index b859fc85fb3..b35372b7244 100644 --- a/pkg/scheduler/apis/config/types.go +++ b/pkg/scheduler/apis/config/types.go @@ -80,7 +80,7 @@ type KubeSchedulerConfiguration struct { // DisablePreemption disables the pod preemption feature. DisablePreemption bool - // PercentageOfNodeToScore is the percentage of all nodes that once found feasible + // PercentageOfNodesToScore is the percentage of all nodes that once found feasible // for running a pod, the scheduler stops its search for more feasible nodes in // the cluster. This helps improve scheduler's performance. Scheduler always tries to find // at least "minFeasibleNodesToFind" feasible nodes no matter what the value of this flag is. diff --git a/staging/src/k8s.io/kube-scheduler/config/v1beta1/types.go b/staging/src/k8s.io/kube-scheduler/config/v1beta1/types.go index dc6e52c30dc..44e5051a0dc 100644 --- a/staging/src/k8s.io/kube-scheduler/config/v1beta1/types.go +++ b/staging/src/k8s.io/kube-scheduler/config/v1beta1/types.go @@ -64,7 +64,7 @@ type KubeSchedulerConfiguration struct { // DisablePreemption disables the pod preemption feature. DisablePreemption *bool `json:"disablePreemption,omitempty"` - // PercentageOfNodeToScore is the percentage of all nodes that once found feasible + // PercentageOfNodesToScore is the percentage of all nodes that once found feasible // for running a pod, the scheduler stops its search for more feasible nodes in // the cluster. This helps improve scheduler's performance. Scheduler always tries to find // at least "minFeasibleNodesToFind" feasible nodes no matter what the value of this flag is.