-
-
Notifications
You must be signed in to change notification settings - Fork 37
Added initial support for spot instances #66
base: master
Are you sure you want to change the base?
Conversation
Thanks for the PR @stumitchell ! I suspect things aren't passing CI because Travis times out. Looking briefly over the code it looks like things probably halt in I think we also want defaults to not use spot pricing: Because this doesn't require running machine the unittest suite can be fully executed with the following:
or a particular file:
or a particular function in a file:
|
Looks like master is failing with the same errors I am getting on this pr, so I'll wait till it is fixed |
@stumitchell thanks for looking at CI. Resolving shortly |
@stumitchell finished fixing CI. Rebase against master and push to trigger CI again |
da39137
to
90ce788
Compare
Changed default spot_count
90ce788
to
ae76aa1
Compare
Right this now passes but the new code is not covered by tests. Also I think the code would benefit if one of the team looked at it to add coverage, and perhaps check some of the corner cases i.e. --count=0 (if you don't have any non spots) and the placement of try except blocks. |
Any progress on this? It would be nice if this worked. |
I don't know of anything. If anyone has something a PR would be most
welcome.
…On Thu, Dec 28, 2017 at 1:30 PM, swamidass ***@***.***> wrote:
Any progress on this? It would be nice if this worked.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#66 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASszH6VxmjS-2zjs9yLRofy0g0fdWyjks5tFAiKgaJpZM4Lx6k9>
.
|
Ah, my apologies, I see now that this is a PR. It looks like this PR needs help with testing and coverage as mentioned by @stumitchell above. If you have time to help with this @swamidass that would be great |
In the mean time, I've generally been recommending Kubernetes to people: http://dask.pydata.org/en/latest/setup/kubernetes.html |
Hi I really don't know how the test harness is setup but this code does work in practice,
If I was to improve it I would make sure the try except handling for ec2 errors is around the right code,
and I would issue a warning if there are 0 non-spot instances (actually I haven't tested that so that probably fails too)
Stu