NodePoolAutoscalingArgs

data class NodePoolAutoscalingArgs(val autoprovisioned: Output<Boolean>? = null, val enabled: Output<Boolean>? = null, val locationPolicy: Output<NodePoolAutoscalingLocationPolicy>? = null, val maxNodeCount: Output<Int>? = null, val minNodeCount: Output<Int>? = null, val totalMaxNodeCount: Output<Int>? = null, val totalMinNodeCount: Output<Int>? = null) : ConvertibleToJava<NodePoolAutoscalingArgs>

NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

Constructors

Link copied to clipboard
fun NodePoolAutoscalingArgs(autoprovisioned: Output<Boolean>? = null, enabled: Output<Boolean>? = null, locationPolicy: Output<NodePoolAutoscalingLocationPolicy>? = null, maxNodeCount: Output<Int>? = null, minNodeCount: Output<Int>? = null, totalMaxNodeCount: Output<Int>? = null, totalMinNodeCount: Output<Int>? = null)

Functions

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

Properties

Link copied to clipboard
val autoprovisioned: Output<Boolean>? = null

Can this node pool be deleted automatically.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Is autoscaling enabled for this node pool.

Link copied to clipboard

Location policy used when scaling up a nodepool.

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

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.

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

Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.

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

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.

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

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.