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
def accelerators() -> ::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=
def accelerators=(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.
#local_ssd_count
def local_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=
def local_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
def machine_type() -> ::String
Returns
- (::String) — Optional. The name of a Compute Engine machine type.
#machine_type=
def machine_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
def min_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=
def min_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
def preemptible() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether the nodes are created as preemptible VM instances.
#preemptible=
def preemptible=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether the nodes are created as preemptible VM instances.
Returns
- (::Boolean) — Optional. Whether the nodes are created as preemptible VM instances.