KxClusterAutoScalingConfigurationArgs

data class KxClusterAutoScalingConfigurationArgs(val autoScalingMetric: Output<String>, val maxNodeCount: Output<Int>, val metricTarget: Output<Double>, val minNodeCount: Output<Int>, val scaleInCooldownSeconds: Output<Double>, val scaleOutCooldownSeconds: Output<Double>) : ConvertibleToJava<KxClusterAutoScalingConfigurationArgs>

Constructors

Link copied to clipboard
constructor(autoScalingMetric: Output<String>, maxNodeCount: Output<Int>, metricTarget: Output<Double>, minNodeCount: Output<Int>, scaleInCooldownSeconds: Output<Double>, scaleOutCooldownSeconds: Output<Double>)

Properties

Link copied to clipboard

Metric your cluster will track in order to scale in and out. For example, CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all nodes in a cluster.

Link copied to clipboard
val maxNodeCount: Output<Int>

Highest number of nodes to scale. Cannot be greater than 5

Link copied to clipboard
val metricTarget: Output<Double>

Desired value of chosen auto_scaling_metric. When metric drops below this value, cluster will scale in. When metric goes above this value, cluster will scale out. Can be set between 0 and 100 percent.

Link copied to clipboard
val minNodeCount: Output<Int>

Lowest number of nodes to scale. Must be at least 1 and less than the max_node_count. If nodes in cluster belong to multiple availability zones, then min_node_count must be at least 3.

Link copied to clipboard

Duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.

Link copied to clipboard

Duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.

Functions

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