Fix typo allcoated -> allocated

This commit is contained in:
dkkb 2022-02-18 13:40:51 +08:00
parent e777f72163
commit e0582320c1
3 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.