ClusterNodePoolAutoscaling constructor
Creates a new ClusterNodePoolAutoscaling.
locationPolicy Location policy specifies the algorithm used when scaling-up the node pool. "BALANCED" - Is a best effort policy that aims to balance the sizes of available zones. "ANY" - Instructs the cluster autoscaler to prioritize utilization of unused reservations, and reduces preemption risk for Spot VMs.
maxNodeCount Maximum number of nodes per zone in the node pool. Must be >= min_node_count. Cannot be used with total limits.
minNodeCount Minimum number of nodes per zone in the node pool. Must be >=0 and <= max_node_count. Cannot be used with total limits.
totalMaxNodeCount Maximum number of all nodes in the node pool. Must be >= total_min_node_count. Cannot be used with per zone limits.
totalMinNodeCount Minimum number of all nodes in the node pool. Must be >=0 and <= total_max_node_count. Cannot be used with per zone limits.
Implementation
const ClusterNodePoolAutoscaling({
this.locationPolicy,
this.maxNodeCount,
this.minNodeCount,
this.totalMaxNodeCount,
this.totalMinNodeCount,
});