Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role (v0.13.0)

Reference documentation and code samples for the Cloud Dataproc V1 API module Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role.

Role specifies whose tasks will run on the NodePool. The roles can be specific to workloads. Exactly one GkeNodePoolTarget within the VirtualCluster must have 'default' role, which is used to run all workloads that are not associated with a NodePool.

Constants

ROLE_UNSPECIFIED

value: 0
Role is unspecified.

DEFAULT

value: 1
Any roles that are not directly assigned to a NodePool run on the default role's NodePool.

CONTROLLER

value: 2
Run controllers and webhooks.

SPARK_DRIVER

value: 3
Run spark driver.

SPARK_EXECUTOR

value: 4
Run spark executors.