Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodeConfig (v1.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodeConfig.
Parameters that describe cluster nodes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accelerators
defaccelerators()->::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig>
Returns
- (::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig>) — Optional. A list of hardware accelerators to attach to each node.
#accelerators=
defaccelerators=(value)->::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig>
Parameter
- value (::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig>) — Optional. A list of hardware accelerators to attach to each node.
Returns
- (::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig>) — Optional. A list of hardware accelerators to attach to each node.
#boot_disk_kms_key
defboot_disk_kms_key()->::String
Returns
-
(::String) — 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.
#boot_disk_kms_key=
defboot_disk_kms_key=(value)->::String
Parameter
-
value (::String) — 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.
Returns
-
(::String) — 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.
#local_ssd_count
deflocal_ssd_count()->::Integer
Returns
- (::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).
#local_ssd_count=
deflocal_ssd_count=(value)->::Integer
Parameter
- value (::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).
Returns
- (::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).
#machine_type
defmachine_type()->::String
Returns
- (::String) — Optional. The name of a Compute Engine machine type.
#machine_type=
defmachine_type=(value)->::String
Parameter
- value (::String) — Optional. The name of a Compute Engine machine type.
Returns
- (::String) — Optional. The name of a Compute Engine machine type.
#min_cpu_platform
defmin_cpu_platform()->::String
Returns
- (::String) — 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".
#min_cpu_platform=
defmin_cpu_platform=(value)->::String
Parameter
- value (::String) — 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".
Returns
- (::String) — 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".
#preemptible
defpreemptible()->::Boolean
Returns
-
(::Boolean) — 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
CONTROLLERrole or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
#preemptible=
defpreemptible=(value)->::Boolean
Parameter
-
value (::Boolean) — 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
CONTROLLERrole or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
Returns
-
(::Boolean) — 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
CONTROLLERrole or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
#spot
defspot()->::Boolean
Returns
-
(::Boolean) — 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
CONTROLLERrole or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
#spot=
defspot=(value)->::Boolean
Parameter
-
value (::Boolean) — 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
CONTROLLERrole or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
Returns
-
(::Boolean) — 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
CONTROLLERrole or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).