GetKubernetesNodePoolsNodepool

data class GetKubernetesNodePoolsNodepool(val autoRenew: Boolean, val autoRenewPeriod: Int, val cisEnabled: Boolean, val compensateWithOnDemand: Boolean, val cpuPolicy: String, val dataDisks: List<GetKubernetesNodePoolsNodepoolDataDisk>, val deploymentSetId: String, val desiredSize: String, val imageId: String, val imageType: String, val installCloudMonitor: Boolean, val instanceChargeType: String, val instanceTypes: List<String>, val internetChargeType: String, val internetMaxBandwidthOut: Int, val keyName: String, val kubeletConfiguration: GetKubernetesNodePoolsNodepoolKubeletConfiguration, val labels: List<GetKubernetesNodePoolsNodepoolLabel>, val loginAsNonRoot: Boolean, val management: GetKubernetesNodePoolsNodepoolManagement, val multiAzPolicy: String, val nodeNameMode: String, val nodePoolId: String, val nodePoolName: String, val onDemandBaseCapacity: String, val onDemandPercentageAboveBaseCapacity: String, val password: String, val period: Int, val periodUnit: String, val platform: String, val preUserData: String, val privatePoolOptions: GetKubernetesNodePoolsNodepoolPrivatePoolOptions, val ramRoleName: String, val rdsInstances: List<String>, val resourceGroupId: String, val runtimeName: String, val runtimeVersion: String, val scalingConfig: GetKubernetesNodePoolsNodepoolScalingConfig, val scalingGroupId: String, val scalingPolicy: String, val securityGroupId: String, val securityGroupIds: List<String>, val securityHardeningOs: Boolean, val socEnabled: Boolean, val spotInstancePools: Int, val spotInstanceRemedy: Boolean, val spotPriceLimits: List<GetKubernetesNodePoolsNodepoolSpotPriceLimit>, val spotStrategy: String, val systemDiskBurstingEnabled: Boolean, val systemDiskCategories: List<String>, val systemDiskCategory: String, val systemDiskEncryptAlgorithm: String, val systemDiskEncrypted: Boolean, val systemDiskKmsKey: String, val systemDiskPerformanceLevel: String, val systemDiskProvisionedIops: Int, val systemDiskSize: Int, val systemDiskSnapshotPolicyId: String, val tags: Map<String, String>, val taints: List<GetKubernetesNodePoolsNodepoolTaint>, val teeConfig: GetKubernetesNodePoolsNodepoolTeeConfig, val unschedulable: Boolean, val userData: String, val vswitchIds: List<String>)

Constructors

Link copied to clipboard
constructor(autoRenew: Boolean, autoRenewPeriod: Int, cisEnabled: Boolean, compensateWithOnDemand: Boolean, cpuPolicy: String, dataDisks: List<GetKubernetesNodePoolsNodepoolDataDisk>, deploymentSetId: String, desiredSize: String, imageId: String, imageType: String, installCloudMonitor: Boolean, instanceChargeType: String, instanceTypes: List<String>, internetChargeType: String, internetMaxBandwidthOut: Int, keyName: String, kubeletConfiguration: GetKubernetesNodePoolsNodepoolKubeletConfiguration, labels: List<GetKubernetesNodePoolsNodepoolLabel>, loginAsNonRoot: Boolean, management: GetKubernetesNodePoolsNodepoolManagement, multiAzPolicy: String, nodeNameMode: String, nodePoolId: String, nodePoolName: String, onDemandBaseCapacity: String, onDemandPercentageAboveBaseCapacity: String, password: String, period: Int, periodUnit: String, platform: String, preUserData: String, privatePoolOptions: GetKubernetesNodePoolsNodepoolPrivatePoolOptions, ramRoleName: String, rdsInstances: List<String>, resourceGroupId: String, runtimeName: String, runtimeVersion: String, scalingConfig: GetKubernetesNodePoolsNodepoolScalingConfig, scalingGroupId: String, scalingPolicy: String, securityGroupId: String, securityGroupIds: List<String>, securityHardeningOs: Boolean, socEnabled: Boolean, spotInstancePools: Int, spotInstanceRemedy: Boolean, spotPriceLimits: List<GetKubernetesNodePoolsNodepoolSpotPriceLimit>, spotStrategy: String, systemDiskBurstingEnabled: Boolean, systemDiskCategories: List<String>, systemDiskCategory: String, systemDiskEncryptAlgorithm: String, systemDiskEncrypted: Boolean, systemDiskKmsKey: String, systemDiskPerformanceLevel: String, systemDiskProvisionedIops: Int, systemDiskSize: Int, systemDiskSnapshotPolicyId: String, tags: Map<String, String>, taints: List<GetKubernetesNodePoolsNodepoolTaint>, teeConfig: GetKubernetesNodePoolsNodepoolTeeConfig, unschedulable: Boolean, userData: String, vswitchIds: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: false. Valid values:- true: Automatic renewal. - false: Do not renew automatically.

Link copied to clipboard

The automatic renewal period of nodes in the node pool takes effect only when you select Prepaid and Automatic Renewal, and is a required value. When PeriodUnit = Month, the value range is {1, 2, 3, 6, 12}. Default value: 1.

Link copied to clipboard

Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. Use security_hardening_os instead.

Link copied to clipboard

Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.

Link copied to clipboard

Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:- static: allows pods with certain resource characteristics on the node to enhance its CPU affinity and exclusivity.- none: Enables the existing default CPU affinity scheme.

Link copied to clipboard

Configure the data disk of the node in the node pool.

Link copied to clipboard

The deployment set of node pool. Specify the deploymentSet to ensure that the nodes in the node pool can be distributed on different physical machines.

Link copied to clipboard

Number of expected nodes in the node pool.

Link copied to clipboard

The custom image ID. The system-provided image is used by default.

Link copied to clipboard

The operating system image type and the platform parameter can be selected from the following values:- AliyunLinux : Alinux2 image.- AliyunLinux3 : Alinux3 image.- AliyunLinux3Arm64 : Alinux3 mirror ARM version.- AliyunLinuxUEFI : Alinux2 Image UEFI version.- CentOS : CentOS image.- Windows : Windows image.- WindowsCore : WindowsCore image.- ContainerOS : container-optimized image.- Ubuntu: Ubuntu image.

Link copied to clipboard

Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: false. Valid values:- true : install cloud monitoring on the ECS node.- false : does not install cloud monitoring on the ECS node.

Link copied to clipboard

Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.

Link copied to clipboard

In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.

Link copied to clipboard

The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one.

Link copied to clipboard

The maximum bandwidth of the public IP address of the node. The unit is Mbps(Mega bit per second). The value range is:\[1,100\]

Link copied to clipboard

The name of the key pair. When the node pool is a managed node pool, only key_name is supported.

Link copied to clipboard

Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration.

Link copied to clipboard

A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument. Detailed below. More information in Labels.

Link copied to clipboard

Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.

Link copied to clipboard

Managed node pool configuration.

Link copied to clipboard

The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.

Link copied to clipboard

Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.- The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.- The node IP address is the complete private IP address of the node.- For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun192.168.xxx.xxxcom.

Link copied to clipboard

The first ID of the resource.

Link copied to clipboard

The name of node pool.

Link copied to clipboard

The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.

Link copied to clipboard

The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by on_demand_base_capacity. Valid values: 0 to 100.

Link copied to clipboard

The password of ssh login. You have to specify one of password and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).

Link copied to clipboard
val period: Int

Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.

Link copied to clipboard

Node payment period unit, valid value: Month. Default is Month.

Link copied to clipboard

Operating system release, using image_type instead.

Link copied to clipboard

Node pre custom data, base64-encoded, the script executed before the node is initialized.

Link copied to clipboard
Link copied to clipboard

The name of the Worker RAM role.* If it is empty, the default Worker RAM role created in the cluster will be used.* If the specified RAM role is not empty, the specified RAM role must be a Common Service role, and its trusted service configuration must be cloud server. For more information, see Create a common service role. If the specified RAM role is not the default Worker RAM role created in the cluster, the role name cannot start with 'KubernetesMasterRole-'or 'KubernetesWorkerRole.>NOTE: This parameter is only supported for ACK-managed clusters of 1.22 or later versions.

Link copied to clipboard

The list of RDS instances.

Link copied to clipboard

The ID of the resource group

Link copied to clipboard

The runtime name of containers. If not set, the cluster runtime will be used as the node pool runtime. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container.

Link copied to clipboard

The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.

Link copied to clipboard

Automatic scaling configuration.

Link copied to clipboard

The ID of the scaling group.

Link copied to clipboard

Scaling group mode, default value: release. Valid values:- release: in the standard mode, scaling is performed by creating and releasing ECS instances based on the usage of the application resource value.- recycle: in the speed mode, scaling is performed through creation, shutdown, and startup to increase the speed of scaling again (computing resources are not charged during shutdown, only storage fees are charged, except for local disk models).

Link copied to clipboard

The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

Link copied to clipboard

Multiple security groups can be configured for a node pool. If both security_group_ids and security_group_id are configured, security_group_ids takes effect. This field cannot be modified.

Link copied to clipboard

Alibaba Cloud OS security reinforcement. Default value: false. Value:-true: enable Alibaba Cloud OS security reinforcement.-false: does not enable Alibaba Cloud OS security reinforcement.

Link copied to clipboard

Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.> It is forbidden to set both security_hardening_os and soc_enabled to true at the same time.

Link copied to clipboard

The number of instance types that are available. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.

Link copied to clipboard

Specifies whether to supplement preemptible instances when the number of preemptible instances drops below the specified minimum number. If you set the value to true, Auto Scaling attempts to create a new preemptible instance when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values: true: enables the supplementation of preemptible instances. false: disables the supplementation of preemptible instances.

Link copied to clipboard

The current single preemptible instance type market price range configuration.

Link copied to clipboard

The preemptible instance type. Value:- NoSpot : Non-preemptible instance.- SpotWithPriceLimit : Set the upper limit of the preemptible instance price.- SpotAsPriceGo : The system automatically bids, following the actual price of the current market.

Link copied to clipboard

Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.

Link copied to clipboard

The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values see system_disk_category.

Link copied to clipboard

The category of the system disk for nodes. Default value: cloud_efficiency. Valid values:- cloud: basic disk.- cloud_efficiency: ultra disk.- cloud_ssd: standard SSD.- cloud_essd: ESSD.- cloud_auto: ESSD AutoPL disk.- cloud_essd_entry: ESSD Entry disk.

Link copied to clipboard

The encryption algorithm used by the system disk. Value range: aes-256.

Link copied to clipboard

Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.

Link copied to clipboard

The ID of the KMS key used by the system disk.

Link copied to clipboard

The system disk performance of the node takes effect only for the ESSD disk.- PL0: maximum random read/write IOPS 10000 for a single disk.- PL1: maximum random read/write IOPS 50000 for a single disk.- PL2: highest random read/write IOPS 100000 for a single disk.- PL3: maximum random read/write IOPS 1 million for a single disk.

Link copied to clipboard

The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.

Link copied to clipboard

The size of the system disk. Unit: GiB. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.- Basic disk: 20 to 500.- ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD. PL0 ESSD: 1 to 2048. PL1 ESSD: 20 to 2048. PL2 ESSD: 461 to 2048. PL3 ESSD: 1261 to 2048.- ESSD AutoPL disk (cloud_auto): 1 to 2048.- Other disk categories: 20 to 2048.

Link copied to clipboard

The ID of the automatic snapshot policy used by the system disk.

Link copied to clipboard

Add tags only for ECS instances. The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://.

Link copied to clipboard

A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration.

Link copied to clipboard

The configuration about confidential computing for the cluster.

Link copied to clipboard

Whether the node after expansion can be scheduled.

Link copied to clipboard

Node custom data, base64-encoded.

Link copied to clipboard

The vswitches used by node pool workers.