Reference documentation and code samples for the Google Cloud Dataproc v1 API enum GkeNodePoolTarget.Types.Role.
Role specifies the tasks that will run on the node pool. Roles can be
specific to workloads. Exactly one
[GkeNodePoolTarget][google.cloud.dataproc.v1.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.
Run work associated with the Dataproc control plane (for example,
controllers and webhooks). Very low resource requirements.
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 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.
SparkDriver
Run work associated with a Spark driver of a job.
SparkExecutor
Run work associated with a Spark executor of a job.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides reference documentation for the `GkeNodePoolTarget.Types.Role` enum within the Google Cloud Dataproc v1 API, detailing the different roles a node pool can have."],["The latest version of the documentation is 5.17.0, and historical versions are available, ranging down to 3.1.0."],["The `GkeNodePoolTarget.Types.Role` enum specifies the roles that dictate what type of tasks run on a node pool, including `DEFAULT`, `CONTROLLER`, `SPARKDRIVER`, and `SPARKEXECUTOR`, each with specific workload assignments."],["The `DEFAULT` role is mandatory for at least one node pool within the virtual cluster, as it handles workloads not explicitly assigned to other role-specific node pools."],["The `CONTROLLER` role handles operations related to the Dataproc control plane, including webhooks, and this role is considered to have very low resource needs."]]],[]]