This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
Refactor Scaleset Scaling Params - Change Size to MaxSize #2227
Labels
enhancement
New feature or request
Simple request to update the current CLI commands and parameters for scaleset create. Currently
size
is set to bothdefault
andMaxSize
. We propose adding adefault
parameter and setting the meaning ofsize
toMaxSize
.Current:
auto_scale = requests.AutoScaleOptions(
min=min_instances,
max=size,
default=size,
scale_out_amount=scale_out_amount,
scale_out_cooldown=scale_out_cooldown,
scale_in_amount=scale_in_amount,
scale_in_cooldown=scale_in_cooldown,
)
Proposed:
auto_scale = requests.AutoScaleOptions(
min=min_instances,
max=size,
default=default_instances (new flag),
scale_out_amount=scale_out_amount,
scale_out_cooldown=scale_out_cooldown,
scale_in_amount=scale_in_amount,
scale_in_cooldown=scale_in_cooldown,
)
The text was updated successfully, but these errors were encountered: