Align AWS and kops validation for spot allocation strategy

Signed-off-by: jakub.coufal <jakub.coufal@wandera.com>
This commit is contained in:
jakub.coufal 2019-09-24 16:39:50 +02:00
parent 89feb2d71b
commit 9fe33bdb19
3 changed files with 9 additions and 9 deletions

View File

@ -154,10 +154,10 @@ type InstanceGroupSpec struct {
}
const (
// SpotAllocationStrategyLowestPrices indicates a lowest price strategy
SpotAllocationStrategyLowestPrices = "LowestPrice"
// SpotAllocationStrategyLowestPrices indicates a lowest-price strategy
SpotAllocationStrategyLowestPrices = "lowest-price"
// SpotAllocationStrategyDiversified indicates a diversified strategy
SpotAllocationStrategyDiversified = "Diversified"
SpotAllocationStrategyDiversified = "diversified"
)
// SpotAllocationStrategies is a collection of supported strategies

View File

@ -141,10 +141,10 @@ type InstanceGroupSpec struct {
}
const (
// SpotAllocationStrategyLowestPrices indicates a lowest price strategy
SpotAllocationStrategyLowestPrices = "LowestPrice"
// SpotAllocationStrategyLowestPrices indicates a lowest-price strategy
SpotAllocationStrategyLowestPrices = "lowest-price"
// SpotAllocationStrategyDiversified indicates a diversified strategy
SpotAllocationStrategyDiversified = "Diversified"
SpotAllocationStrategyDiversified = "diversified"
)
// SpotAllocationStrategies is a collection of supported strategies

View File

@ -148,10 +148,10 @@ type InstanceGroupSpec struct {
}
const (
// SpotAllocationStrategyLowestPrices indicates a lowest price strategy
SpotAllocationStrategyLowestPrices = "LowestPrice"
// SpotAllocationStrategyLowestPrices indicates a lowest-price strategy
SpotAllocationStrategyLowestPrices = "lowest-price"
// SpotAllocationStrategyDiversified indicates a diversified strategy
SpotAllocationStrategyDiversified = "Diversified"
SpotAllocationStrategyDiversified = "diversified"
)
// SpotAllocationStrategies is a collection of supported strategies