InstanceClusterAutoscalingConfigArgs

data class InstanceClusterAutoscalingConfigArgs(val cpuTarget: Output<Int>, val maxNodes: Output<Int>, val minNodes: Output<Int>, val storageTarget: Output<Int>? = null) : ConvertibleToJava<InstanceClusterAutoscalingConfigArgs>

Constructors

Link copied to clipboard
constructor(cpuTarget: Output<Int>, maxNodes: Output<Int>, minNodes: Output<Int>, storageTarget: Output<Int>? = null)

Properties

Link copied to clipboard
val cpuTarget: Output<Int>

The target CPU utilization for autoscaling, in percentage. Must be between 10 and 80.

Link copied to clipboard
val maxNodes: Output<Int>

The maximum number of nodes for autoscaling.

Link copied to clipboard
val minNodes: Output<Int>

The minimum number of nodes for autoscaling.

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

The target storage utilization for autoscaling, in GB, for each node in a cluster. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16 TiB) for an HDD cluster. If not set, whatever is already set for the cluster will not change, or if the cluster is just being created, it will use the default value of 2560 for SSD clusters and 8192 for HDD clusters. !>Warning: Only one of autoscaling_config or num_nodes should be set for a cluster. If both are set, num_nodes is ignored. If none is set, autoscaling will be disabled and sized to the current node count.

Functions

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