enable using ephemeral disks by default (#461)

This commit is contained in:
bmc-msft
2021-03-30 18:48:44 -04:00
committed by GitHub
parent 3eb7c8643b
commit 3096f99e86
8 changed files with 31 additions and 1 deletions

View File

@ -75,6 +75,7 @@ def scale_up(pool: Pool, scalesets: List[Scaleset], nodes_needed: int) -> None:
region=autoscale_config.region,
size=max_nodes_scaleset,
spot_instances=autoscale_config.spot_instances,
ephemeral_os_disks=autoscale_config.ephemeral_os_disks,
tags={"pool": pool.name},
)
nodes_needed -= max_nodes_scaleset