ClusterNodePoolAutoscalingArgs

data class ClusterNodePoolAutoscalingArgs(val locationPolicy: Output<String>? = null, val maxNodeCount: Output<Int>? = null, val minNodeCount: Output<Int>? = null, val totalMaxNodeCount: Output<Int>? = null, val totalMinNodeCount: Output<Int>? = null) : ConvertibleToJava<ClusterNodePoolAutoscalingArgs>

Constructors

Link copied to clipboard
constructor(locationPolicy: Output<String>? = null, maxNodeCount: Output<Int>? = null, minNodeCount: Output<Int>? = null, totalMaxNodeCount: Output<Int>? = null, totalMinNodeCount: Output<Int>? = null)

Properties

Link copied to clipboard
val locationPolicy: Output<String>? = null

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.

Link copied to clipboard
val maxNodeCount: Output<Int>? = null

Maximum number of nodes per zone in the node pool. Must be >= min_node_count. Cannot be used with total limits.

Link copied to clipboard
val minNodeCount: Output<Int>? = null

Minimum number of nodes per zone in the node pool. Must be >=0 and <= max_node_count. Cannot be used with total limits.

Link copied to clipboard
val totalMaxNodeCount: Output<Int>? = null

Maximum number of all nodes in the node pool. Must be >= total_min_node_count. Cannot be used with per zone limits.

Link copied to clipboard
val totalMinNodeCount: Output<Int>? = null

Minimum number of all nodes in the node pool. Must be >=0 and <= total_max_node_count. Cannot be used with per zone limits.

Functions

Link copied to clipboard
open override fun toJava(): ClusterNodePoolAutoscalingArgs