public sealed class SoleTenantConfig : IMessage<SoleTenantConfig>, IEquatable<SoleTenantConfig>, IDeepCloneable<SoleTenantConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class SoleTenantConfig.
SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.
Implements
IMessageSoleTenantConfig, IEquatableSoleTenantConfig, IDeepCloneableSoleTenantConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
SoleTenantConfig()
public SoleTenantConfig()
SoleTenantConfig(SoleTenantConfig)
public SoleTenantConfig(SoleTenantConfig other)
Parameter | |
---|---|
Name | Description |
other |
SoleTenantConfig |
Properties
HasMinNodeCpus
public bool HasMinNodeCpus { get; }
Gets whether the "min_node_cpus" field is set
Property Value | |
---|---|
Type | Description |
bool |
MinNodeCpus
public int MinNodeCpus { get; set; }
Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.
Property Value | |
---|---|
Type | Description |
int |
NodeAffinities
public RepeatedField<SoleTenantConfig.Types.NodeAffinity> NodeAffinities { get; }
NodeAffinities used to match to a shared sole tenant node group.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSoleTenantConfigTypesNodeAffinity |