NodePoolScalingConfig

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

Constructors

Link copied to clipboard
constructor(eipBandwidth: Int? = null, eipInternetChargeType: String? = null, enable: Boolean? = null, isBondEip: Boolean? = null, maxSize: Int? = null, minSize: Int? = null, 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. It works if is_bond_eip=true. Default to 5.

Link copied to clipboard

EIP billing type. PayByBandwidth: Charged at fixed bandwidth. PayByTraffic: Billed as used traffic. Default: PayByBandwidth. It works if is_bond_eip=true, conflict with internet_charge_type. EIP and public network IP can only choose one.

Link copied to clipboard
val enable: Boolean? = null

Whether to enable automatic scaling. Value:

Link copied to clipboard
val isBondEip: Boolean? = null

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

Link copied to clipboard
val maxSize: Int? = null

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
val minSize: Int? = null

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.