Controls the use of preemptible instances within the group.
Values:
PREEMPTIBILITY_UNSPECIFIED (0):
Preemptibility is unspecified, the system
will choose the appropriate setting for each
instance group.
NON_PREEMPTIBLE (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 (2):
Instances are preemptible.
This option is allowed only for [secondary worker]
(https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms)
groups.
SPOT (3):
Instances are [Spot VMs]
(https://cloud.google.com/compute/docs/instances/spot).
This option is allowed only for [secondary worker]
(https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms)
groups. Spot VMs are the latest version of [preemptible VMs]
(https://cloud.google.com/compute/docs/instances/preemptible),
and provide additional features.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-03 UTC."],[],[]]