# whether to use spot instances in the cluster; spot instances are not guaranteed to be available so please take that into account for production clusters (default: false)
# additional instances with identical or better specs than the primary instance type (defaults to only the primary instance)
instance_distribution: # [similar_instance_type_1, similar_instance_type_2]
# minimum number of on demand instances (default: 0)
on_demand_base_capacity: 0
# percentage of on demand instances to use after the on demand base capacity has been met [0, 100] (default: 50)
# note: setting this to 0 may hinder cluster scale up when spot instances are not available
on_demand_percentage_above_base_capacity: 0
# max price for spot instances (default: the on-demand price of the primary instance type)
# number of spot instance pools across which to allocate spot instances [1, 20] (default: number of instances in instance distribution)
# fallback to on-demand instances if spot instances were unable to be allocated (default: true)