mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-20 16:35:12 +00:00
Merge pull request #108205 from dkkb/fix/typo
Fix typo allcoated -> allocated
This commit is contained in:
@@ -184,9 +184,9 @@ type NodeAffinityArgs struct {
|
|||||||
type ScoringStrategyType string
|
type ScoringStrategyType string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// LeastAllocated strategy prioritizes nodes with least allcoated resources.
|
// LeastAllocated strategy prioritizes nodes with least allocated resources.
|
||||||
LeastAllocated ScoringStrategyType = "LeastAllocated"
|
LeastAllocated ScoringStrategyType = "LeastAllocated"
|
||||||
// MostAllocated strategy prioritizes nodes with most allcoated resources.
|
// MostAllocated strategy prioritizes nodes with most allocated resources.
|
||||||
MostAllocated ScoringStrategyType = "MostAllocated"
|
MostAllocated ScoringStrategyType = "MostAllocated"
|
||||||
// RequestedToCapacityRatio strategy allows specifying a custom shape function
|
// RequestedToCapacityRatio strategy allows specifying a custom shape function
|
||||||
// to score nodes based on the request to capacity ratio.
|
// to score nodes based on the request to capacity ratio.
|
||||||
|
|||||||
@@ -192,9 +192,9 @@ type NodeAffinityArgs struct {
|
|||||||
type ScoringStrategyType string
|
type ScoringStrategyType string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// LeastAllocated strategy prioritizes nodes with least allcoated resources.
|
// LeastAllocated strategy prioritizes nodes with least allocated resources.
|
||||||
LeastAllocated ScoringStrategyType = "LeastAllocated"
|
LeastAllocated ScoringStrategyType = "LeastAllocated"
|
||||||
// MostAllocated strategy prioritizes nodes with most allcoated resources.
|
// MostAllocated strategy prioritizes nodes with most allocated resources.
|
||||||
MostAllocated ScoringStrategyType = "MostAllocated"
|
MostAllocated ScoringStrategyType = "MostAllocated"
|
||||||
// RequestedToCapacityRatio strategy allows specifying a custom shape function
|
// RequestedToCapacityRatio strategy allows specifying a custom shape function
|
||||||
// to score nodes based on the request to capacity ratio.
|
// to score nodes based on the request to capacity ratio.
|
||||||
|
|||||||
@@ -192,9 +192,9 @@ type NodeAffinityArgs struct {
|
|||||||
type ScoringStrategyType string
|
type ScoringStrategyType string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// LeastAllocated strategy prioritizes nodes with least allcoated resources.
|
// LeastAllocated strategy prioritizes nodes with least allocated resources.
|
||||||
LeastAllocated ScoringStrategyType = "LeastAllocated"
|
LeastAllocated ScoringStrategyType = "LeastAllocated"
|
||||||
// MostAllocated strategy prioritizes nodes with most allcoated resources.
|
// MostAllocated strategy prioritizes nodes with most allocated resources.
|
||||||
MostAllocated ScoringStrategyType = "MostAllocated"
|
MostAllocated ScoringStrategyType = "MostAllocated"
|
||||||
// RequestedToCapacityRatio strategy allows specifying a custom shape function
|
// RequestedToCapacityRatio strategy allows specifying a custom shape function
|
||||||
// to score nodes based on the request to capacity ratio.
|
// to score nodes based on the request to capacity ratio.
|
||||||
|
|||||||
Reference in New Issue
Block a user