bloq / cloud-cli

☁️💻
MIT License
0 stars 0 forks source link

Remove incorrect on-demand capacity default #187

Closed gabmontes closed 2 years ago

gabmontes commented 2 years ago

While the API was correctly creating clusters with all-on-demand instances when only the total capacity was specified, the CLI was sending an incorrect default of 1, forcing the API to fill in the rest of the capacity with spot instances.

This PR removes the default on-demand capacity in the CLI to prevent creating clusters with spot instances by accident.

Process checklist

Metrics

Actual effort: 0.5h