Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role (v1.0.1)

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

Role specifies the tasks that will run on the node pool. Roles can be specific to workloads. Exactly one GkeNodePoolTarget within the virtual cluster must have the DEFAULT role, which is used to run all workloads that are not associated with a node pool.

Constants

ROLE_UNSPECIFIED

value: 0
Role is unspecified.

DEFAULT

value: 1
At least one node pool must have the DEFAULT role. Work assigned to a role that is not associated with a node pool is assigned to the node pool with the DEFAULT role. For example, work assigned to the CONTROLLER role will be assigned to the node pool with the DEFAULT role if no node pool has the CONTROLLER role.

CONTROLLER

value: 2
Run work associated with the Dataproc control plane (for example, controllers and webhooks). Very low resource requirements.

SPARK_DRIVER

value: 3
Run work associated with a Spark driver of a job.

SPARK_EXECUTOR

value: 4
Run work associated with a Spark executor of a job.