Google Kubernetes Engine v1 API - Class GPUSharingConfig (3.27.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
Name Description
other GPUSharingConfig

Properties

GpuSharingStrategy

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

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

Property Value
Type Description
GPUSharingConfigTypesGPUSharingStrategy

HasGpuSharingStrategy

public bool HasGpuSharingStrategy { get; }

Gets whether the "gpu_sharing_strategy" field is set

Property Value
Type Description
bool

MaxSharedClientsPerGpu

public long MaxSharedClientsPerGpu { get; set; }

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

Property Value
Type Description
long