Class: Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1/shared.rb

Overview

A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request for a node pool.

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_count::Integer

Returns The number of accelerator cards exposed to an instance.

Returns:

  • (::Integer)

    The number of accelerator cards exposed to an instance.



489
490
491
492
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 489

class GkeNodePoolAcceleratorConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#accelerator_type::String

Returns The accelerator type resource namename (see GPUs on Compute Engine).

Returns:

  • (::String)

    The accelerator type resource namename (see GPUs on Compute Engine).



489
490
491
492
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 489

class GkeNodePoolAcceleratorConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gpu_partition_size::String

Returns Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.

Returns:

  • (::String)

    Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.



489
490
491
492
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 489

class GkeNodePoolAcceleratorConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end