diff --git a/pkg/scheduler/apis/config/types_pluginargs.go b/pkg/scheduler/apis/config/types_pluginargs.go index a8143e019d7..e3f909da3df 100644 --- a/pkg/scheduler/apis/config/types_pluginargs.go +++ b/pkg/scheduler/apis/config/types_pluginargs.go @@ -184,9 +184,9 @@ type NodeAffinityArgs struct { type ScoringStrategyType string const ( - // LeastAllocated strategy prioritizes nodes with least allcoated resources. + // LeastAllocated strategy prioritizes nodes with least allocated resources. LeastAllocated ScoringStrategyType = "LeastAllocated" - // MostAllocated strategy prioritizes nodes with most allcoated resources. + // MostAllocated strategy prioritizes nodes with most allocated resources. MostAllocated ScoringStrategyType = "MostAllocated" // RequestedToCapacityRatio strategy allows specifying a custom shape function // to score nodes based on the request to capacity ratio. diff --git a/staging/src/k8s.io/kube-scheduler/config/v1beta2/types_pluginargs.go b/staging/src/k8s.io/kube-scheduler/config/v1beta2/types_pluginargs.go index 34768d3c9ab..feb715497a5 100644 --- a/staging/src/k8s.io/kube-scheduler/config/v1beta2/types_pluginargs.go +++ b/staging/src/k8s.io/kube-scheduler/config/v1beta2/types_pluginargs.go @@ -192,9 +192,9 @@ type NodeAffinityArgs struct { type ScoringStrategyType string const ( - // LeastAllocated strategy prioritizes nodes with least allcoated resources. + // LeastAllocated strategy prioritizes nodes with least allocated resources. LeastAllocated ScoringStrategyType = "LeastAllocated" - // MostAllocated strategy prioritizes nodes with most allcoated resources. + // MostAllocated strategy prioritizes nodes with most allocated resources. MostAllocated ScoringStrategyType = "MostAllocated" // RequestedToCapacityRatio strategy allows specifying a custom shape function // to score nodes based on the request to capacity ratio. diff --git a/staging/src/k8s.io/kube-scheduler/config/v1beta3/types_pluginargs.go b/staging/src/k8s.io/kube-scheduler/config/v1beta3/types_pluginargs.go index 2c3fa4cbbe0..e5451509f91 100644 --- a/staging/src/k8s.io/kube-scheduler/config/v1beta3/types_pluginargs.go +++ b/staging/src/k8s.io/kube-scheduler/config/v1beta3/types_pluginargs.go @@ -192,9 +192,9 @@ type NodeAffinityArgs struct { type ScoringStrategyType string const ( - // LeastAllocated strategy prioritizes nodes with least allcoated resources. + // LeastAllocated strategy prioritizes nodes with least allocated resources. LeastAllocated ScoringStrategyType = "LeastAllocated" - // MostAllocated strategy prioritizes nodes with most allcoated resources. + // MostAllocated strategy prioritizes nodes with most allocated resources. MostAllocated ScoringStrategyType = "MostAllocated" // RequestedToCapacityRatio strategy allows specifying a custom shape function // to score nodes based on the request to capacity ratio.