Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::InstanceGroupConfig::Preemptibility (v0.18.1)

Reference documentation and code samples for the Cloud Dataproc V1 API module Google::Cloud::Dataproc::V1::InstanceGroupConfig::Preemptibility.

Controls the use of preemptible instances within the group.

Constants

PREEMPTIBILITY_UNSPECIFIED

value: 0
Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.

NON_PREEMPTIBLE

value: 1
Instances are non-preemptible.

This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.

PREEMPTIBLE

value: 2
Instances are preemptible.

This option is allowed only for secondary worker groups.

SPOT

value: 3
Instances are Spot VMs.

This option is allowed only for secondary worker groups. Spot VMs are the latest version of preemptible VMs, and provide additional features.