Explicitly disable live migration for all GCE job VMs
@@ -1090,6 +1090,7 @@ func (p *gceProvider) buildInstance(ctx gocontext.Context, startAttributes *Star
Scheduling: &compute.Scheduling{
Preemptible: p.ic.Preemptible,
AutomaticRestart: googleapi.Bool(false),
+ OnHostMaintenance: "TERMINATE",
},
MachineType: machineType.SelfLink,
Name: hostname,
