DropletAutoscaleConfig

data class DropletAutoscaleConfig(val cooldownMinutes: Int? = null, val maxInstances: Int? = null, val minInstances: Int? = null, val targetCpuUtilization: Double? = null, val targetMemoryUtilization: Double? = null, val targetNumberInstances: Int? = null)

Constructors

Link copied to clipboard
constructor(cooldownMinutes: Int? = null, maxInstances: Int? = null, minInstances: Int? = null, targetCpuUtilization: Double? = null, targetMemoryUtilization: Double? = null, targetNumberInstances: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cooldownMinutes: Int? = null

The cooldown duration between scaling events for the Droplet Autoscale pool.

Link copied to clipboard
val maxInstances: Int? = null

The maximum number of instances to maintain in the Droplet Autoscale pool.

Link copied to clipboard
val minInstances: Int? = null

The minimum number of instances to maintain in the Droplet Autoscale pool.

Link copied to clipboard

The target average CPU load (in range [0, 1]) to maintain in the Droplet Autoscale pool.

Link copied to clipboard

The target average Memory load (in range [0, 1]) to maintain in the Droplet Autoscale pool.

Link copied to clipboard

The static number of instances to maintain in the pool Droplet Autoscale pool. This argument cannot be used with any other config options.