Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

What happens when a batch task is preempted on a spot machine?

If the task is still running when the machine is preempted, will this task be scheduled to run again later? 

Solved Solved
1 17 1,560
1 ACCEPTED SOLUTION

Batch is considering a conditional retry capability, in which you would be able to specify which failure scenarios to retry on. You would then be able to specify to retry on preemption specifically. This sounds like it would address both of your use cases, but let us know your thoughts.

View solution in original post