public sealed class NodePoolAutoscaling : IMessage<NodePoolAutoscaling>, IEquatable<NodePoolAutoscaling>, IDeepCloneable<NodePoolAutoscaling>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class NodePoolAutoscaling.
NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
Implements
IMessage<NodePoolAutoscaling>, IEquatable<NodePoolAutoscaling>, IDeepCloneable<NodePoolAutoscaling>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
NodePoolAutoscaling()
public NodePoolAutoscaling()
NodePoolAutoscaling(NodePoolAutoscaling)
public NodePoolAutoscaling(NodePoolAutoscaling other)
Parameter | |
---|---|
Name | Description |
other | NodePoolAutoscaling |
Properties
Autoprovisioned
public bool Autoprovisioned { get; set; }
Can this node pool be deleted automatically.
Property Value | |
---|---|
Type | Description |
Boolean |
Enabled
public bool Enabled { get; set; }
Is autoscaling enabled for this node pool.
Property Value | |
---|---|
Type | Description |
Boolean |
LocationPolicy
public NodePoolAutoscaling.Types.LocationPolicy LocationPolicy { get; set; }
Location policy used when scaling up a nodepool.
Property Value | |
---|---|
Type | Description |
NodePoolAutoscaling.Types.LocationPolicy |
MaxNodeCount
public int MaxNodeCount { get; set; }
Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
Property Value | |
---|---|
Type | Description |
Int32 |
MinNodeCount
public int MinNodeCount { get; set; }
Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
Property Value | |
---|---|
Type | Description |
Int32 |
TotalMaxNodeCount
public int TotalMaxNodeCount { get; set; }
Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
Property Value | |
---|---|
Type | Description |
Int32 |
TotalMinNodeCount
public int TotalMinNodeCount { get; set; }
Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
Property Value | |
---|---|
Type | Description |
Int32 |