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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.