Reference documentation and code samples for the Google Cloud Dataproc V1 Client class 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.
Protobuf type google.cloud.dataproc.v1.GkeNodePoolTarget.Role
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ROLE_UNSPECIFIED
Value: 0
Role is unspecified.
Generated from protobuf enum ROLE_UNSPECIFIED = 0;
PBDEFAULT
Value: 1
Any roles that are not directly assigned to a NodePool run on the
default
role's NodePool.
Generated from protobuf enum DEFAULT = 1;
CONTROLLER
Value: 2
Run controllers and webhooks.
Generated from protobuf enum CONTROLLER = 2;
SPARK_DRIVER
Value: 3
Run spark driver.
Generated from protobuf enum SPARK_DRIVER = 3;
SPARK_EXECUTOR
Value: 4
Run spark executors.
Generated from protobuf enum SPARK_EXECUTOR = 4;