GetKubernetesNodePoolsNodepoolScalingConfig

data class GetKubernetesNodePoolsNodepoolScalingConfig(val eipBandwidth: Int, val eipInternetChargeType: String, val enable: Boolean, val isBondEip: Boolean, val maxSize: Int, val minSize: Int, val type: String)

Constructors

constructor(eipBandwidth: Int, eipInternetChargeType: String, enable: Boolean, isBondEip: Boolean, maxSize: Int, minSize: Int, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Whether to enable automatic scaling. Value:- true: enables the node pool auto-scaling function.- false: Auto scaling is not enabled. When the value is false, other auto_scaling configuration parameters do not take effect.

Link copied to clipboard

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

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