Class: Google::Cloud::Dataproc::V1::GkeNodePoolConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::GkeNodePoolConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1/shared.rb
Overview
The configuration of a GKE NodePool used by a Dataproc-on-GKE cluster.
Defined Under Namespace
Classes: GkeNodeConfig, GkeNodePoolAcceleratorConfig, GkeNodePoolAutoscalingConfig
Instance Attribute Summary collapse
-
#autoscaling ⇒ ::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAutoscalingConfig
Optional.
-
#config ⇒ ::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodeConfig
Optional.
-
#locations ⇒ ::Array<::String>
Optional.
Instance Attribute Details
#autoscaling ⇒ ::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAutoscalingConfig
Returns Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present.
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 283 class GkeNodePoolConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Parameters that describe cluster nodes. # @!attribute [rw] machine_type # @return [::String] # Optional. The name of a Compute Engine [machine # type](https://cloud.google.com/compute/docs/machine-types). # @!attribute [rw] preemptible # @return [::Boolean] # Optional. Whether the nodes are created as [preemptible VM # instances](https://cloud.google.com/compute/docs/instances/preemptible). # @!attribute [rw] local_ssd_count # @return [::Integer] # Optional. The number of local SSD disks to attach to the node, which is limited by # the maximum number of disks allowable per zone (see [Adding Local # SSDs](https://cloud.google.com/compute/docs/disks/local-ssd)). # @!attribute [rw] accelerators # @return [::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig>] # Optional. A list of [hardware # accelerators](https://cloud.google.com/compute/docs/gpus) to attach to # each node. # @!attribute [rw] min_cpu_platform # @return [::String] # Optional. [Minimum CPU # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) # to be used by this instance. The instance may be scheduled on the # specified or a newer CPU platform. Specify the friendly names of CPU # platforms, such as "Intel Haswell"` or Intel Sandy Bridge". class GkeNodeConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request # for a NodePool. # @!attribute [rw] accelerator_count # @return [::Integer] # The number of accelerator cards exposed to an instance. # @!attribute [rw] accelerator_type # @return [::String] # The accelerator type resource namename (see GPUs on Compute Engine). class GkeNodePoolAcceleratorConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # GkeNodePoolAutoscaling contains information the cluster autoscaler needs to # adjust the size of the node pool to the current cluster usage. # @!attribute [rw] min_node_count # @return [::Integer] # The minimum number of nodes in the NodePool. Must be >= 0 and <= # max_node_count. # @!attribute [rw] max_node_count # @return [::Integer] # The maximum number of nodes in the NodePool. Must be >= min_node_count. # **Note:** Quota must be sufficient to scale up the cluster. class GkeNodePoolAutoscalingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#config ⇒ ::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodeConfig
Returns Optional. The node pool configuration.
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 283 class GkeNodePoolConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Parameters that describe cluster nodes. # @!attribute [rw] machine_type # @return [::String] # Optional. The name of a Compute Engine [machine # type](https://cloud.google.com/compute/docs/machine-types). # @!attribute [rw] preemptible # @return [::Boolean] # Optional. Whether the nodes are created as [preemptible VM # instances](https://cloud.google.com/compute/docs/instances/preemptible). # @!attribute [rw] local_ssd_count # @return [::Integer] # Optional. The number of local SSD disks to attach to the node, which is limited by # the maximum number of disks allowable per zone (see [Adding Local # SSDs](https://cloud.google.com/compute/docs/disks/local-ssd)). # @!attribute [rw] accelerators # @return [::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig>] # Optional. A list of [hardware # accelerators](https://cloud.google.com/compute/docs/gpus) to attach to # each node. # @!attribute [rw] min_cpu_platform # @return [::String] # Optional. [Minimum CPU # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) # to be used by this instance. The instance may be scheduled on the # specified or a newer CPU platform. Specify the friendly names of CPU # platforms, such as "Intel Haswell"` or Intel Sandy Bridge". class GkeNodeConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request # for a NodePool. # @!attribute [rw] accelerator_count # @return [::Integer] # The number of accelerator cards exposed to an instance. # @!attribute [rw] accelerator_type # @return [::String] # The accelerator type resource namename (see GPUs on Compute Engine). class GkeNodePoolAcceleratorConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # GkeNodePoolAutoscaling contains information the cluster autoscaler needs to # adjust the size of the node pool to the current cluster usage. # @!attribute [rw] min_node_count # @return [::Integer] # The minimum number of nodes in the NodePool. Must be >= 0 and <= # max_node_count. # @!attribute [rw] max_node_count # @return [::Integer] # The maximum number of nodes in the NodePool. Must be >= min_node_count. # **Note:** Quota must be sufficient to scale up the cluster. class GkeNodePoolAutoscalingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#locations ⇒ ::Array<::String>
Returns Optional. The list of Compute Engine zones where NodePool's nodes will be located.
Note: Currently, only one zone may be specified.
If a location is not specified during NodePool creation, Dataproc will choose a location.
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 283 class GkeNodePoolConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Parameters that describe cluster nodes. # @!attribute [rw] machine_type # @return [::String] # Optional. The name of a Compute Engine [machine # type](https://cloud.google.com/compute/docs/machine-types). # @!attribute [rw] preemptible # @return [::Boolean] # Optional. Whether the nodes are created as [preemptible VM # instances](https://cloud.google.com/compute/docs/instances/preemptible). # @!attribute [rw] local_ssd_count # @return [::Integer] # Optional. The number of local SSD disks to attach to the node, which is limited by # the maximum number of disks allowable per zone (see [Adding Local # SSDs](https://cloud.google.com/compute/docs/disks/local-ssd)). # @!attribute [rw] accelerators # @return [::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig>] # Optional. A list of [hardware # accelerators](https://cloud.google.com/compute/docs/gpus) to attach to # each node. # @!attribute [rw] min_cpu_platform # @return [::String] # Optional. [Minimum CPU # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) # to be used by this instance. The instance may be scheduled on the # specified or a newer CPU platform. Specify the friendly names of CPU # platforms, such as "Intel Haswell"` or Intel Sandy Bridge". class GkeNodeConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request # for a NodePool. # @!attribute [rw] accelerator_count # @return [::Integer] # The number of accelerator cards exposed to an instance. # @!attribute [rw] accelerator_type # @return [::String] # The accelerator type resource namename (see GPUs on Compute Engine). class GkeNodePoolAcceleratorConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # GkeNodePoolAutoscaling contains information the cluster autoscaler needs to # adjust the size of the node pool to the current cluster usage. # @!attribute [rw] min_node_count # @return [::Integer] # The minimum number of nodes in the NodePool. Must be >= 0 and <= # max_node_count. # @!attribute [rw] max_node_count # @return [::Integer] # The maximum number of nodes in the NodePool. Must be >= min_node_count. # **Note:** Quota must be sufficient to scale up the cluster. class GkeNodePoolAutoscalingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |