So I think that doesn’t quite work because pulumi will hang then “forever” if the spot price is too low—which may be the status quo. Also, just because the instances are fulfilled, doesn’t mean they’re up yet.
purple-appointment-43233
08/07/2018, 10:43 PM
The use case for me is that I have a cluster running jobs, and when I change the cluster configuration, I’d like to continue to have jobs run.
w
white-balloon-205
08/07/2018, 10:58 PM
Yeah - the use case totally makes sense.
pulumi will hang then “forever”
Technically, we only wait 10m and then fail the update. Which I think is what you want here - since otherwise you would have downtime, right?
Also, just because the instances are fulfilled, doesn’t mean they’re up yet.
Is this the missing piece then - that you don't want to allow the replacement to progress until the newly created fleet is "healthy", where that is defined by some custom logic you provide?
p
purple-appointment-43233
08/08/2018, 5:52 PM
Approximately, yes. And on the fulfillment issue: Also, since it’s a spot fleet, what I really want is status quo. So if the current fleet is preempted I don’t care if the new request isn’t immediately fulfilled. If there are hosts running under the old request, I want the new request to bring up hosts first.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.