NodePoolAutoscaling class
NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
Constructors
-
NodePoolAutoscaling({Input<
bool> ? autoprovisioned, Input<bool> ? enabled, Input<NodePoolAutoscalingLocationPolicy> ? locationPolicy, Input<int> ? maxNodeCount, Input<int> ? minNodeCount, Input<int> ? totalMaxNodeCount, Input<int> ? totalMinNodeCount}) -
Creates a new NodePoolAutoscaling.
autoprovisionedCan this node pool be deleted automatically.enabledIs autoscaling enabled for this node pool.locationPolicyLocation policy used when scaling up a nodepool.maxNodeCountMaximum 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.minNodeCountMinimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.totalMaxNodeCountMaximum 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.totalMinNodeCountMinimum 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.const -
NodePoolAutoscaling.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoprovisioned
→ Input<
bool> ? -
Can this node pool be deleted automatically.
final
-
enabled
→ Input<
bool> ? -
Is autoscaling enabled for this node pool.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
locationPolicy
→ Input<
NodePoolAutoscalingLocationPolicy> ? -
Location policy used when scaling up a nodepool.
final
-
maxNodeCount
→ Input<
int> ? -
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.
final
-
minNodeCount
→ Input<
int> ? -
Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
totalMaxNodeCount
→ Input<
int> ? -
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.
final
-
totalMinNodeCount
→ Input<
int> ? -
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited