Module: Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role
- Defined in:
- proto_docs/google/cloud/dataproc/v1/shared.rb
Overview
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.
Constant Summary collapse
- ROLE_UNSPECIFIED =
Role is unspecified.
0
- DEFAULT =
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 theDEFAULT
role. For example, work assigned to theCONTROLLER
role will be assigned to the node pool with theDEFAULT
role if no node pool has theCONTROLLER
role. 1
- CONTROLLER =
Run work associated with the Dataproc control plane (for example, controllers and webhooks). Very low resource requirements.
2
- SPARK_DRIVER =
Run work associated with a Spark driver of a job.
3
- SPARK_EXECUTOR =
Run work associated with a Spark executor of a job.
4