public sealed class GPUSharingConfig : IMessage<GPUSharingConfig>, IEquatable<GPUSharingConfig>, IDeepCloneable<GPUSharingConfig>, IBufferMessage, IMessageReference documentation and code samples for the Google Kubernetes Engine v1 API class GPUSharingConfig.
GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.
Implements
IMessage<GPUSharingConfig>, IEquatable<GPUSharingConfig>, IDeepCloneable<GPUSharingConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
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 |
GPUSharingConfig.Types.GPUSharingStrategy |
|
HasGpuSharingStrategy
public bool HasGpuSharingStrategy { get; }Gets whether the "gpu_sharing_strategy" field is set
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
MaxSharedClientsPerGpu
public long MaxSharedClientsPerGpu { get; set; }The max number of containers that can share a physical GPU.
| Property Value | |
|---|---|
| Type | Description |
Int64 |
|