Class: Google::Cloud::Container::V1::AcceleratorConfig

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

Overview

AcceleratorConfig represents a Hardware Accelerator request.

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_count::Integer

Returns The number of the accelerator cards exposed to an instance.

Returns:

  • (::Integer)

    The number of the accelerator cards exposed to an instance.



3587
3588
3589
3590
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3587

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

#accelerator_type::String

Returns The accelerator type resource name. List of supported accelerators here.

Returns:

  • (::String)

    The accelerator type resource name. List of supported accelerators here



3587
3588
3589
3590
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3587

class AcceleratorConfig
  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.



3587
3588
3589
3590
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3587

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

#gpu_sharing_config::Google::Cloud::Container::V1::GPUSharingConfig

Returns The configuration for GPU sharing options.

Returns:



3587
3588
3589
3590
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3587

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