AutoscalingTargetsArgs

data class AutoscalingTargetsArgs(val cpuUtilizationPercent: Output<Int>? = null, val storageUtilizationGibPerNode: Output<Int>? = null) : ConvertibleToJava<AutoscalingTargetsArgs>

The Autoscaling targets for a Cluster. These determine the recommended nodes.

Constructors

Link copied to clipboard
fun AutoscalingTargetsArgs(cpuUtilizationPercent: Output<Int>? = null, storageUtilizationGibPerNode: Output<Int>? = null)

Functions

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

Properties

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

The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.

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

The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.