Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.cs.getKubernetesNodePools
Explore with Pulumi AI
This data source provides Ack Nodepool available to the user.What is Nodepool
NOTE: Available since v1.246.0.
Using getKubernetesNodePools
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKubernetesNodePools(args: GetKubernetesNodePoolsArgs, opts?: InvokeOptions): Promise<GetKubernetesNodePoolsResult>
function getKubernetesNodePoolsOutput(args: GetKubernetesNodePoolsOutputArgs, opts?: InvokeOptions): Output<GetKubernetesNodePoolsResult>
def get_kubernetes_node_pools(cluster_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesNodePoolsResult
def get_kubernetes_node_pools_output(cluster_id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesNodePoolsResult]
func GetKubernetesNodePools(ctx *Context, args *GetKubernetesNodePoolsArgs, opts ...InvokeOption) (*GetKubernetesNodePoolsResult, error)
func GetKubernetesNodePoolsOutput(ctx *Context, args *GetKubernetesNodePoolsOutputArgs, opts ...InvokeOption) GetKubernetesNodePoolsResultOutput
> Note: This function is named GetKubernetesNodePools
in the Go SDK.
public static class GetKubernetesNodePools
{
public static Task<GetKubernetesNodePoolsResult> InvokeAsync(GetKubernetesNodePoolsArgs args, InvokeOptions? opts = null)
public static Output<GetKubernetesNodePoolsResult> Invoke(GetKubernetesNodePoolsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKubernetesNodePoolsResult> getKubernetesNodePools(GetKubernetesNodePoolsArgs args, InvokeOptions options)
public static Output<GetKubernetesNodePoolsResult> getKubernetesNodePools(GetKubernetesNodePoolsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:cs/getKubernetesNodePools:getKubernetesNodePools
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id string - The id of kubernetes cluster.
- Ids List<string>
- A list of Nodepool IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- Cluster
Id string - The id of kubernetes cluster.
- Ids []string
- A list of Nodepool IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- cluster
Id String - The id of kubernetes cluster.
- ids List<String>
- A list of Nodepool IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
).
- cluster
Id string - The id of kubernetes cluster.
- ids string[]
- A list of Nodepool IDs.
- output
File string - File name where to save data source results (after running
pulumi preview
).
- cluster_
id str - The id of kubernetes cluster.
- ids Sequence[str]
- A list of Nodepool IDs.
- output_
file str - File name where to save data source results (after running
pulumi preview
).
- cluster
Id String - The id of kubernetes cluster.
- ids List<String>
- A list of Nodepool IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
).
getKubernetesNodePools Result
The following output properties are available:
- Cluster
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of Nodepool IDs.
- Nodepools
List<Pulumi.
Ali Cloud. CS. Outputs. Get Kubernetes Node Pools Nodepool> - A list of Nodepool Entries. Each element contains the following attributes:
- Output
File string
- Cluster
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Nodepool IDs.
- Nodepools
[]Get
Kubernetes Node Pools Nodepool - A list of Nodepool Entries. Each element contains the following attributes:
- Output
File string
- cluster
Id String - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Nodepool IDs.
- nodepools
List<Get
Kubernetes Node Pools Nodepool> - A list of Nodepool Entries. Each element contains the following attributes:
- output
File String
- cluster
Id string - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Nodepool IDs.
- nodepools
Get
Kubernetes Node Pools Nodepool[] - A list of Nodepool Entries. Each element contains the following attributes:
- output
File string
- cluster_
id str - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Nodepool IDs.
- nodepools
Sequence[Get
Kubernetes Node Pools Nodepool] - A list of Nodepool Entries. Each element contains the following attributes:
- output_
file str
- cluster
Id String - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Nodepool IDs.
- nodepools List<Property Map>
- A list of Nodepool Entries. Each element contains the following attributes:
- output
File String
Supporting Types
GetKubernetesNodePoolsNodepool
- Auto
Renew bool - Whether to enable automatic renewal for nodes in the node pool takes effect only when
instance_charge_type
is set toPrePaid
. Default value:false
. Valid values:-true
: Automatic renewal. -false
: Do not renew automatically. - Auto
Renew intPeriod - 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. - Cis
Enabled bool - Whether enable worker node to support cis security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. Usesecurity_hardening_os
instead. - Compensate
With boolOn Demand - 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
toCOST_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. - Cpu
Policy string - 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. - Data
Disks List<Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Data Disk> - Configure the data disk of the node in the node pool.
- Deployment
Set stringId - 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.
- Desired
Size string - Number of expected nodes in the node pool.
- Image
Id string - The custom image ID. The system-provided image is used by default.
- Image
Type string - 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. - Install
Cloud boolMonitor - 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. - Instance
Charge stringType - Node payment type. Valid values:
PostPaid
,PrePaid
, default isPostPaid
. If value isPrePaid
, the argumentsperiod
,period_unit
,auto_renew
andauto_renew_period
are required. - Instance
Types List<string> - 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.
- Internet
Charge stringType - The billing method for network usage. Valid values
PayByBandwidth
andPayByTraffic
. Conflict witheip_internet_charge_type
, EIP and public network IP can only choose one. - Internet
Max intBandwidth Out - 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]
- Key
Name string - The name of the key pair. When the node pool is a managed node pool, only
key_name
is supported. - Kubelet
Configuration Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Kubelet Configuration - Kubelet configuration parameters for worker nodes. See
kubelet_configuration
below. More information in Kubelet Configuration. - Labels
List<Pulumi.
Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Label> - 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.
- Login
As boolNon Root - Whether the ECS instance is logged on as a ecs-user user. Valid value:
true
andfalse
. - Management
Pulumi.
Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Management - Managed node pool configuration.
- Multi
Az stringPolicy - The scaling policy for ECS instances in a multi-zone scaling group. Valid value:
PRIORITY
,COST_OPTIMIZED
andBALANCE
.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 theCompensateWithOnDemand
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. - Node
Name stringMode - 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 stringcustomized,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 isaliyun192.168.xxx.xxxcom
. - Node
Pool stringId - The ID of node pool.
- Node
Pool stringName - The name of node pool.
- On
Demand stringBase Capacity - 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.
- On
Demand stringPercentage Above Base Capacity - 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. - Password string
- The password of ssh login. You have to specify one of
password
andkey_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). - Period int
- Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
- Period
Unit string - Node payment period unit, valid value:
Month
. Default isMonth
. - Platform string
- Operating system release, using
image_type
instead. - Pre
User stringData - Node pre custom data, base64-encoded, the script executed before the node is initialized.
- Private
Pool Pulumi.Options Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Private Pool Options - Private node pool configuration.
- Ram
Role stringName - 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.
- Rds
Instances List<string> - The list of RDS instances.
- Resource
Group stringId - The ID of the resource group
- Runtime
Name string - 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.
- Runtime
Version string - The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
- Scaling
Config Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Scaling Config - Automatic scaling configuration.
- Scaling
Group stringId - The ID of the scaling group.
- Scaling
Policy string - 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). - Security
Group stringId - The security group ID of the node pool. This field has been replaced by
security_group_ids
, please use thesecurity_group_ids
field instead. - Security
Group List<string>Ids - Multiple security groups can be configured for a node pool. If both
security_group_ids
andsecurity_group_id
are configured,security_group_ids
takes effect. This field cannot be modified. - Security
Hardening boolOs - 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. - Soc
Enabled bool - Whether enable worker node to support soc security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. See SOC Reinforcement.> It is forbidden to set bothsecurity_hardening_os
andsoc_enabled
totrue
at the same time. - Spot
Instance intPools - 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.
- Spot
Instance boolRemedy - 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. - Spot
Price List<Pulumi.Limits Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Spot Price Limit> - The current single preemptible instance type market price range configuration.
- Spot
Strategy string - 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. - System
Disk boolBursting Enabled - 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 whensystem_disk_category
is set tocloud_auto
. - System
Disk List<string>Categories - 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
. - System
Disk stringCategory - 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. - System
Disk stringEncrypt Algorithm - The encryption algorithm used by the system disk. Value range: aes-256.
- System
Disk boolEncrypted - Whether to encrypt the system disk. Value range:
true
: encryption.false
: Do not encrypt. - System
Disk stringKms Key - The ID of the KMS key used by the system disk.
- System
Disk stringPerformance Level - 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. - System
Disk intProvisioned Iops - 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 tocloud_auto
. - System
Disk intSize - 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.
- System
Disk stringSnapshot Policy Id - The ID of the automatic snapshot policy used by the system disk.
- Dictionary<string, string>
- 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://.
- Taints
List<Pulumi.
Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Taint> - A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration.
- Tee
Config Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Tee Config - The configuration about confidential computing for the cluster.
- Unschedulable bool
- Whether the node after expansion can be scheduled.
- User
Data string - Node custom data, base64-encoded.
- Vswitch
Ids List<string> - The vswitches used by node pool workers.
- Auto
Renew bool - Whether to enable automatic renewal for nodes in the node pool takes effect only when
instance_charge_type
is set toPrePaid
. Default value:false
. Valid values:-true
: Automatic renewal. -false
: Do not renew automatically. - Auto
Renew intPeriod - 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. - Cis
Enabled bool - Whether enable worker node to support cis security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. Usesecurity_hardening_os
instead. - Compensate
With boolOn Demand - 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
toCOST_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. - Cpu
Policy string - 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. - Data
Disks []GetKubernetes Node Pools Nodepool Data Disk - Configure the data disk of the node in the node pool.
- Deployment
Set stringId - 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.
- Desired
Size string - Number of expected nodes in the node pool.
- Image
Id string - The custom image ID. The system-provided image is used by default.
- Image
Type string - 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. - Install
Cloud boolMonitor - 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. - Instance
Charge stringType - Node payment type. Valid values:
PostPaid
,PrePaid
, default isPostPaid
. If value isPrePaid
, the argumentsperiod
,period_unit
,auto_renew
andauto_renew_period
are required. - Instance
Types []string - 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.
- Internet
Charge stringType - The billing method for network usage. Valid values
PayByBandwidth
andPayByTraffic
. Conflict witheip_internet_charge_type
, EIP and public network IP can only choose one. - Internet
Max intBandwidth Out - 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]
- Key
Name string - The name of the key pair. When the node pool is a managed node pool, only
key_name
is supported. - Kubelet
Configuration GetKubernetes Node Pools Nodepool Kubelet Configuration - Kubelet configuration parameters for worker nodes. See
kubelet_configuration
below. More information in Kubelet Configuration. - Labels
[]Get
Kubernetes Node Pools Nodepool Label - 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.
- Login
As boolNon Root - Whether the ECS instance is logged on as a ecs-user user. Valid value:
true
andfalse
. - Management
Get
Kubernetes Node Pools Nodepool Management - Managed node pool configuration.
- Multi
Az stringPolicy - The scaling policy for ECS instances in a multi-zone scaling group. Valid value:
PRIORITY
,COST_OPTIMIZED
andBALANCE
.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 theCompensateWithOnDemand
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. - Node
Name stringMode - 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 stringcustomized,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 isaliyun192.168.xxx.xxxcom
. - Node
Pool stringId - The ID of node pool.
- Node
Pool stringName - The name of node pool.
- On
Demand stringBase Capacity - 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.
- On
Demand stringPercentage Above Base Capacity - 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. - Password string
- The password of ssh login. You have to specify one of
password
andkey_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). - Period int
- Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
- Period
Unit string - Node payment period unit, valid value:
Month
. Default isMonth
. - Platform string
- Operating system release, using
image_type
instead. - Pre
User stringData - Node pre custom data, base64-encoded, the script executed before the node is initialized.
- Private
Pool GetOptions Kubernetes Node Pools Nodepool Private Pool Options - Private node pool configuration.
- Ram
Role stringName - 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.
- Rds
Instances []string - The list of RDS instances.
- Resource
Group stringId - The ID of the resource group
- Runtime
Name string - 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.
- Runtime
Version string - The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
- Scaling
Config GetKubernetes Node Pools Nodepool Scaling Config - Automatic scaling configuration.
- Scaling
Group stringId - The ID of the scaling group.
- Scaling
Policy string - 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). - Security
Group stringId - The security group ID of the node pool. This field has been replaced by
security_group_ids
, please use thesecurity_group_ids
field instead. - Security
Group []stringIds - Multiple security groups can be configured for a node pool. If both
security_group_ids
andsecurity_group_id
are configured,security_group_ids
takes effect. This field cannot be modified. - Security
Hardening boolOs - 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. - Soc
Enabled bool - Whether enable worker node to support soc security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. See SOC Reinforcement.> It is forbidden to set bothsecurity_hardening_os
andsoc_enabled
totrue
at the same time. - Spot
Instance intPools - 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.
- Spot
Instance boolRemedy - 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. - Spot
Price []GetLimits Kubernetes Node Pools Nodepool Spot Price Limit - The current single preemptible instance type market price range configuration.
- Spot
Strategy string - 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. - System
Disk boolBursting Enabled - 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 whensystem_disk_category
is set tocloud_auto
. - System
Disk []stringCategories - 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
. - System
Disk stringCategory - 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. - System
Disk stringEncrypt Algorithm - The encryption algorithm used by the system disk. Value range: aes-256.
- System
Disk boolEncrypted - Whether to encrypt the system disk. Value range:
true
: encryption.false
: Do not encrypt. - System
Disk stringKms Key - The ID of the KMS key used by the system disk.
- System
Disk stringPerformance Level - 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. - System
Disk intProvisioned Iops - 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 tocloud_auto
. - System
Disk intSize - 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.
- System
Disk stringSnapshot Policy Id - The ID of the automatic snapshot policy used by the system disk.
- map[string]string
- 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://.
- Taints
[]Get
Kubernetes Node Pools Nodepool Taint - A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration.
- Tee
Config GetKubernetes Node Pools Nodepool Tee Config - The configuration about confidential computing for the cluster.
- Unschedulable bool
- Whether the node after expansion can be scheduled.
- User
Data string - Node custom data, base64-encoded.
- Vswitch
Ids []string - The vswitches used by node pool workers.
- auto
Renew Boolean - Whether to enable automatic renewal for nodes in the node pool takes effect only when
instance_charge_type
is set toPrePaid
. Default value:false
. Valid values:-true
: Automatic renewal. -false
: Do not renew automatically. - auto
Renew IntegerPeriod - 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. - cis
Enabled Boolean - Whether enable worker node to support cis security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. Usesecurity_hardening_os
instead. - compensate
With BooleanOn Demand - 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
toCOST_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. - cpu
Policy String - 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. - data
Disks List<GetKubernetes Node Pools Nodepool Data Disk> - Configure the data disk of the node in the node pool.
- deployment
Set StringId - 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.
- desired
Size String - Number of expected nodes in the node pool.
- image
Id String - The custom image ID. The system-provided image is used by default.
- image
Type String - 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. - install
Cloud BooleanMonitor - 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. - instance
Charge StringType - Node payment type. Valid values:
PostPaid
,PrePaid
, default isPostPaid
. If value isPrePaid
, the argumentsperiod
,period_unit
,auto_renew
andauto_renew_period
are required. - instance
Types List<String> - 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.
- internet
Charge StringType - The billing method for network usage. Valid values
PayByBandwidth
andPayByTraffic
. Conflict witheip_internet_charge_type
, EIP and public network IP can only choose one. - internet
Max IntegerBandwidth Out - 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]
- key
Name String - The name of the key pair. When the node pool is a managed node pool, only
key_name
is supported. - kubelet
Configuration GetKubernetes Node Pools Nodepool Kubelet Configuration - Kubelet configuration parameters for worker nodes. See
kubelet_configuration
below. More information in Kubelet Configuration. - labels
List<Get
Kubernetes Node Pools Nodepool Label> - 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.
- login
As BooleanNon Root - Whether the ECS instance is logged on as a ecs-user user. Valid value:
true
andfalse
. - management
Get
Kubernetes Node Pools Nodepool Management - Managed node pool configuration.
- multi
Az StringPolicy - The scaling policy for ECS instances in a multi-zone scaling group. Valid value:
PRIORITY
,COST_OPTIMIZED
andBALANCE
.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 theCompensateWithOnDemand
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. - node
Name StringMode - 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 stringcustomized,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 isaliyun192.168.xxx.xxxcom
. - node
Pool StringId - The ID of node pool.
- node
Pool StringName - The name of node pool.
- on
Demand StringBase Capacity - 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.
- on
Demand StringPercentage Above Base Capacity - 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. - password String
- The password of ssh login. You have to specify one of
password
andkey_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). - period Integer
- Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
- period
Unit String - Node payment period unit, valid value:
Month
. Default isMonth
. - platform String
- Operating system release, using
image_type
instead. - pre
User StringData - Node pre custom data, base64-encoded, the script executed before the node is initialized.
- private
Pool GetOptions Kubernetes Node Pools Nodepool Private Pool Options - Private node pool configuration.
- ram
Role StringName - 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.
- rds
Instances List<String> - The list of RDS instances.
- resource
Group StringId - The ID of the resource group
- runtime
Name String - 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.
- runtime
Version String - The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
- scaling
Config GetKubernetes Node Pools Nodepool Scaling Config - Automatic scaling configuration.
- scaling
Group StringId - The ID of the scaling group.
- scaling
Policy String - 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). - security
Group StringId - The security group ID of the node pool. This field has been replaced by
security_group_ids
, please use thesecurity_group_ids
field instead. - security
Group List<String>Ids - Multiple security groups can be configured for a node pool. If both
security_group_ids
andsecurity_group_id
are configured,security_group_ids
takes effect. This field cannot be modified. - security
Hardening BooleanOs - 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. - soc
Enabled Boolean - Whether enable worker node to support soc security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. See SOC Reinforcement.> It is forbidden to set bothsecurity_hardening_os
andsoc_enabled
totrue
at the same time. - spot
Instance IntegerPools - 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.
- spot
Instance BooleanRemedy - 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. - spot
Price List<GetLimits Kubernetes Node Pools Nodepool Spot Price Limit> - The current single preemptible instance type market price range configuration.
- spot
Strategy String - 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. - system
Disk BooleanBursting Enabled - 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 whensystem_disk_category
is set tocloud_auto
. - system
Disk List<String>Categories - 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
. - system
Disk StringCategory - 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. - system
Disk StringEncrypt Algorithm - The encryption algorithm used by the system disk. Value range: aes-256.
- system
Disk BooleanEncrypted - Whether to encrypt the system disk. Value range:
true
: encryption.false
: Do not encrypt. - system
Disk StringKms Key - The ID of the KMS key used by the system disk.
- system
Disk StringPerformance Level - 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. - system
Disk IntegerProvisioned Iops - 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 tocloud_auto
. - system
Disk IntegerSize - 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.
- system
Disk StringSnapshot Policy Id - The ID of the automatic snapshot policy used by the system disk.
- Map<String,String>
- 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://.
- taints
List<Get
Kubernetes Node Pools Nodepool Taint> - A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration.
- tee
Config GetKubernetes Node Pools Nodepool Tee Config - The configuration about confidential computing for the cluster.
- unschedulable Boolean
- Whether the node after expansion can be scheduled.
- user
Data String - Node custom data, base64-encoded.
- vswitch
Ids List<String> - The vswitches used by node pool workers.
- auto
Renew boolean - Whether to enable automatic renewal for nodes in the node pool takes effect only when
instance_charge_type
is set toPrePaid
. Default value:false
. Valid values:-true
: Automatic renewal. -false
: Do not renew automatically. - auto
Renew numberPeriod - 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. - cis
Enabled boolean - Whether enable worker node to support cis security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. Usesecurity_hardening_os
instead. - compensate
With booleanOn Demand - 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
toCOST_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. - cpu
Policy string - 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. - data
Disks GetKubernetes Node Pools Nodepool Data Disk[] - Configure the data disk of the node in the node pool.
- deployment
Set stringId - 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.
- desired
Size string - Number of expected nodes in the node pool.
- image
Id string - The custom image ID. The system-provided image is used by default.
- image
Type string - 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. - install
Cloud booleanMonitor - 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. - instance
Charge stringType - Node payment type. Valid values:
PostPaid
,PrePaid
, default isPostPaid
. If value isPrePaid
, the argumentsperiod
,period_unit
,auto_renew
andauto_renew_period
are required. - instance
Types string[] - 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.
- internet
Charge stringType - The billing method for network usage. Valid values
PayByBandwidth
andPayByTraffic
. Conflict witheip_internet_charge_type
, EIP and public network IP can only choose one. - internet
Max numberBandwidth Out - 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]
- key
Name string - The name of the key pair. When the node pool is a managed node pool, only
key_name
is supported. - kubelet
Configuration GetKubernetes Node Pools Nodepool Kubelet Configuration - Kubelet configuration parameters for worker nodes. See
kubelet_configuration
below. More information in Kubelet Configuration. - labels
Get
Kubernetes Node Pools Nodepool Label[] - 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.
- login
As booleanNon Root - Whether the ECS instance is logged on as a ecs-user user. Valid value:
true
andfalse
. - management
Get
Kubernetes Node Pools Nodepool Management - Managed node pool configuration.
- multi
Az stringPolicy - The scaling policy for ECS instances in a multi-zone scaling group. Valid value:
PRIORITY
,COST_OPTIMIZED
andBALANCE
.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 theCompensateWithOnDemand
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. - node
Name stringMode - 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 stringcustomized,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 isaliyun192.168.xxx.xxxcom
. - node
Pool stringId - The ID of node pool.
- node
Pool stringName - The name of node pool.
- on
Demand stringBase Capacity - 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.
- on
Demand stringPercentage Above Base Capacity - 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. - password string
- The password of ssh login. You have to specify one of
password
andkey_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). - period number
- Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
- period
Unit string - Node payment period unit, valid value:
Month
. Default isMonth
. - platform string
- Operating system release, using
image_type
instead. - pre
User stringData - Node pre custom data, base64-encoded, the script executed before the node is initialized.
- private
Pool GetOptions Kubernetes Node Pools Nodepool Private Pool Options - Private node pool configuration.
- ram
Role stringName - 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.
- rds
Instances string[] - The list of RDS instances.
- resource
Group stringId - The ID of the resource group
- runtime
Name string - 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.
- runtime
Version string - The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
- scaling
Config GetKubernetes Node Pools Nodepool Scaling Config - Automatic scaling configuration.
- scaling
Group stringId - The ID of the scaling group.
- scaling
Policy string - 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). - security
Group stringId - The security group ID of the node pool. This field has been replaced by
security_group_ids
, please use thesecurity_group_ids
field instead. - security
Group string[]Ids - Multiple security groups can be configured for a node pool. If both
security_group_ids
andsecurity_group_id
are configured,security_group_ids
takes effect. This field cannot be modified. - security
Hardening booleanOs - 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. - soc
Enabled boolean - Whether enable worker node to support soc security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. See SOC Reinforcement.> It is forbidden to set bothsecurity_hardening_os
andsoc_enabled
totrue
at the same time. - spot
Instance numberPools - 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.
- spot
Instance booleanRemedy - 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. - spot
Price GetLimits Kubernetes Node Pools Nodepool Spot Price Limit[] - The current single preemptible instance type market price range configuration.
- spot
Strategy string - 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. - system
Disk booleanBursting Enabled - 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 whensystem_disk_category
is set tocloud_auto
. - system
Disk string[]Categories - 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
. - system
Disk stringCategory - 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. - system
Disk stringEncrypt Algorithm - The encryption algorithm used by the system disk. Value range: aes-256.
- system
Disk booleanEncrypted - Whether to encrypt the system disk. Value range:
true
: encryption.false
: Do not encrypt. - system
Disk stringKms Key - The ID of the KMS key used by the system disk.
- system
Disk stringPerformance Level - 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. - system
Disk numberProvisioned Iops - 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 tocloud_auto
. - system
Disk numberSize - 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.
- system
Disk stringSnapshot Policy Id - The ID of the automatic snapshot policy used by the system disk.
- {[key: string]: string}
- 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://.
- taints
Get
Kubernetes Node Pools Nodepool Taint[] - A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration.
- tee
Config GetKubernetes Node Pools Nodepool Tee Config - The configuration about confidential computing for the cluster.
- unschedulable boolean
- Whether the node after expansion can be scheduled.
- user
Data string - Node custom data, base64-encoded.
- vswitch
Ids string[] - The vswitches used by node pool workers.
- auto_
renew bool - Whether to enable automatic renewal for nodes in the node pool takes effect only when
instance_charge_type
is set toPrePaid
. Default value:false
. Valid values:-true
: Automatic renewal. -false
: Do not renew automatically. - auto_
renew_ intperiod - 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. - cis_
enabled bool - Whether enable worker node to support cis security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. Usesecurity_hardening_os
instead. - compensate_
with_ boolon_ demand - 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
toCOST_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. - cpu_
policy str - 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. - data_
disks Sequence[GetKubernetes Node Pools Nodepool Data Disk] - Configure the data disk of the node in the node pool.
- deployment_
set_ strid - 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.
- desired_
size str - Number of expected nodes in the node pool.
- image_
id str - The custom image ID. The system-provided image is used by default.
- image_
type str - 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. - install_
cloud_ boolmonitor - 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. - instance_
charge_ strtype - Node payment type. Valid values:
PostPaid
,PrePaid
, default isPostPaid
. If value isPrePaid
, the argumentsperiod
,period_unit
,auto_renew
andauto_renew_period
are required. - instance_
types Sequence[str] - 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.
- internet_
charge_ strtype - The billing method for network usage. Valid values
PayByBandwidth
andPayByTraffic
. Conflict witheip_internet_charge_type
, EIP and public network IP can only choose one. - internet_
max_ intbandwidth_ out - 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]
- key_
name str - The name of the key pair. When the node pool is a managed node pool, only
key_name
is supported. - kubelet_
configuration GetKubernetes Node Pools Nodepool Kubelet Configuration - Kubelet configuration parameters for worker nodes. See
kubelet_configuration
below. More information in Kubelet Configuration. - labels
Sequence[Get
Kubernetes Node Pools Nodepool Label] - 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.
- login_
as_ boolnon_ root - Whether the ECS instance is logged on as a ecs-user user. Valid value:
true
andfalse
. - management
Get
Kubernetes Node Pools Nodepool Management - Managed node pool configuration.
- multi_
az_ strpolicy - The scaling policy for ECS instances in a multi-zone scaling group. Valid value:
PRIORITY
,COST_OPTIMIZED
andBALANCE
.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 theCompensateWithOnDemand
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. - node_
name_ strmode - 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 stringcustomized,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 isaliyun192.168.xxx.xxxcom
. - node_
pool_ strid - The ID of node pool.
- node_
pool_ strname - The name of node pool.
- on_
demand_ strbase_ capacity - 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.
- on_
demand_ strpercentage_ above_ base_ capacity - 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. - password str
- The password of ssh login. You have to specify one of
password
andkey_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). - period int
- Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
- period_
unit str - Node payment period unit, valid value:
Month
. Default isMonth
. - platform str
- Operating system release, using
image_type
instead. - pre_
user_ strdata - Node pre custom data, base64-encoded, the script executed before the node is initialized.
- private_
pool_ Getoptions Kubernetes Node Pools Nodepool Private Pool Options - Private node pool configuration.
- ram_
role_ strname - 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.
- rds_
instances Sequence[str] - The list of RDS instances.
- resource_
group_ strid - The ID of the resource group
- runtime_
name str - 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.
- runtime_
version str - The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
- scaling_
config GetKubernetes Node Pools Nodepool Scaling Config - Automatic scaling configuration.
- scaling_
group_ strid - The ID of the scaling group.
- scaling_
policy str - 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). - security_
group_ strid - The security group ID of the node pool. This field has been replaced by
security_group_ids
, please use thesecurity_group_ids
field instead. - security_
group_ Sequence[str]ids - Multiple security groups can be configured for a node pool. If both
security_group_ids
andsecurity_group_id
are configured,security_group_ids
takes effect. This field cannot be modified. - security_
hardening_ boolos - 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. - soc_
enabled bool - Whether enable worker node to support soc security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. See SOC Reinforcement.> It is forbidden to set bothsecurity_hardening_os
andsoc_enabled
totrue
at the same time. - spot_
instance_ intpools - 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.
- spot_
instance_ boolremedy - 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. - spot_
price_ Sequence[Getlimits Kubernetes Node Pools Nodepool Spot Price Limit] - The current single preemptible instance type market price range configuration.
- spot_
strategy str - 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. - system_
disk_ boolbursting_ enabled - 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 whensystem_disk_category
is set tocloud_auto
. - system_
disk_ Sequence[str]categories - 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
. - system_
disk_ strcategory - 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. - system_
disk_ strencrypt_ algorithm - The encryption algorithm used by the system disk. Value range: aes-256.
- system_
disk_ boolencrypted - Whether to encrypt the system disk. Value range:
true
: encryption.false
: Do not encrypt. - system_
disk_ strkms_ key - The ID of the KMS key used by the system disk.
- system_
disk_ strperformance_ level - 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. - system_
disk_ intprovisioned_ iops - 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 tocloud_auto
. - system_
disk_ intsize - 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.
- system_
disk_ strsnapshot_ policy_ id - The ID of the automatic snapshot policy used by the system disk.
- Mapping[str, str]
- 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://.
- taints
Sequence[Get
Kubernetes Node Pools Nodepool Taint] - A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration.
- tee_
config GetKubernetes Node Pools Nodepool Tee Config - The configuration about confidential computing for the cluster.
- unschedulable bool
- Whether the node after expansion can be scheduled.
- user_
data str - Node custom data, base64-encoded.
- vswitch_
ids Sequence[str] - The vswitches used by node pool workers.
- auto
Renew Boolean - Whether to enable automatic renewal for nodes in the node pool takes effect only when
instance_charge_type
is set toPrePaid
. Default value:false
. Valid values:-true
: Automatic renewal. -false
: Do not renew automatically. - auto
Renew NumberPeriod - 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. - cis
Enabled Boolean - Whether enable worker node to support cis security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. Usesecurity_hardening_os
instead. - compensate
With BooleanOn Demand - 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
toCOST_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. - cpu
Policy String - 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. - data
Disks List<Property Map> - Configure the data disk of the node in the node pool.
- deployment
Set StringId - 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.
- desired
Size String - Number of expected nodes in the node pool.
- image
Id String - The custom image ID. The system-provided image is used by default.
- image
Type String - 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. - install
Cloud BooleanMonitor - 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. - instance
Charge StringType - Node payment type. Valid values:
PostPaid
,PrePaid
, default isPostPaid
. If value isPrePaid
, the argumentsperiod
,period_unit
,auto_renew
andauto_renew_period
are required. - instance
Types List<String> - 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.
- internet
Charge StringType - The billing method for network usage. Valid values
PayByBandwidth
andPayByTraffic
. Conflict witheip_internet_charge_type
, EIP and public network IP can only choose one. - internet
Max NumberBandwidth Out - 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]
- key
Name String - The name of the key pair. When the node pool is a managed node pool, only
key_name
is supported. - kubelet
Configuration Property Map - Kubelet configuration parameters for worker nodes. See
kubelet_configuration
below. More information in Kubelet Configuration. - labels List<Property Map>
- 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.
- login
As BooleanNon Root - Whether the ECS instance is logged on as a ecs-user user. Valid value:
true
andfalse
. - management Property Map
- Managed node pool configuration.
- multi
Az StringPolicy - The scaling policy for ECS instances in a multi-zone scaling group. Valid value:
PRIORITY
,COST_OPTIMIZED
andBALANCE
.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 theCompensateWithOnDemand
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. - node
Name StringMode - 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 stringcustomized,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 isaliyun192.168.xxx.xxxcom
. - node
Pool StringId - The ID of node pool.
- node
Pool StringName - The name of node pool.
- on
Demand StringBase Capacity - 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.
- on
Demand StringPercentage Above Base Capacity - 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. - password String
- The password of ssh login. You have to specify one of
password
andkey_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). - period Number
- Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
- period
Unit String - Node payment period unit, valid value:
Month
. Default isMonth
. - platform String
- Operating system release, using
image_type
instead. - pre
User StringData - Node pre custom data, base64-encoded, the script executed before the node is initialized.
- private
Pool Property MapOptions - Private node pool configuration.
- ram
Role StringName - 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.
- rds
Instances List<String> - The list of RDS instances.
- resource
Group StringId - The ID of the resource group
- runtime
Name String - 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.
- runtime
Version String - The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
- scaling
Config Property Map - Automatic scaling configuration.
- scaling
Group StringId - The ID of the scaling group.
- scaling
Policy String - 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). - security
Group StringId - The security group ID of the node pool. This field has been replaced by
security_group_ids
, please use thesecurity_group_ids
field instead. - security
Group List<String>Ids - Multiple security groups can be configured for a node pool. If both
security_group_ids
andsecurity_group_id
are configured,security_group_ids
takes effect. This field cannot be modified. - security
Hardening BooleanOs - 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. - soc
Enabled Boolean - Whether enable worker node to support soc security reinforcement, its valid value
true
orfalse
. Default tofalse
and apply to AliyunLinux series. See SOC Reinforcement.> It is forbidden to set bothsecurity_hardening_os
andsoc_enabled
totrue
at the same time. - spot
Instance NumberPools - 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.
- spot
Instance BooleanRemedy - 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. - spot
Price List<Property Map>Limits - The current single preemptible instance type market price range configuration.
- spot
Strategy String - 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. - system
Disk BooleanBursting Enabled - 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 whensystem_disk_category
is set tocloud_auto
. - system
Disk List<String>Categories - 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
. - system
Disk StringCategory - 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. - system
Disk StringEncrypt Algorithm - The encryption algorithm used by the system disk. Value range: aes-256.
- system
Disk BooleanEncrypted - Whether to encrypt the system disk. Value range:
true
: encryption.false
: Do not encrypt. - system
Disk StringKms Key - The ID of the KMS key used by the system disk.
- system
Disk StringPerformance Level - 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. - system
Disk NumberProvisioned Iops - 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 tocloud_auto
. - system
Disk NumberSize - 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.
- system
Disk StringSnapshot Policy Id - The ID of the automatic snapshot policy used by the system disk.
- Map<String>
- 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://.
- taints List<Property Map>
- A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration.
- tee
Config Property Map - The configuration about confidential computing for the cluster.
- unschedulable Boolean
- Whether the node after expansion can be scheduled.
- user
Data String - Node custom data, base64-encoded.
- vswitch
Ids List<String> - The vswitches used by node pool workers.
GetKubernetesNodePoolsNodepoolDataDisk
- Auto
Format string - Whether to automatically mount the data disk. Valid values: true and false.
- Auto
Snapshot stringPolicy Id - The ID of the automatic snapshot policy that you want to apply to the system disk.
- Bursting
Enabled bool - Whether the data disk is enabled with Burst (performance Burst). This is configured when the disk type is cloud_auto.
- Category string
- The type of data disk. Default value:
cloud_efficiency
. Valid values:-cloud
: basic disk.-cloud_efficiency
: ultra disk.-cloud_ssd
: standard SSD.-cloud_essd
: Enterprise SSD (ESSD).-cloud_auto
: ESSD AutoPL disk.-cloud_essd_entry
: ESSD Entry disk.-elastic_ephemeral_disk_premium
: premium elastic ephemeral disk.-elastic_ephemeral_disk_standard
: standard elastic ephemeral disk. - Device string
- The mount target of data disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the system automatically assigns a mount target when Auto Scaling creates ECS instances. The name of the mount target ranges from /dev/xvdb to /dev/xvdz.
- Encrypted string
- Specifies whether to encrypt data disks. Valid values: true and false. Default to
false
. - File
System string - The type of the mounted file system. Works when auto_format is true. Optional value:
ext4
,xfs
. - Kms
Key stringId - The kms key id used to encrypt the data disk. It takes effect when
encrypted
is true. - Mount
Target string - The Mount path. Works when auto_format is true.
- Name string
- The length is 2~128 English or Chinese characters. It must start with an uppercase or lowr letter or a Chinese character and cannot start with http:// or https. Can contain numbers, colons (:), underscores (_), or dashes (-). It will be overwritten if auto_format is set.
- Performance
Level string - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
. - Provisioned
Iops int - The read/write IOPS preconfigured for the data disk, which is configured when the disk type is cloud_auto.
- Size int
- The size of a data disk, Its valid value range [40~32768] in GB. Default to
40
. - Snapshot
Id string - The ID of the snapshot that you want to use to create data disk N. Valid values of N: 1 to 16. If you specify this parameter, DataDisk.N.Size is ignored. The size of the disk is the same as the size of the specified snapshot. If you specify a snapshot that is created on or before July 15, 2013, the operation fails and InvalidSnapshot.TooOld is returned.
- Auto
Format string - Whether to automatically mount the data disk. Valid values: true and false.
- Auto
Snapshot stringPolicy Id - The ID of the automatic snapshot policy that you want to apply to the system disk.
- Bursting
Enabled bool - Whether the data disk is enabled with Burst (performance Burst). This is configured when the disk type is cloud_auto.
- Category string
- The type of data disk. Default value:
cloud_efficiency
. Valid values:-cloud
: basic disk.-cloud_efficiency
: ultra disk.-cloud_ssd
: standard SSD.-cloud_essd
: Enterprise SSD (ESSD).-cloud_auto
: ESSD AutoPL disk.-cloud_essd_entry
: ESSD Entry disk.-elastic_ephemeral_disk_premium
: premium elastic ephemeral disk.-elastic_ephemeral_disk_standard
: standard elastic ephemeral disk. - Device string
- The mount target of data disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the system automatically assigns a mount target when Auto Scaling creates ECS instances. The name of the mount target ranges from /dev/xvdb to /dev/xvdz.
- Encrypted string
- Specifies whether to encrypt data disks. Valid values: true and false. Default to
false
. - File
System string - The type of the mounted file system. Works when auto_format is true. Optional value:
ext4
,xfs
. - Kms
Key stringId - The kms key id used to encrypt the data disk. It takes effect when
encrypted
is true. - Mount
Target string - The Mount path. Works when auto_format is true.
- Name string
- The length is 2~128 English or Chinese characters. It must start with an uppercase or lowr letter or a Chinese character and cannot start with http:// or https. Can contain numbers, colons (:), underscores (_), or dashes (-). It will be overwritten if auto_format is set.
- Performance
Level string - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
. - Provisioned
Iops int - The read/write IOPS preconfigured for the data disk, which is configured when the disk type is cloud_auto.
- Size int
- The size of a data disk, Its valid value range [40~32768] in GB. Default to
40
. - Snapshot
Id string - The ID of the snapshot that you want to use to create data disk N. Valid values of N: 1 to 16. If you specify this parameter, DataDisk.N.Size is ignored. The size of the disk is the same as the size of the specified snapshot. If you specify a snapshot that is created on or before July 15, 2013, the operation fails and InvalidSnapshot.TooOld is returned.
- auto
Format String - Whether to automatically mount the data disk. Valid values: true and false.
- auto
Snapshot StringPolicy Id - The ID of the automatic snapshot policy that you want to apply to the system disk.
- bursting
Enabled Boolean - Whether the data disk is enabled with Burst (performance Burst). This is configured when the disk type is cloud_auto.
- category String
- The type of data disk. Default value:
cloud_efficiency
. Valid values:-cloud
: basic disk.-cloud_efficiency
: ultra disk.-cloud_ssd
: standard SSD.-cloud_essd
: Enterprise SSD (ESSD).-cloud_auto
: ESSD AutoPL disk.-cloud_essd_entry
: ESSD Entry disk.-elastic_ephemeral_disk_premium
: premium elastic ephemeral disk.-elastic_ephemeral_disk_standard
: standard elastic ephemeral disk. - device String
- The mount target of data disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the system automatically assigns a mount target when Auto Scaling creates ECS instances. The name of the mount target ranges from /dev/xvdb to /dev/xvdz.
- encrypted String
- Specifies whether to encrypt data disks. Valid values: true and false. Default to
false
. - file
System String - The type of the mounted file system. Works when auto_format is true. Optional value:
ext4
,xfs
. - kms
Key StringId - The kms key id used to encrypt the data disk. It takes effect when
encrypted
is true. - mount
Target String - The Mount path. Works when auto_format is true.
- name String
- The length is 2~128 English or Chinese characters. It must start with an uppercase or lowr letter or a Chinese character and cannot start with http:// or https. Can contain numbers, colons (:), underscores (_), or dashes (-). It will be overwritten if auto_format is set.
- performance
Level String - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
. - provisioned
Iops Integer - The read/write IOPS preconfigured for the data disk, which is configured when the disk type is cloud_auto.
- size Integer
- The size of a data disk, Its valid value range [40~32768] in GB. Default to
40
. - snapshot
Id String - The ID of the snapshot that you want to use to create data disk N. Valid values of N: 1 to 16. If you specify this parameter, DataDisk.N.Size is ignored. The size of the disk is the same as the size of the specified snapshot. If you specify a snapshot that is created on or before July 15, 2013, the operation fails and InvalidSnapshot.TooOld is returned.
- auto
Format string - Whether to automatically mount the data disk. Valid values: true and false.
- auto
Snapshot stringPolicy Id - The ID of the automatic snapshot policy that you want to apply to the system disk.
- bursting
Enabled boolean - Whether the data disk is enabled with Burst (performance Burst). This is configured when the disk type is cloud_auto.
- category string
- The type of data disk. Default value:
cloud_efficiency
. Valid values:-cloud
: basic disk.-cloud_efficiency
: ultra disk.-cloud_ssd
: standard SSD.-cloud_essd
: Enterprise SSD (ESSD).-cloud_auto
: ESSD AutoPL disk.-cloud_essd_entry
: ESSD Entry disk.-elastic_ephemeral_disk_premium
: premium elastic ephemeral disk.-elastic_ephemeral_disk_standard
: standard elastic ephemeral disk. - device string
- The mount target of data disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the system automatically assigns a mount target when Auto Scaling creates ECS instances. The name of the mount target ranges from /dev/xvdb to /dev/xvdz.
- encrypted string
- Specifies whether to encrypt data disks. Valid values: true and false. Default to
false
. - file
System string - The type of the mounted file system. Works when auto_format is true. Optional value:
ext4
,xfs
. - kms
Key stringId - The kms key id used to encrypt the data disk. It takes effect when
encrypted
is true. - mount
Target string - The Mount path. Works when auto_format is true.
- name string
- The length is 2~128 English or Chinese characters. It must start with an uppercase or lowr letter or a Chinese character and cannot start with http:// or https. Can contain numbers, colons (:), underscores (_), or dashes (-). It will be overwritten if auto_format is set.
- performance
Level string - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
. - provisioned
Iops number - The read/write IOPS preconfigured for the data disk, which is configured when the disk type is cloud_auto.
- size number
- The size of a data disk, Its valid value range [40~32768] in GB. Default to
40
. - snapshot
Id string - The ID of the snapshot that you want to use to create data disk N. Valid values of N: 1 to 16. If you specify this parameter, DataDisk.N.Size is ignored. The size of the disk is the same as the size of the specified snapshot. If you specify a snapshot that is created on or before July 15, 2013, the operation fails and InvalidSnapshot.TooOld is returned.
- auto_
format str - Whether to automatically mount the data disk. Valid values: true and false.
- auto_
snapshot_ strpolicy_ id - The ID of the automatic snapshot policy that you want to apply to the system disk.
- bursting_
enabled bool - Whether the data disk is enabled with Burst (performance Burst). This is configured when the disk type is cloud_auto.
- category str
- The type of data disk. Default value:
cloud_efficiency
. Valid values:-cloud
: basic disk.-cloud_efficiency
: ultra disk.-cloud_ssd
: standard SSD.-cloud_essd
: Enterprise SSD (ESSD).-cloud_auto
: ESSD AutoPL disk.-cloud_essd_entry
: ESSD Entry disk.-elastic_ephemeral_disk_premium
: premium elastic ephemeral disk.-elastic_ephemeral_disk_standard
: standard elastic ephemeral disk. - device str
- The mount target of data disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the system automatically assigns a mount target when Auto Scaling creates ECS instances. The name of the mount target ranges from /dev/xvdb to /dev/xvdz.
- encrypted str
- Specifies whether to encrypt data disks. Valid values: true and false. Default to
false
. - file_
system str - The type of the mounted file system. Works when auto_format is true. Optional value:
ext4
,xfs
. - kms_
key_ strid - The kms key id used to encrypt the data disk. It takes effect when
encrypted
is true. - mount_
target str - The Mount path. Works when auto_format is true.
- name str
- The length is 2~128 English or Chinese characters. It must start with an uppercase or lowr letter or a Chinese character and cannot start with http:// or https. Can contain numbers, colons (:), underscores (_), or dashes (-). It will be overwritten if auto_format is set.
- performance_
level str - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
. - provisioned_
iops int - The read/write IOPS preconfigured for the data disk, which is configured when the disk type is cloud_auto.
- size int
- The size of a data disk, Its valid value range [40~32768] in GB. Default to
40
. - snapshot_
id str - The ID of the snapshot that you want to use to create data disk N. Valid values of N: 1 to 16. If you specify this parameter, DataDisk.N.Size is ignored. The size of the disk is the same as the size of the specified snapshot. If you specify a snapshot that is created on or before July 15, 2013, the operation fails and InvalidSnapshot.TooOld is returned.
- auto
Format String - Whether to automatically mount the data disk. Valid values: true and false.
- auto
Snapshot StringPolicy Id - The ID of the automatic snapshot policy that you want to apply to the system disk.
- bursting
Enabled Boolean - Whether the data disk is enabled with Burst (performance Burst). This is configured when the disk type is cloud_auto.
- category String
- The type of data disk. Default value:
cloud_efficiency
. Valid values:-cloud
: basic disk.-cloud_efficiency
: ultra disk.-cloud_ssd
: standard SSD.-cloud_essd
: Enterprise SSD (ESSD).-cloud_auto
: ESSD AutoPL disk.-cloud_essd_entry
: ESSD Entry disk.-elastic_ephemeral_disk_premium
: premium elastic ephemeral disk.-elastic_ephemeral_disk_standard
: standard elastic ephemeral disk. - device String
- The mount target of data disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the system automatically assigns a mount target when Auto Scaling creates ECS instances. The name of the mount target ranges from /dev/xvdb to /dev/xvdz.
- encrypted String
- Specifies whether to encrypt data disks. Valid values: true and false. Default to
false
. - file
System String - The type of the mounted file system. Works when auto_format is true. Optional value:
ext4
,xfs
. - kms
Key StringId - The kms key id used to encrypt the data disk. It takes effect when
encrypted
is true. - mount
Target String - The Mount path. Works when auto_format is true.
- name String
- The length is 2~128 English or Chinese characters. It must start with an uppercase or lowr letter or a Chinese character and cannot start with http:// or https. Can contain numbers, colons (:), underscores (_), or dashes (-). It will be overwritten if auto_format is set.
- performance
Level String - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
. - provisioned
Iops Number - The read/write IOPS preconfigured for the data disk, which is configured when the disk type is cloud_auto.
- size Number
- The size of a data disk, Its valid value range [40~32768] in GB. Default to
40
. - snapshot
Id String - The ID of the snapshot that you want to use to create data disk N. Valid values of N: 1 to 16. If you specify this parameter, DataDisk.N.Size is ignored. The size of the disk is the same as the size of the specified snapshot. If you specify a snapshot that is created on or before July 15, 2013, the operation fails and InvalidSnapshot.TooOld is returned.
GetKubernetesNodePoolsNodepoolKubeletConfiguration
- Allowed
Unsafe List<string>Sysctls - Allowed sysctl mode whitelist.
- Cluster
Dns List<string> - The list of IP addresses of the cluster DNS servers.
- Container
Log stringMax Files - The maximum number of log files that can exist in each container.
- Container
Log stringMax Size - The maximum size that can be reached before a log file is rotated.
- Container
Log stringMax Workers - Specifies the maximum number of concurrent workers required to perform log rotation operations.
- Container
Log stringMonitor Interval - Specifies the duration for which container logs are monitored for log rotation.
- Cpu
Cfs stringQuota - CPU CFS quota constraint switch.
- Cpu
Cfs stringQuota Period - CPU CFS quota period value.
- Cpu
Manager stringPolicy - Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is
none
orstatic
. - Event
Burst string - Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding
event_record_qps
. It is only used whenevent_record_qps
is greater than 0. Valid value is[0-100]
. - Event
Record stringQps - Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is
[0-50]
. - Eviction
Hard Dictionary<string, string> - Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - Eviction
Soft Dictionary<string, string> - Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - Eviction
Soft Dictionary<string, string>Grace Period - Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example:
{"memory.available" = "30s"}
. - Feature
Gates Dictionary<string, string> - Feature switch to enable configuration of experimental features.
- Image
Gc stringHigh Threshold Percent - If the image usage exceeds this threshold, image garbage collection will continue.
- Image
Gc stringLow Threshold Percent - Image garbage collection is not performed when the image usage is below this threshold.
- Kube
Api stringBurst - Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is
[0-100]
. - Kube
Api stringQps - Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is
[0-50]
. - Kube
Reserved Dictionary<string, string> - Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See compute resources for more details.
- Max
Pods string - The maximum number of running pods.
- Memory
Manager stringPolicy - The policy to be used by the memory manager.
- Pod
Pids stringLimit - The maximum number of PIDs that can be used in a Pod.
- Read
Only stringPort - Read-only port number.
- Registry
Burst string - Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding
registry_pull_qps
. Only used ifregistry_pull_qps
is greater than 0. Valid value is[0-100]
. - Registry
Pull stringQps - Same as registryPullQPS. The limit of registry pulls per second. Setting it to
0
means no limit. Valid value is[0-50]
. - Reserved
Memories List<Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Kubelet Configuration Reserved Memory> - Reserve memory for NUMA nodes.
- Serialize
Image stringPulls - Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is
true
orfalse
. - System
Reserved Dictionary<string, string> - Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See compute resources for more details.
- Topology
Manager stringPolicy - Name of the Topology Manager policy used.
- Tracing
Pulumi.
Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Kubelet Configuration Tracing - OpenTelemetry tracks the configuration information for client settings versioning.
- Allowed
Unsafe []stringSysctls - Allowed sysctl mode whitelist.
- Cluster
Dns []string - The list of IP addresses of the cluster DNS servers.
- Container
Log stringMax Files - The maximum number of log files that can exist in each container.
- Container
Log stringMax Size - The maximum size that can be reached before a log file is rotated.
- Container
Log stringMax Workers - Specifies the maximum number of concurrent workers required to perform log rotation operations.
- Container
Log stringMonitor Interval - Specifies the duration for which container logs are monitored for log rotation.
- Cpu
Cfs stringQuota - CPU CFS quota constraint switch.
- Cpu
Cfs stringQuota Period - CPU CFS quota period value.
- Cpu
Manager stringPolicy - Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is
none
orstatic
. - Event
Burst string - Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding
event_record_qps
. It is only used whenevent_record_qps
is greater than 0. Valid value is[0-100]
. - Event
Record stringQps - Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is
[0-50]
. - Eviction
Hard map[string]string - Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - Eviction
Soft map[string]string - Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - Eviction
Soft map[string]stringGrace Period - Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example:
{"memory.available" = "30s"}
. - Feature
Gates map[string]string - Feature switch to enable configuration of experimental features.
- Image
Gc stringHigh Threshold Percent - If the image usage exceeds this threshold, image garbage collection will continue.
- Image
Gc stringLow Threshold Percent - Image garbage collection is not performed when the image usage is below this threshold.
- Kube
Api stringBurst - Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is
[0-100]
. - Kube
Api stringQps - Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is
[0-50]
. - Kube
Reserved map[string]string - Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See compute resources for more details.
- Max
Pods string - The maximum number of running pods.
- Memory
Manager stringPolicy - The policy to be used by the memory manager.
- Pod
Pids stringLimit - The maximum number of PIDs that can be used in a Pod.
- Read
Only stringPort - Read-only port number.
- Registry
Burst string - Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding
registry_pull_qps
. Only used ifregistry_pull_qps
is greater than 0. Valid value is[0-100]
. - Registry
Pull stringQps - Same as registryPullQPS. The limit of registry pulls per second. Setting it to
0
means no limit. Valid value is[0-50]
. - Reserved
Memories []GetKubernetes Node Pools Nodepool Kubelet Configuration Reserved Memory - Reserve memory for NUMA nodes.
- Serialize
Image stringPulls - Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is
true
orfalse
. - System
Reserved map[string]string - Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See compute resources for more details.
- Topology
Manager stringPolicy - Name of the Topology Manager policy used.
- Tracing
Get
Kubernetes Node Pools Nodepool Kubelet Configuration Tracing - OpenTelemetry tracks the configuration information for client settings versioning.
- allowed
Unsafe List<String>Sysctls - Allowed sysctl mode whitelist.
- cluster
Dns List<String> - The list of IP addresses of the cluster DNS servers.
- container
Log StringMax Files - The maximum number of log files that can exist in each container.
- container
Log StringMax Size - The maximum size that can be reached before a log file is rotated.
- container
Log StringMax Workers - Specifies the maximum number of concurrent workers required to perform log rotation operations.
- container
Log StringMonitor Interval - Specifies the duration for which container logs are monitored for log rotation.
- cpu
Cfs StringQuota - CPU CFS quota constraint switch.
- cpu
Cfs StringQuota Period - CPU CFS quota period value.
- cpu
Manager StringPolicy - Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is
none
orstatic
. - event
Burst String - Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding
event_record_qps
. It is only used whenevent_record_qps
is greater than 0. Valid value is[0-100]
. - event
Record StringQps - Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is
[0-50]
. - eviction
Hard Map<String,String> - Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - eviction
Soft Map<String,String> - Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - eviction
Soft Map<String,String>Grace Period - Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example:
{"memory.available" = "30s"}
. - feature
Gates Map<String,String> - Feature switch to enable configuration of experimental features.
- image
Gc StringHigh Threshold Percent - If the image usage exceeds this threshold, image garbage collection will continue.
- image
Gc StringLow Threshold Percent - Image garbage collection is not performed when the image usage is below this threshold.
- kube
Api StringBurst - Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is
[0-100]
. - kube
Api StringQps - Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is
[0-50]
. - kube
Reserved Map<String,String> - Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See compute resources for more details.
- max
Pods String - The maximum number of running pods.
- memory
Manager StringPolicy - The policy to be used by the memory manager.
- pod
Pids StringLimit - The maximum number of PIDs that can be used in a Pod.
- read
Only StringPort - Read-only port number.
- registry
Burst String - Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding
registry_pull_qps
. Only used ifregistry_pull_qps
is greater than 0. Valid value is[0-100]
. - registry
Pull StringQps - Same as registryPullQPS. The limit of registry pulls per second. Setting it to
0
means no limit. Valid value is[0-50]
. - reserved
Memories List<GetKubernetes Node Pools Nodepool Kubelet Configuration Reserved Memory> - Reserve memory for NUMA nodes.
- serialize
Image StringPulls - Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is
true
orfalse
. - system
Reserved Map<String,String> - Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See compute resources for more details.
- topology
Manager StringPolicy - Name of the Topology Manager policy used.
- tracing
Get
Kubernetes Node Pools Nodepool Kubelet Configuration Tracing - OpenTelemetry tracks the configuration information for client settings versioning.
- allowed
Unsafe string[]Sysctls - Allowed sysctl mode whitelist.
- cluster
Dns string[] - The list of IP addresses of the cluster DNS servers.
- container
Log stringMax Files - The maximum number of log files that can exist in each container.
- container
Log stringMax Size - The maximum size that can be reached before a log file is rotated.
- container
Log stringMax Workers - Specifies the maximum number of concurrent workers required to perform log rotation operations.
- container
Log stringMonitor Interval - Specifies the duration for which container logs are monitored for log rotation.
- cpu
Cfs stringQuota - CPU CFS quota constraint switch.
- cpu
Cfs stringQuota Period - CPU CFS quota period value.
- cpu
Manager stringPolicy - Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is
none
orstatic
. - event
Burst string - Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding
event_record_qps
. It is only used whenevent_record_qps
is greater than 0. Valid value is[0-100]
. - event
Record stringQps - Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is
[0-50]
. - eviction
Hard {[key: string]: string} - Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - eviction
Soft {[key: string]: string} - Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - eviction
Soft {[key: string]: string}Grace Period - Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example:
{"memory.available" = "30s"}
. - feature
Gates {[key: string]: string} - Feature switch to enable configuration of experimental features.
- image
Gc stringHigh Threshold Percent - If the image usage exceeds this threshold, image garbage collection will continue.
- image
Gc stringLow Threshold Percent - Image garbage collection is not performed when the image usage is below this threshold.
- kube
Api stringBurst - Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is
[0-100]
. - kube
Api stringQps - Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is
[0-50]
. - kube
Reserved {[key: string]: string} - Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See compute resources for more details.
- max
Pods string - The maximum number of running pods.
- memory
Manager stringPolicy - The policy to be used by the memory manager.
- pod
Pids stringLimit - The maximum number of PIDs that can be used in a Pod.
- read
Only stringPort - Read-only port number.
- registry
Burst string - Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding
registry_pull_qps
. Only used ifregistry_pull_qps
is greater than 0. Valid value is[0-100]
. - registry
Pull stringQps - Same as registryPullQPS. The limit of registry pulls per second. Setting it to
0
means no limit. Valid value is[0-50]
. - reserved
Memories GetKubernetes Node Pools Nodepool Kubelet Configuration Reserved Memory[] - Reserve memory for NUMA nodes.
- serialize
Image stringPulls - Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is
true
orfalse
. - system
Reserved {[key: string]: string} - Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See compute resources for more details.
- topology
Manager stringPolicy - Name of the Topology Manager policy used.
- tracing
Get
Kubernetes Node Pools Nodepool Kubelet Configuration Tracing - OpenTelemetry tracks the configuration information for client settings versioning.
- allowed_
unsafe_ Sequence[str]sysctls - Allowed sysctl mode whitelist.
- cluster_
dns Sequence[str] - The list of IP addresses of the cluster DNS servers.
- container_
log_ strmax_ files - The maximum number of log files that can exist in each container.
- container_
log_ strmax_ size - The maximum size that can be reached before a log file is rotated.
- container_
log_ strmax_ workers - Specifies the maximum number of concurrent workers required to perform log rotation operations.
- container_
log_ strmonitor_ interval - Specifies the duration for which container logs are monitored for log rotation.
- cpu_
cfs_ strquota - CPU CFS quota constraint switch.
- cpu_
cfs_ strquota_ period - CPU CFS quota period value.
- cpu_
manager_ strpolicy - Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is
none
orstatic
. - event_
burst str - Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding
event_record_qps
. It is only used whenevent_record_qps
is greater than 0. Valid value is[0-100]
. - event_
record_ strqps - Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is
[0-50]
. - eviction_
hard Mapping[str, str] - Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - eviction_
soft Mapping[str, str] - Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - eviction_
soft_ Mapping[str, str]grace_ period - Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example:
{"memory.available" = "30s"}
. - feature_
gates Mapping[str, str] - Feature switch to enable configuration of experimental features.
- image_
gc_ strhigh_ threshold_ percent - If the image usage exceeds this threshold, image garbage collection will continue.
- image_
gc_ strlow_ threshold_ percent - Image garbage collection is not performed when the image usage is below this threshold.
- kube_
api_ strburst - Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is
[0-100]
. - kube_
api_ strqps - Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is
[0-50]
. - kube_
reserved Mapping[str, str] - Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See compute resources for more details.
- max_
pods str - The maximum number of running pods.
- memory_
manager_ strpolicy - The policy to be used by the memory manager.
- pod_
pids_ strlimit - The maximum number of PIDs that can be used in a Pod.
- read_
only_ strport - Read-only port number.
- registry_
burst str - Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding
registry_pull_qps
. Only used ifregistry_pull_qps
is greater than 0. Valid value is[0-100]
. - registry_
pull_ strqps - Same as registryPullQPS. The limit of registry pulls per second. Setting it to
0
means no limit. Valid value is[0-50]
. - reserved_
memories Sequence[GetKubernetes Node Pools Nodepool Kubelet Configuration Reserved Memory] - Reserve memory for NUMA nodes.
- serialize_
image_ strpulls - Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is
true
orfalse
. - system_
reserved Mapping[str, str] - Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See compute resources for more details.
- topology_
manager_ strpolicy - Name of the Topology Manager policy used.
- tracing
Get
Kubernetes Node Pools Nodepool Kubelet Configuration Tracing - OpenTelemetry tracks the configuration information for client settings versioning.
- allowed
Unsafe List<String>Sysctls - Allowed sysctl mode whitelist.
- cluster
Dns List<String> - The list of IP addresses of the cluster DNS servers.
- container
Log StringMax Files - The maximum number of log files that can exist in each container.
- container
Log StringMax Size - The maximum size that can be reached before a log file is rotated.
- container
Log StringMax Workers - Specifies the maximum number of concurrent workers required to perform log rotation operations.
- container
Log StringMonitor Interval - Specifies the duration for which container logs are monitored for log rotation.
- cpu
Cfs StringQuota - CPU CFS quota constraint switch.
- cpu
Cfs StringQuota Period - CPU CFS quota period value.
- cpu
Manager StringPolicy - Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is
none
orstatic
. - event
Burst String - Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding
event_record_qps
. It is only used whenevent_record_qps
is greater than 0. Valid value is[0-100]
. - event
Record StringQps - Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is
[0-50]
. - eviction
Hard Map<String> - Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - eviction
Soft Map<String> - Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example:
{"memory.available" = "300Mi"}
. - eviction
Soft Map<String>Grace Period - Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example:
{"memory.available" = "30s"}
. - feature
Gates Map<String> - Feature switch to enable configuration of experimental features.
- image
Gc StringHigh Threshold Percent - If the image usage exceeds this threshold, image garbage collection will continue.
- image
Gc StringLow Threshold Percent - Image garbage collection is not performed when the image usage is below this threshold.
- kube
Api StringBurst - Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is
[0-100]
. - kube
Api StringQps - Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is
[0-50]
. - kube
Reserved Map<String> - Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See compute resources for more details.
- max
Pods String - The maximum number of running pods.
- memory
Manager StringPolicy - The policy to be used by the memory manager.
- pod
Pids StringLimit - The maximum number of PIDs that can be used in a Pod.
- read
Only StringPort - Read-only port number.
- registry
Burst String - Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding
registry_pull_qps
. Only used ifregistry_pull_qps
is greater than 0. Valid value is[0-100]
. - registry
Pull StringQps - Same as registryPullQPS. The limit of registry pulls per second. Setting it to
0
means no limit. Valid value is[0-50]
. - reserved
Memories List<Property Map> - Reserve memory for NUMA nodes.
- serialize
Image StringPulls - Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is
true
orfalse
. - system
Reserved Map<String> - Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See compute resources for more details.
- topology
Manager StringPolicy - Name of the Topology Manager policy used.
- tracing Property Map
- OpenTelemetry tracks the configuration information for client settings versioning.
GetKubernetesNodePoolsNodepoolKubeletConfigurationReservedMemory
GetKubernetesNodePoolsNodepoolKubeletConfigurationTracing
- Endpoint string
- The endpoint of the collector.
- Sampling
Rate stringPer Million - Number of samples to be collected per million span.
- Endpoint string
- The endpoint of the collector.
- Sampling
Rate stringPer Million - Number of samples to be collected per million span.
- endpoint String
- The endpoint of the collector.
- sampling
Rate StringPer Million - Number of samples to be collected per million span.
- endpoint string
- The endpoint of the collector.
- sampling
Rate stringPer Million - Number of samples to be collected per million span.
- endpoint str
- The endpoint of the collector.
- sampling_
rate_ strper_ million - Number of samples to be collected per million span.
- endpoint String
- The endpoint of the collector.
- sampling
Rate StringPer Million - Number of samples to be collected per million span.
GetKubernetesNodePoolsNodepoolLabel
GetKubernetesNodePoolsNodepoolManagement
- Auto
Repair bool - Whether to enable automatic repair. Valid values:
true
: Automatic repair.false
: not automatically repaired. - Auto
Repair Pulumi.Policy Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Management Auto Repair Policy - Automatic repair node policy.
- Auto
Upgrade bool - Specifies whether to enable auto update. Valid values:
true
: enables auto update.false
: disables auto update. - Auto
Upgrade Pulumi.Policy Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Management Auto Upgrade Policy - The auto update policy.
- Auto
Vul boolFix - Specifies whether to automatically patch CVE vulnerabilities. Valid values:
true
,false
. - Auto
Vul Pulumi.Fix Policy Ali Cloud. CS. Inputs. Get Kubernetes Node Pools Nodepool Management Auto Vul Fix Policy - The auto CVE patching policy.
- Enable bool
- 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, otherauto_scaling
configuration parameters do not take effect. - int
- Maximum number of unavailable nodes. Default value: 1. Value range:[1,1000].
- Surge int
- Number of additional nodes. You have to specify one of surge, surge_percentage.
- Surge
Percentage int - Proportion of additional nodes. You have to specify one of surge, surge_percentage.
- Auto
Repair bool - Whether to enable automatic repair. Valid values:
true
: Automatic repair.false
: not automatically repaired. - Auto
Repair GetPolicy Kubernetes Node Pools Nodepool Management Auto Repair Policy - Automatic repair node policy.
- Auto
Upgrade bool - Specifies whether to enable auto update. Valid values:
true
: enables auto update.false
: disables auto update. - Auto
Upgrade GetPolicy Kubernetes Node Pools Nodepool Management Auto Upgrade Policy - The auto update policy.
- Auto
Vul boolFix - Specifies whether to automatically patch CVE vulnerabilities. Valid values:
true
,false
. - Auto
Vul GetFix Policy Kubernetes Node Pools Nodepool Management Auto Vul Fix Policy - The auto CVE patching policy.
- Enable bool
- 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, otherauto_scaling
configuration parameters do not take effect. - int
- Maximum number of unavailable nodes. Default value: 1. Value range:[1,1000].
- Surge int
- Number of additional nodes. You have to specify one of surge, surge_percentage.
- Surge
Percentage int - Proportion of additional nodes. You have to specify one of surge, surge_percentage.
- auto
Repair Boolean - Whether to enable automatic repair. Valid values:
true
: Automatic repair.false
: not automatically repaired. - auto
Repair GetPolicy Kubernetes Node Pools Nodepool Management Auto Repair Policy - Automatic repair node policy.
- auto
Upgrade Boolean - Specifies whether to enable auto update. Valid values:
true
: enables auto update.false
: disables auto update. - auto
Upgrade GetPolicy Kubernetes Node Pools Nodepool Management Auto Upgrade Policy - The auto update policy.
- auto
Vul BooleanFix - Specifies whether to automatically patch CVE vulnerabilities. Valid values:
true
,false
. - auto
Vul GetFix Policy Kubernetes Node Pools Nodepool Management Auto Vul Fix Policy - The auto CVE patching policy.
- enable Boolean
- 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, otherauto_scaling
configuration parameters do not take effect. - Integer
- Maximum number of unavailable nodes. Default value: 1. Value range:[1,1000].
- surge Integer
- Number of additional nodes. You have to specify one of surge, surge_percentage.
- surge
Percentage Integer - Proportion of additional nodes. You have to specify one of surge, surge_percentage.
- auto
Repair boolean - Whether to enable automatic repair. Valid values:
true
: Automatic repair.false
: not automatically repaired. - auto
Repair GetPolicy Kubernetes Node Pools Nodepool Management Auto Repair Policy - Automatic repair node policy.
- auto
Upgrade boolean - Specifies whether to enable auto update. Valid values:
true
: enables auto update.false
: disables auto update. - auto
Upgrade GetPolicy Kubernetes Node Pools Nodepool Management Auto Upgrade Policy - The auto update policy.
- auto
Vul booleanFix - Specifies whether to automatically patch CVE vulnerabilities. Valid values:
true
,false
. - auto
Vul GetFix Policy Kubernetes Node Pools Nodepool Management Auto Vul Fix Policy - The auto CVE patching policy.
- enable boolean
- 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, otherauto_scaling
configuration parameters do not take effect. - number
- Maximum number of unavailable nodes. Default value: 1. Value range:[1,1000].
- surge number
- Number of additional nodes. You have to specify one of surge, surge_percentage.
- surge
Percentage number - Proportion of additional nodes. You have to specify one of surge, surge_percentage.
- auto_
repair bool - Whether to enable automatic repair. Valid values:
true
: Automatic repair.false
: not automatically repaired. - auto_
repair_ Getpolicy Kubernetes Node Pools Nodepool Management Auto Repair Policy - Automatic repair node policy.
- auto_
upgrade bool - Specifies whether to enable auto update. Valid values:
true
: enables auto update.false
: disables auto update. - auto_
upgrade_ Getpolicy Kubernetes Node Pools Nodepool Management Auto Upgrade Policy - The auto update policy.
- auto_
vul_ boolfix - Specifies whether to automatically patch CVE vulnerabilities. Valid values:
true
,false
. - auto_
vul_ Getfix_ policy Kubernetes Node Pools Nodepool Management Auto Vul Fix Policy - The auto CVE patching policy.
- enable bool
- 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, otherauto_scaling
configuration parameters do not take effect. - int
- Maximum number of unavailable nodes. Default value: 1. Value range:[1,1000].
- surge int
- Number of additional nodes. You have to specify one of surge, surge_percentage.
- surge_
percentage int - Proportion of additional nodes. You have to specify one of surge, surge_percentage.
- auto
Repair Boolean - Whether to enable automatic repair. Valid values:
true
: Automatic repair.false
: not automatically repaired. - auto
Repair Property MapPolicy - Automatic repair node policy.
- auto
Upgrade Boolean - Specifies whether to enable auto update. Valid values:
true
: enables auto update.false
: disables auto update. - auto
Upgrade Property MapPolicy - The auto update policy.
- auto
Vul BooleanFix - Specifies whether to automatically patch CVE vulnerabilities. Valid values:
true
,false
. - auto
Vul Property MapFix Policy - The auto CVE patching policy.
- enable Boolean
- 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, otherauto_scaling
configuration parameters do not take effect. - Number
- Maximum number of unavailable nodes. Default value: 1. Value range:[1,1000].
- surge Number
- Number of additional nodes. You have to specify one of surge, surge_percentage.
- surge
Percentage Number - Proportion of additional nodes. You have to specify one of surge, surge_percentage.
GetKubernetesNodePoolsNodepoolManagementAutoRepairPolicy
- Restart
Node bool - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
.
- Restart
Node bool - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
.
- restart
Node Boolean - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
.
- restart
Node boolean - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
.
- restart_
node bool - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
.
- restart
Node Boolean - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
.
GetKubernetesNodePoolsNodepoolManagementAutoUpgradePolicy
- Auto
Upgrade boolKubelet - Specifies whether to automatically update the kubelet. Valid values:
true
: yes;false
: no.
- Auto
Upgrade boolKubelet - Specifies whether to automatically update the kubelet. Valid values:
true
: yes;false
: no.
- auto
Upgrade BooleanKubelet - Specifies whether to automatically update the kubelet. Valid values:
true
: yes;false
: no.
- auto
Upgrade booleanKubelet - Specifies whether to automatically update the kubelet. Valid values:
true
: yes;false
: no.
- auto_
upgrade_ boolkubelet - Specifies whether to automatically update the kubelet. Valid values:
true
: yes;false
: no.
- auto
Upgrade BooleanKubelet - Specifies whether to automatically update the kubelet. Valid values:
true
: yes;false
: no.
GetKubernetesNodePoolsNodepoolManagementAutoVulFixPolicy
- Restart
Node bool - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
. - Vul
Level string - The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
- Restart
Node bool - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
. - Vul
Level string - The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
- restart
Node Boolean - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
. - vul
Level String - The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
- restart
Node boolean - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
. - vul
Level string - The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
- restart_
node bool - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
. - vul_
level str - The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
- restart
Node Boolean - Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values:
true
,false
. - vul
Level String - The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
GetKubernetesNodePoolsNodepoolPrivatePoolOptions
- Private
Pool stringOptions Id - The ID of the private node pool.
- Private
Pool stringOptions Match Criteria - The type of private node pool. This parameter specifies the type of the private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values:
Open
: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used.Target
: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started.None
: no private node pool is used. The resources of private node pools are not used to launch the instances.
- Private
Pool stringOptions Id - The ID of the private node pool.
- Private
Pool stringOptions Match Criteria - The type of private node pool. This parameter specifies the type of the private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values:
Open
: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used.Target
: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started.None
: no private node pool is used. The resources of private node pools are not used to launch the instances.
- private
Pool StringOptions Id - The ID of the private node pool.
- private
Pool StringOptions Match Criteria - The type of private node pool. This parameter specifies the type of the private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values:
Open
: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used.Target
: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started.None
: no private node pool is used. The resources of private node pools are not used to launch the instances.
- private
Pool stringOptions Id - The ID of the private node pool.
- private
Pool stringOptions Match Criteria - The type of private node pool. This parameter specifies the type of the private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values:
Open
: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used.Target
: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started.None
: no private node pool is used. The resources of private node pools are not used to launch the instances.
- private_
pool_ stroptions_ id - The ID of the private node pool.
- private_
pool_ stroptions_ match_ criteria - The type of private node pool. This parameter specifies the type of the private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values:
Open
: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used.Target
: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started.None
: no private node pool is used. The resources of private node pools are not used to launch the instances.
- private
Pool StringOptions Id - The ID of the private node pool.
- private
Pool StringOptions Match Criteria - The type of private node pool. This parameter specifies the type of the private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values:
Open
: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used.Target
: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started.None
: no private node pool is used. The resources of private node pools are not used to launch the instances.
GetKubernetesNodePoolsNodepoolScalingConfig
- Eip
Bandwidth int - Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if
is_bond_eip=true
. Default to5
. - Eip
Internet stringCharge Type - EIP billing type.
PayByBandwidth
: Charged at fixed bandwidth.PayByTraffic
: Billed as used traffic. Default:PayByBandwidth
. It works ifis_bond_eip=true
, conflict withinternet_charge_type
. EIP and public network IP can only choose one. - Enable bool
- 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, otherauto_scaling
configuration parameters do not take effect. - Is
Bond boolEip - Whether to bind EIP for an instance. Default:
false
. - Max
Size int - Max number of instances in a auto scaling group, its valid value range [0~1000].
max_size
has to be greater thanmin_size
. - Min
Size int - Min number of instances in a auto scaling group, its valid value range [0~1000].
- Type string
- Instance classification, not required. Vaild value:
cpu
,gpu
,gpushare
andspot
. Default:cpu
. The actual instance type is determined byinstance_types
.
- Eip
Bandwidth int - Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if
is_bond_eip=true
. Default to5
. - Eip
Internet stringCharge Type - EIP billing type.
PayByBandwidth
: Charged at fixed bandwidth.PayByTraffic
: Billed as used traffic. Default:PayByBandwidth
. It works ifis_bond_eip=true
, conflict withinternet_charge_type
. EIP and public network IP can only choose one. - Enable bool
- 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, otherauto_scaling
configuration parameters do not take effect. - Is
Bond boolEip - Whether to bind EIP for an instance. Default:
false
. - Max
Size int - Max number of instances in a auto scaling group, its valid value range [0~1000].
max_size
has to be greater thanmin_size
. - Min
Size int - Min number of instances in a auto scaling group, its valid value range [0~1000].
- Type string
- Instance classification, not required. Vaild value:
cpu
,gpu
,gpushare
andspot
. Default:cpu
. The actual instance type is determined byinstance_types
.
- eip
Bandwidth Integer - Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if
is_bond_eip=true
. Default to5
. - eip
Internet StringCharge Type - EIP billing type.
PayByBandwidth
: Charged at fixed bandwidth.PayByTraffic
: Billed as used traffic. Default:PayByBandwidth
. It works ifis_bond_eip=true
, conflict withinternet_charge_type
. EIP and public network IP can only choose one. - enable Boolean
- 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, otherauto_scaling
configuration parameters do not take effect. - is
Bond BooleanEip - Whether to bind EIP for an instance. Default:
false
. - max
Size Integer - Max number of instances in a auto scaling group, its valid value range [0~1000].
max_size
has to be greater thanmin_size
. - min
Size Integer - Min number of instances in a auto scaling group, its valid value range [0~1000].
- type String
- Instance classification, not required. Vaild value:
cpu
,gpu
,gpushare
andspot
. Default:cpu
. The actual instance type is determined byinstance_types
.
- eip
Bandwidth number - Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if
is_bond_eip=true
. Default to5
. - eip
Internet stringCharge Type - EIP billing type.
PayByBandwidth
: Charged at fixed bandwidth.PayByTraffic
: Billed as used traffic. Default:PayByBandwidth
. It works ifis_bond_eip=true
, conflict withinternet_charge_type
. EIP and public network IP can only choose one. - enable boolean
- 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, otherauto_scaling
configuration parameters do not take effect. - is
Bond booleanEip - Whether to bind EIP for an instance. Default:
false
. - max
Size number - Max number of instances in a auto scaling group, its valid value range [0~1000].
max_size
has to be greater thanmin_size
. - min
Size number - Min number of instances in a auto scaling group, its valid value range [0~1000].
- type string
- Instance classification, not required. Vaild value:
cpu
,gpu
,gpushare
andspot
. Default:cpu
. The actual instance type is determined byinstance_types
.
- eip_
bandwidth int - Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if
is_bond_eip=true
. Default to5
. - eip_
internet_ strcharge_ type - EIP billing type.
PayByBandwidth
: Charged at fixed bandwidth.PayByTraffic
: Billed as used traffic. Default:PayByBandwidth
. It works ifis_bond_eip=true
, conflict withinternet_charge_type
. EIP and public network IP can only choose one. - enable bool
- 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, otherauto_scaling
configuration parameters do not take effect. - is_
bond_ booleip - Whether to bind EIP for an instance. Default:
false
. - max_
size int - Max number of instances in a auto scaling group, its valid value range [0~1000].
max_size
has to be greater thanmin_size
. - min_
size int - Min number of instances in a auto scaling group, its valid value range [0~1000].
- type str
- Instance classification, not required. Vaild value:
cpu
,gpu
,gpushare
andspot
. Default:cpu
. The actual instance type is determined byinstance_types
.
- eip
Bandwidth Number - Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if
is_bond_eip=true
. Default to5
. - eip
Internet StringCharge Type - EIP billing type.
PayByBandwidth
: Charged at fixed bandwidth.PayByTraffic
: Billed as used traffic. Default:PayByBandwidth
. It works ifis_bond_eip=true
, conflict withinternet_charge_type
. EIP and public network IP can only choose one. - enable Boolean
- 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, otherauto_scaling
configuration parameters do not take effect. - is
Bond BooleanEip - Whether to bind EIP for an instance. Default:
false
. - max
Size Number - Max number of instances in a auto scaling group, its valid value range [0~1000].
max_size
has to be greater thanmin_size
. - min
Size Number - Min number of instances in a auto scaling group, its valid value range [0~1000].
- type String
- Instance classification, not required. Vaild value:
cpu
,gpu
,gpushare
andspot
. Default:cpu
. The actual instance type is determined byinstance_types
.
GetKubernetesNodePoolsNodepoolSpotPriceLimit
- Instance
Type string - The type of the preemptible instance.
- Price
Limit string - The maximum price of a single instance.
- Instance
Type string - The type of the preemptible instance.
- Price
Limit string - The maximum price of a single instance.
- instance
Type String - The type of the preemptible instance.
- price
Limit String - The maximum price of a single instance.
- instance
Type string - The type of the preemptible instance.
- price
Limit string - The maximum price of a single instance.
- instance_
type str - The type of the preemptible instance.
- price_
limit str - The maximum price of a single instance.
- instance
Type String - The type of the preemptible instance.
- price
Limit String - The maximum price of a single instance.
GetKubernetesNodePoolsNodepoolTaint
GetKubernetesNodePoolsNodepoolTeeConfig
- Tee
Enable bool - Specifies whether to enable confidential computing for the cluster.
- Tee
Enable bool - Specifies whether to enable confidential computing for the cluster.
- tee
Enable Boolean - Specifies whether to enable confidential computing for the cluster.
- tee
Enable boolean - Specifies whether to enable confidential computing for the cluster.
- tee_
enable bool - Specifies whether to enable confidential computing for the cluster.
- tee
Enable Boolean - Specifies whether to enable confidential computing for the cluster.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.