Class: Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodeConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodeConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1/shared.rb
Overview
Parameters that describe cluster nodes.
Instance Attribute Summary collapse
-
#accelerators ⇒ ::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig>
Optional.
-
#boot_disk_kms_key ⇒ ::String
Optional.
-
#local_ssd_count ⇒ ::Integer
Optional.
-
#machine_type ⇒ ::String
Optional.
-
#min_cpu_platform ⇒ ::String
Optional.
-
#preemptible ⇒ ::Boolean
Optional.
-
#spot ⇒ ::Boolean
Optional.
Instance Attribute Details
#accelerators ⇒ ::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig>
Returns Optional. A list of hardware accelerators to attach to each node.
478 479 480 481 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 478 class GkeNodeConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#boot_disk_kms_key ⇒ ::String
Returns Optional. The Customer Managed Encryption Key (CMEK)
used to encrypt the boot disk attached to each node in the node pool.
Specify the key using the following format:
projects/KEY_PROJECT_ID/locations/LOCATION/keyRings/RING_NAME/cryptoKeys/KEY_NAME
.
478 479 480 481 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 478 class GkeNodeConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#local_ssd_count ⇒ ::Integer
Returns 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).
478 479 480 481 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 478 class GkeNodeConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#machine_type ⇒ ::String
Returns Optional. The name of a Compute Engine machine type.
478 479 480 481 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 478 class GkeNodeConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#min_cpu_platform ⇒ ::String
Returns Optional. Minimum 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".
478 479 480 481 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 478 class GkeNodeConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#preemptible ⇒ ::Boolean
Returns Optional. Whether the nodes are created as legacy preemptible VM
instances.
Also see
Spot
VMs, preemptible VM instances without a maximum lifetime. Legacy and Spot
preemptible nodes cannot be used in a node pool with the CONTROLLER
role
or in the DEFAULT node pool if the CONTROLLER role is not assigned (the
DEFAULT node pool will assume the CONTROLLER role).
478 479 480 481 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 478 class GkeNodeConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#spot ⇒ ::Boolean
Returns Optional. Whether the nodes are created as Spot VM instances.
Spot VMs are the latest update to legacy
[preemptible
VMs][google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig.preemptible].
Spot VMs do not have a maximum lifetime. Legacy and Spot preemptible
nodes cannot be used in a node pool with the CONTROLLER
role
or in the DEFAULT node pool if the CONTROLLER role is not assigned (the
DEFAULT node pool will assume the CONTROLLER role).
478 479 480 481 |
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 478 class GkeNodeConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |