NodePoolScalingConfig

data class NodePoolScalingConfig(val eipBandwidth: Int? = null, val eipInternetChargeType: String? = null, val isBondEip: Boolean? = null, val maxSize: Int, val minSize: Int, val type: String? = null)

Constructors

Link copied to clipboard
fun NodePoolScalingConfig(eipBandwidth: Int? = null, eipInternetChargeType: String? = null, isBondEip: Boolean? = null, maxSize: Int, minSize: Int, type: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val eipBandwidth: Int? = null

Peak EIP bandwidth. Its valid value range 1~500 in Mbps. Default to 5.

Link copied to clipboard

EIP billing type. PayByBandwidth: Charged at fixed bandwidth. PayByTraffic: Billed as used traffic. Default: PayByBandwidth. Conflict with internet_charge_type, EIP and public network IP can only choose one.

Link copied to clipboard
val isBondEip: Boolean? = null

Whether to bind EIP for an instance. Default: false.

Link copied to clipboard

Max number of instances in a auto scaling group, its valid value range 0~1000. max_size has to be greater than min_size.

Link copied to clipboard

Min number of instances in a auto scaling group, its valid value range 0~1000.

Link copied to clipboard
val type: String? = null

Instance classification, not required. Vaild value: cpu, gpu, gpushare and spot. Default: cpu. The actual instance type is determined by instance_types.