mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #108205 from dkkb/fix/typo
Fix typo allcoated -> allocated
This commit is contained in:
commit
a2adaf75b7
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user