Google Cloud Dataproc V1 Client - Class Preemptibility (2.2.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class Preemptibility.

Controls the use of preemptible instances within the group.

Protobuf type google.cloud.dataproc.v1.InstanceGroupConfig.Preemptibility

Namespace

Google \ Cloud \ Dataproc \ V1 \ InstanceGroupConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PREEMPTIBILITY_UNSPECIFIED

Value: 0

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

Generated from protobuf enum PREEMPTIBILITY_UNSPECIFIED = 0;

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.

Generated from protobuf enum NON_PREEMPTIBLE = 1;

PREEMPTIBLE

Value: 2

Instances are preemptible.

This option is allowed only for secondary worker groups.

Generated from protobuf enum PREEMPTIBLE = 2;

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.

Generated from protobuf enum SPOT = 3;