mirror of https://github.com/kubernetes/kops.git
Align AWS and kops validation for spot allocation strategy
Signed-off-by: jakub.coufal <jakub.coufal@wandera.com>
This commit is contained in:
parent
89feb2d71b
commit
9fe33bdb19
|
@ -154,10 +154,10 @@ type InstanceGroupSpec struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// SpotAllocationStrategyLowestPrices indicates a lowest price strategy
|
// SpotAllocationStrategyLowestPrices indicates a lowest-price strategy
|
||||||
SpotAllocationStrategyLowestPrices = "LowestPrice"
|
SpotAllocationStrategyLowestPrices = "lowest-price"
|
||||||
// SpotAllocationStrategyDiversified indicates a diversified strategy
|
// SpotAllocationStrategyDiversified indicates a diversified strategy
|
||||||
SpotAllocationStrategyDiversified = "Diversified"
|
SpotAllocationStrategyDiversified = "diversified"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SpotAllocationStrategies is a collection of supported strategies
|
// SpotAllocationStrategies is a collection of supported strategies
|
||||||
|
|
|
@ -141,10 +141,10 @@ type InstanceGroupSpec struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// SpotAllocationStrategyLowestPrices indicates a lowest price strategy
|
// SpotAllocationStrategyLowestPrices indicates a lowest-price strategy
|
||||||
SpotAllocationStrategyLowestPrices = "LowestPrice"
|
SpotAllocationStrategyLowestPrices = "lowest-price"
|
||||||
// SpotAllocationStrategyDiversified indicates a diversified strategy
|
// SpotAllocationStrategyDiversified indicates a diversified strategy
|
||||||
SpotAllocationStrategyDiversified = "Diversified"
|
SpotAllocationStrategyDiversified = "diversified"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SpotAllocationStrategies is a collection of supported strategies
|
// SpotAllocationStrategies is a collection of supported strategies
|
||||||
|
|
|
@ -148,10 +148,10 @@ type InstanceGroupSpec struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// SpotAllocationStrategyLowestPrices indicates a lowest price strategy
|
// SpotAllocationStrategyLowestPrices indicates a lowest-price strategy
|
||||||
SpotAllocationStrategyLowestPrices = "LowestPrice"
|
SpotAllocationStrategyLowestPrices = "lowest-price"
|
||||||
// SpotAllocationStrategyDiversified indicates a diversified strategy
|
// SpotAllocationStrategyDiversified indicates a diversified strategy
|
||||||
SpotAllocationStrategyDiversified = "Diversified"
|
SpotAllocationStrategyDiversified = "diversified"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SpotAllocationStrategies is a collection of supported strategies
|
// SpotAllocationStrategies is a collection of supported strategies
|
||||||
|
|
Loading…
Reference in New Issue