Google Kubernetes Engine v1 API - Class NodePoolAutoscaling (3.17.0)

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.

Inheritance

object > NodePoolAutoscaling

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

NodePoolAutoscaling()

public NodePoolAutoscaling()

NodePoolAutoscaling(NodePoolAutoscaling)

public NodePoolAutoscaling(NodePoolAutoscaling other)
Parameter
NameDescription
otherNodePoolAutoscaling

Properties

Autoprovisioned

public bool Autoprovisioned { get; set; }

Can this node pool be deleted automatically.

Property Value
TypeDescription
bool

Enabled

public bool Enabled { get; set; }

Is autoscaling enabled for this node pool.

Property Value
TypeDescription
bool

LocationPolicy

public NodePoolAutoscaling.Types.LocationPolicy LocationPolicy { get; set; }

Location policy used when scaling up a nodepool.

Property Value
TypeDescription
NodePoolAutoscalingTypesLocationPolicy

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
TypeDescription
int

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
TypeDescription
int

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
TypeDescription
int

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
TypeDescription
int