Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::AcceleratorConfig (v0.16.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::AcceleratorConfig.

AcceleratorConfig represents a Hardware Accelerator request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#accelerator_count

def accelerator_count() -> ::Integer
Returns
  • (::Integer) — The number of the accelerator cards exposed to an instance.

#accelerator_count=

def accelerator_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of the accelerator cards exposed to an instance.
Returns
  • (::Integer) — The number of the accelerator cards exposed to an instance.

#accelerator_type

def accelerator_type() -> ::String
Returns
  • (::String) — The accelerator type resource name. List of supported accelerators here

#accelerator_type=

def accelerator_type=(value) -> ::String
Parameter
  • value (::String) — The accelerator type resource name. List of supported accelerators here
Returns
  • (::String) — The accelerator type resource name. List of supported accelerators here

#gpu_partition_size

def gpu_partition_size() -> ::String
Returns
  • (::String) — Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.

#gpu_partition_size=

def gpu_partition_size=(value) -> ::String
Parameter
  • value (::String) — 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.

#gpu_sharing_config

def gpu_sharing_config() -> ::Google::Cloud::Container::V1beta1::GPUSharingConfig
Returns

#gpu_sharing_config=

def gpu_sharing_config=(value) -> ::Google::Cloud::Container::V1beta1::GPUSharingConfig
Parameter
Returns

#max_time_shared_clients_per_gpu

def max_time_shared_clients_per_gpu() -> ::Integer
Returns
  • (::Integer) — The number of time-shared GPU resources to expose for each physical GPU.

#max_time_shared_clients_per_gpu=

def max_time_shared_clients_per_gpu=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of time-shared GPU resources to expose for each physical GPU.
Returns
  • (::Integer) — The number of time-shared GPU resources to expose for each physical GPU.