Class: Google::Cloud::Dataproc::V1::GkeNodePoolTarget
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::GkeNodePoolTarget
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1/shared.rb
Overview
GKE node pools that Dataproc workloads run on.
Defined Under Namespace
Modules: Role
Instance Attribute Summary collapse
-
#node_pool ⇒ ::String
Required.
-
#node_pool_config ⇒ ::Google::Cloud::Dataproc::V1::GkeNodePoolConfig
Input only.
-
#roles ⇒ ::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role>
Required.
Instance Attribute Details
#node_pool ⇒ ::String
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 377 class GkeNodePoolTarget include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # `Role` specifies the tasks that will run on the node pool. Roles can be # specific to workloads. Exactly one # {::Google::Cloud::Dataproc::V1::GkeNodePoolTarget 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. module Role # Role is unspecified. ROLE_UNSPECIFIED = 0 # 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. DEFAULT = 1 # Run work associated with the Dataproc control plane (for example, # controllers and webhooks). Very low resource requirements. CONTROLLER = 2 # Run work associated with a Spark driver of a job. SPARK_DRIVER = 3 # Run work associated with a Spark executor of a job. SPARK_EXECUTOR = 4 end end |
#node_pool_config ⇒ ::Google::Cloud::Dataproc::V1::GkeNodePoolConfig
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 377 class GkeNodePoolTarget include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # `Role` specifies the tasks that will run on the node pool. Roles can be # specific to workloads. Exactly one # {::Google::Cloud::Dataproc::V1::GkeNodePoolTarget 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. module Role # Role is unspecified. ROLE_UNSPECIFIED = 0 # 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. DEFAULT = 1 # Run work associated with the Dataproc control plane (for example, # controllers and webhooks). Very low resource requirements. CONTROLLER = 2 # Run work associated with a Spark driver of a job. SPARK_DRIVER = 3 # Run work associated with a Spark executor of a job. SPARK_EXECUTOR = 4 end end |
#roles ⇒ ::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role>
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 377 class GkeNodePoolTarget include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # `Role` specifies the tasks that will run on the node pool. Roles can be # specific to workloads. Exactly one # {::Google::Cloud::Dataproc::V1::GkeNodePoolTarget 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. module Role # Role is unspecified. ROLE_UNSPECIFIED = 0 # 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. DEFAULT = 1 # Run work associated with the Dataproc control plane (for example, # controllers and webhooks). Very low resource requirements. CONTROLLER = 2 # Run work associated with a Spark driver of a job. SPARK_DRIVER = 3 # Run work associated with a Spark executor of a job. SPARK_EXECUTOR = 4 end end |