Feature #16106
closed[arvados-dispatch-cloud] Azure driver support for preemptible instances
Description
When creating instances, source:lib/cloud/azure should create a preemptible instance if the instance type's Preemptible flag is set.
arvados-dispatch-cloud already knows how to choose a preemptible type if the container's scheduling_constraints want one; see ChooseInstanceType() in source:lib/dispatchcloud/node_size.go
Updated by Tom Clegg almost 5 years ago
- Related to Idea #13908: [Epic] Replace SLURM for cloud job scheduling/dispatching added
Updated by Ward Vandewege over 4 years ago
- Target version deleted (
To Be Groomed)
Updated by Peter Amstutz about 4 years ago
- Target version set to 2020-10-21 Sprint
Updated by Peter Amstutz about 4 years ago
- Target version changed from 2020-10-21 Sprint to 2020-11-04 Sprint
Updated by Peter Amstutz about 4 years ago
- Target version changed from 2020-11-04 Sprint to 2020-10-21 Sprint
Updated by Peter Amstutz about 4 years ago
- Status changed from New to In Progress
Updated by Ward Vandewege about 4 years ago
- Target version changed from 2020-10-21 Sprint to 2020-11-04 Sprint
Updated by Peter Amstutz about 4 years ago
- Target version changed from 2020-11-04 Sprint to 2020-11-18
Updated by Peter Amstutz about 4 years ago
- Target version changed from 2020-11-18 to 2020-12-02 Sprint
Updated by Peter Amstutz about 4 years ago
- Target version changed from 2020-12-02 Sprint to 2020-12-16 Sprint
Updated by Peter Amstutz about 4 years ago
- Target version changed from 2020-12-16 Sprint to 2021-01-06 Sprint
Updated by Peter Amstutz almost 4 years ago
- Target version changed from 2021-01-06 Sprint to 2021-01-20 Sprint
Updated by Ward Vandewege almost 4 years ago
Ready for review at c1a84bf6f6c570cc632a5ba8c6406543e2206e3a on branch 16106-azure-spot-instance-support. In addition to the automated tests, also tested on ce8i5.
Updated by Ward Vandewege almost 4 years ago
- Related to Feature #17249: Make costanalyzer aware of preemptable instances added
Updated by Tom Clegg almost 4 years ago
Preemptible is misspelled "[Pp]reemptable" a couple of times on doc page.
Nit: In source:lib/cloud/azure/azure.go I think it would be good form to put the maxPrice var inside the if{} block ("var maxPrice float64 = 1" or "maxPrice := float64(-1)") - especially since we're storing a pointer to it, using it later would be wrong (and admittedly unlikely).
Rest LGTM. Thanks!
Updated by Ward Vandewege almost 4 years ago
Tom Clegg wrote:
Preemptible is misspelled "[Pp]reemptable" a couple of times on doc page.
Nit: In source:lib/cloud/azure/azure.go I think it would be good form to put the maxPrice var inside the if{} block ("var maxPrice float64 =
1" or "maxPrice := float64(-1)") -especially since we're storing a pointer to it, using it later would be wrong (and admittedly unlikely).Rest LGTM. Thanks!
Great, nice catch, both changes made, and merged.
Updated by Ward Vandewege almost 4 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|2df04c08ce5a0c4e82345d3e57404c040bb6eee4.