Google Kubernetes Engine v1 API - Class GPUSharingConfig (3.21.0)

public sealed class GPUSharingConfig : IMessage<GPUSharingConfig>, IEquatable<GPUSharingConfig>, IDeepCloneable<GPUSharingConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Kubernetes Engine v1 API class GPUSharingConfig.

GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.

Inheritance

object > GPUSharingConfig

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

GPUSharingConfig()

public GPUSharingConfig()

GPUSharingConfig(GPUSharingConfig)

public GPUSharingConfig(GPUSharingConfig other)
Parameter
NameDescription
otherGPUSharingConfig

Properties

GpuSharingStrategy

public GPUSharingConfig.Types.GPUSharingStrategy GpuSharingStrategy { get; set; }

The type of GPU sharing strategy to enable on the GPU node.

Property Value
TypeDescription
GPUSharingConfigTypesGPUSharingStrategy

HasGpuSharingStrategy

public bool HasGpuSharingStrategy { get; }

Gets whether the "gpu_sharing_strategy" field is set

Property Value
TypeDescription
bool

MaxSharedClientsPerGpu

public long MaxSharedClientsPerGpu { get; set; }

The max number of containers that can share a physical GPU.

Property Value
TypeDescription
long