Skip to content

Commit 77cd8f1

Browse files
Google APIscopybara-github
authored andcommitted
feat: add SPOT to Preemptibility enum
PiperOrigin-RevId: 503019826
1 parent a7ffc3b commit 77cd8f1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

google/cloud/dataproc/v1/clusters.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,16 @@ message InstanceGroupConfig {
582582
// (https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms)
583583
// groups.
584584
PREEMPTIBLE = 2;
585+
586+
// Instances are [Spot VMs]
587+
// (https://cloud.google.com/compute/docs/instances/spot).
588+
//
589+
// This option is allowed only for [secondary worker]
590+
// (https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms)
591+
// groups. Spot VMs are the latest version of [preemptible VMs]
592+
// (https://cloud.google.com/compute/docs/instances/preemptible), and
593+
// provide additional features.
594+
SPOT = 3;
585595
}
586596

587597
// Optional. The number of VM instances in the instance group.

0 commit comments

Comments
 (0)