GetClusterNodePoolAutoscaling constructor
Creates a new GetClusterNodePoolAutoscaling.
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 GetClusterNodePoolAutoscaling({
required this.locationPolicy,
required this.maxNodeCount,
required this.minNodeCount,
required this.totalMaxNodeCount,
required this.totalMinNodeCount,
});