1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cs
  5. NodePool
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

alicloud.cs.NodePool

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

    Example Usage

    Basic Usage

    Create NodePool Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NodePool(name: string, args: NodePoolArgs, opts?: CustomResourceOptions);
    @overload
    def NodePool(resource_name: str,
                 args: NodePoolArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def NodePool(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 cluster_id: Optional[str] = None,
                 instance_types: Optional[Sequence[str]] = None,
                 vswitch_ids: Optional[Sequence[str]] = None,
                 auto_renew: Optional[bool] = None,
                 auto_renew_period: Optional[int] = None,
                 cis_enabled: Optional[bool] = None,
                 compensate_with_on_demand: Optional[bool] = None,
                 cpu_policy: Optional[str] = None,
                 data_disks: Optional[Sequence[NodePoolDataDiskArgs]] = None,
                 deployment_set_id: Optional[str] = None,
                 desired_size: Optional[int] = None,
                 force_delete: Optional[bool] = None,
                 format_disk: Optional[bool] = None,
                 image_id: Optional[str] = None,
                 image_type: Optional[str] = None,
                 install_cloud_monitor: Optional[bool] = None,
                 instance_charge_type: Optional[str] = None,
                 instances: Optional[Sequence[str]] = None,
                 internet_charge_type: Optional[str] = None,
                 internet_max_bandwidth_out: Optional[int] = None,
                 keep_instance_name: Optional[bool] = None,
                 key_name: Optional[str] = None,
                 kms_encrypted_password: Optional[str] = None,
                 kms_encryption_context: Optional[Mapping[str, Any]] = None,
                 kubelet_configuration: Optional[NodePoolKubeletConfigurationArgs] = None,
                 labels: Optional[Sequence[NodePoolLabelArgs]] = None,
                 login_as_non_root: Optional[bool] = None,
                 management: Optional[NodePoolManagementArgs] = None,
                 multi_az_policy: Optional[str] = None,
                 name: Optional[str] = None,
                 node_count: Optional[int] = None,
                 node_name_mode: Optional[str] = None,
                 node_pool_name: Optional[str] = None,
                 on_demand_base_capacity: Optional[int] = None,
                 on_demand_percentage_above_base_capacity: Optional[int] = None,
                 password: Optional[str] = None,
                 period: Optional[int] = None,
                 period_unit: Optional[str] = None,
                 platform: Optional[str] = None,
                 private_pool_options: Optional[NodePoolPrivatePoolOptionsArgs] = None,
                 rds_instances: Optional[Sequence[str]] = None,
                 resource_group_id: Optional[str] = None,
                 rolling_policy: Optional[NodePoolRollingPolicyArgs] = None,
                 runtime_name: Optional[str] = None,
                 runtime_version: Optional[str] = None,
                 scaling_config: Optional[NodePoolScalingConfigArgs] = None,
                 scaling_policy: Optional[str] = None,
                 security_group_id: Optional[str] = None,
                 security_group_ids: Optional[Sequence[str]] = None,
                 soc_enabled: Optional[bool] = None,
                 spot_instance_pools: Optional[int] = None,
                 spot_instance_remedy: Optional[bool] = None,
                 spot_price_limits: Optional[Sequence[NodePoolSpotPriceLimitArgs]] = None,
                 spot_strategy: Optional[str] = None,
                 system_disk_bursting_enabled: Optional[bool] = None,
                 system_disk_categories: Optional[Sequence[str]] = None,
                 system_disk_category: Optional[str] = None,
                 system_disk_encrypt_algorithm: Optional[str] = None,
                 system_disk_encrypted: Optional[bool] = None,
                 system_disk_kms_key: Optional[str] = None,
                 system_disk_performance_level: Optional[str] = None,
                 system_disk_provisioned_iops: Optional[int] = None,
                 system_disk_size: Optional[int] = None,
                 system_disk_snapshot_policy_id: Optional[str] = None,
                 tags: Optional[Mapping[str, Any]] = None,
                 taints: Optional[Sequence[NodePoolTaintArgs]] = None,
                 tee_config: Optional[NodePoolTeeConfigArgs] = None,
                 unschedulable: Optional[bool] = None,
                 user_data: Optional[str] = None)
    func NewNodePool(ctx *Context, name string, args NodePoolArgs, opts ...ResourceOption) (*NodePool, error)
    public NodePool(string name, NodePoolArgs args, CustomResourceOptions? opts = null)
    public NodePool(String name, NodePoolArgs args)
    public NodePool(String name, NodePoolArgs args, CustomResourceOptions options)
    
    type: alicloud:cs:NodePool
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NodePoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NodePoolArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NodePoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NodePoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NodePoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var nodePoolResource = new AliCloud.CS.NodePool("nodePoolResource", new()
    {
        ClusterId = "string",
        InstanceTypes = new[]
        {
            "string",
        },
        VswitchIds = new[]
        {
            "string",
        },
        AutoRenew = false,
        AutoRenewPeriod = 0,
        CisEnabled = false,
        CompensateWithOnDemand = false,
        CpuPolicy = "string",
        DataDisks = new[]
        {
            new AliCloud.CS.Inputs.NodePoolDataDiskArgs
            {
                AutoSnapshotPolicyId = "string",
                BurstingEnabled = false,
                Category = "string",
                Device = "string",
                Encrypted = "string",
                KmsKeyId = "string",
                Name = "string",
                PerformanceLevel = "string",
                ProvisionedIops = 0,
                Size = 0,
                SnapshotId = "string",
            },
        },
        DeploymentSetId = "string",
        DesiredSize = 0,
        ForceDelete = false,
        FormatDisk = false,
        ImageId = "string",
        ImageType = "string",
        InstallCloudMonitor = false,
        InstanceChargeType = "string",
        Instances = new[]
        {
            "string",
        },
        InternetChargeType = "string",
        InternetMaxBandwidthOut = 0,
        KeepInstanceName = false,
        KeyName = "string",
        KmsEncryptedPassword = "string",
        KmsEncryptionContext = 
        {
            { "string", "any" },
        },
        KubeletConfiguration = new AliCloud.CS.Inputs.NodePoolKubeletConfigurationArgs
        {
            AllowedUnsafeSysctls = new[]
            {
                "string",
            },
            ContainerLogMaxFiles = "string",
            ContainerLogMaxSize = "string",
            CpuManagerPolicy = "string",
            EventBurst = "string",
            EventRecordQps = "string",
            EvictionHard = 
            {
                { "string", "any" },
            },
            EvictionSoft = 
            {
                { "string", "any" },
            },
            EvictionSoftGracePeriod = 
            {
                { "string", "any" },
            },
            FeatureGates = 
            {
                { "string", false },
            },
            KubeApiBurst = "string",
            KubeApiQps = "string",
            KubeReserved = 
            {
                { "string", "any" },
            },
            MaxPods = "string",
            ReadOnlyPort = "string",
            RegistryBurst = "string",
            RegistryPullQps = "string",
            SerializeImagePulls = "string",
            SystemReserved = 
            {
                { "string", "any" },
            },
        },
        Labels = new[]
        {
            new AliCloud.CS.Inputs.NodePoolLabelArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        LoginAsNonRoot = false,
        Management = new AliCloud.CS.Inputs.NodePoolManagementArgs
        {
            AutoRepair = false,
            AutoRepairPolicy = new AliCloud.CS.Inputs.NodePoolManagementAutoRepairPolicyArgs
            {
                RestartNode = false,
            },
            AutoUpgrade = false,
            AutoUpgradePolicy = new AliCloud.CS.Inputs.NodePoolManagementAutoUpgradePolicyArgs
            {
                AutoUpgradeKubelet = false,
            },
            AutoVulFix = false,
            AutoVulFixPolicy = new AliCloud.CS.Inputs.NodePoolManagementAutoVulFixPolicyArgs
            {
                RestartNode = false,
                VulLevel = "string",
            },
            Enable = false,
            MaxUnavailable = 0,
        },
        MultiAzPolicy = "string",
        NodeNameMode = "string",
        NodePoolName = "string",
        OnDemandBaseCapacity = 0,
        OnDemandPercentageAboveBaseCapacity = 0,
        Password = "string",
        Period = 0,
        PeriodUnit = "string",
        PrivatePoolOptions = new AliCloud.CS.Inputs.NodePoolPrivatePoolOptionsArgs
        {
            PrivatePoolOptionsId = "string",
            PrivatePoolOptionsMatchCriteria = "string",
        },
        RdsInstances = new[]
        {
            "string",
        },
        ResourceGroupId = "string",
        RollingPolicy = new AliCloud.CS.Inputs.NodePoolRollingPolicyArgs
        {
            MaxParallelism = 0,
        },
        RuntimeName = "string",
        RuntimeVersion = "string",
        ScalingConfig = new AliCloud.CS.Inputs.NodePoolScalingConfigArgs
        {
            EipBandwidth = 0,
            EipInternetChargeType = "string",
            Enable = false,
            IsBondEip = false,
            MaxSize = 0,
            MinSize = 0,
            Type = "string",
        },
        ScalingPolicy = "string",
        SecurityGroupIds = new[]
        {
            "string",
        },
        SocEnabled = false,
        SpotInstancePools = 0,
        SpotInstanceRemedy = false,
        SpotPriceLimits = new[]
        {
            new AliCloud.CS.Inputs.NodePoolSpotPriceLimitArgs
            {
                InstanceType = "string",
                PriceLimit = "string",
            },
        },
        SpotStrategy = "string",
        SystemDiskBurstingEnabled = false,
        SystemDiskCategories = new[]
        {
            "string",
        },
        SystemDiskCategory = "string",
        SystemDiskEncryptAlgorithm = "string",
        SystemDiskEncrypted = false,
        SystemDiskKmsKey = "string",
        SystemDiskPerformanceLevel = "string",
        SystemDiskProvisionedIops = 0,
        SystemDiskSize = 0,
        SystemDiskSnapshotPolicyId = "string",
        Tags = 
        {
            { "string", "any" },
        },
        Taints = new[]
        {
            new AliCloud.CS.Inputs.NodePoolTaintArgs
            {
                Key = "string",
                Effect = "string",
                Value = "string",
            },
        },
        TeeConfig = new AliCloud.CS.Inputs.NodePoolTeeConfigArgs
        {
            TeeEnable = false,
        },
        Unschedulable = false,
        UserData = "string",
    });
    
    example, err := cs.NewNodePool(ctx, "nodePoolResource", &cs.NodePoolArgs{
    	ClusterId: pulumi.String("string"),
    	InstanceTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	VswitchIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AutoRenew:              pulumi.Bool(false),
    	AutoRenewPeriod:        pulumi.Int(0),
    	CisEnabled:             pulumi.Bool(false),
    	CompensateWithOnDemand: pulumi.Bool(false),
    	CpuPolicy:              pulumi.String("string"),
    	DataDisks: cs.NodePoolDataDiskArray{
    		&cs.NodePoolDataDiskArgs{
    			AutoSnapshotPolicyId: pulumi.String("string"),
    			BurstingEnabled:      pulumi.Bool(false),
    			Category:             pulumi.String("string"),
    			Device:               pulumi.String("string"),
    			Encrypted:            pulumi.String("string"),
    			KmsKeyId:             pulumi.String("string"),
    			Name:                 pulumi.String("string"),
    			PerformanceLevel:     pulumi.String("string"),
    			ProvisionedIops:      pulumi.Int(0),
    			Size:                 pulumi.Int(0),
    			SnapshotId:           pulumi.String("string"),
    		},
    	},
    	DeploymentSetId:     pulumi.String("string"),
    	DesiredSize:         pulumi.Int(0),
    	ForceDelete:         pulumi.Bool(false),
    	FormatDisk:          pulumi.Bool(false),
    	ImageId:             pulumi.String("string"),
    	ImageType:           pulumi.String("string"),
    	InstallCloudMonitor: pulumi.Bool(false),
    	InstanceChargeType:  pulumi.String("string"),
    	Instances: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	InternetChargeType:      pulumi.String("string"),
    	InternetMaxBandwidthOut: pulumi.Int(0),
    	KeepInstanceName:        pulumi.Bool(false),
    	KeyName:                 pulumi.String("string"),
    	KmsEncryptedPassword:    pulumi.String("string"),
    	KmsEncryptionContext: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	KubeletConfiguration: &cs.NodePoolKubeletConfigurationArgs{
    		AllowedUnsafeSysctls: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ContainerLogMaxFiles: pulumi.String("string"),
    		ContainerLogMaxSize:  pulumi.String("string"),
    		CpuManagerPolicy:     pulumi.String("string"),
    		EventBurst:           pulumi.String("string"),
    		EventRecordQps:       pulumi.String("string"),
    		EvictionHard: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    		EvictionSoft: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    		EvictionSoftGracePeriod: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    		FeatureGates: pulumi.BoolMap{
    			"string": pulumi.Bool(false),
    		},
    		KubeApiBurst: pulumi.String("string"),
    		KubeApiQps:   pulumi.String("string"),
    		KubeReserved: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    		MaxPods:             pulumi.String("string"),
    		ReadOnlyPort:        pulumi.String("string"),
    		RegistryBurst:       pulumi.String("string"),
    		RegistryPullQps:     pulumi.String("string"),
    		SerializeImagePulls: pulumi.String("string"),
    		SystemReserved: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    	},
    	Labels: cs.NodePoolLabelArray{
    		&cs.NodePoolLabelArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	LoginAsNonRoot: pulumi.Bool(false),
    	Management: &cs.NodePoolManagementArgs{
    		AutoRepair: pulumi.Bool(false),
    		AutoRepairPolicy: &cs.NodePoolManagementAutoRepairPolicyArgs{
    			RestartNode: pulumi.Bool(false),
    		},
    		AutoUpgrade: pulumi.Bool(false),
    		AutoUpgradePolicy: &cs.NodePoolManagementAutoUpgradePolicyArgs{
    			AutoUpgradeKubelet: pulumi.Bool(false),
    		},
    		AutoVulFix: pulumi.Bool(false),
    		AutoVulFixPolicy: &cs.NodePoolManagementAutoVulFixPolicyArgs{
    			RestartNode: pulumi.Bool(false),
    			VulLevel:    pulumi.String("string"),
    		},
    		Enable:         pulumi.Bool(false),
    		MaxUnavailable: pulumi.Int(0),
    	},
    	MultiAzPolicy:                       pulumi.String("string"),
    	NodeNameMode:                        pulumi.String("string"),
    	NodePoolName:                        pulumi.String("string"),
    	OnDemandBaseCapacity:                pulumi.Int(0),
    	OnDemandPercentageAboveBaseCapacity: pulumi.Int(0),
    	Password:                            pulumi.String("string"),
    	Period:                              pulumi.Int(0),
    	PeriodUnit:                          pulumi.String("string"),
    	PrivatePoolOptions: &cs.NodePoolPrivatePoolOptionsArgs{
    		PrivatePoolOptionsId:            pulumi.String("string"),
    		PrivatePoolOptionsMatchCriteria: pulumi.String("string"),
    	},
    	RdsInstances: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ResourceGroupId: pulumi.String("string"),
    	RollingPolicy: &cs.NodePoolRollingPolicyArgs{
    		MaxParallelism: pulumi.Int(0),
    	},
    	RuntimeName:    pulumi.String("string"),
    	RuntimeVersion: pulumi.String("string"),
    	ScalingConfig: &cs.NodePoolScalingConfigArgs{
    		EipBandwidth:          pulumi.Int(0),
    		EipInternetChargeType: pulumi.String("string"),
    		Enable:                pulumi.Bool(false),
    		IsBondEip:             pulumi.Bool(false),
    		MaxSize:               pulumi.Int(0),
    		MinSize:               pulumi.Int(0),
    		Type:                  pulumi.String("string"),
    	},
    	ScalingPolicy: pulumi.String("string"),
    	SecurityGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SocEnabled:         pulumi.Bool(false),
    	SpotInstancePools:  pulumi.Int(0),
    	SpotInstanceRemedy: pulumi.Bool(false),
    	SpotPriceLimits: cs.NodePoolSpotPriceLimitArray{
    		&cs.NodePoolSpotPriceLimitArgs{
    			InstanceType: pulumi.String("string"),
    			PriceLimit:   pulumi.String("string"),
    		},
    	},
    	SpotStrategy:              pulumi.String("string"),
    	SystemDiskBurstingEnabled: pulumi.Bool(false),
    	SystemDiskCategories: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SystemDiskCategory:         pulumi.String("string"),
    	SystemDiskEncryptAlgorithm: pulumi.String("string"),
    	SystemDiskEncrypted:        pulumi.Bool(false),
    	SystemDiskKmsKey:           pulumi.String("string"),
    	SystemDiskPerformanceLevel: pulumi.String("string"),
    	SystemDiskProvisionedIops:  pulumi.Int(0),
    	SystemDiskSize:             pulumi.Int(0),
    	SystemDiskSnapshotPolicyId: pulumi.String("string"),
    	Tags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Taints: cs.NodePoolTaintArray{
    		&cs.NodePoolTaintArgs{
    			Key:    pulumi.String("string"),
    			Effect: pulumi.String("string"),
    			Value:  pulumi.String("string"),
    		},
    	},
    	TeeConfig: &cs.NodePoolTeeConfigArgs{
    		TeeEnable: pulumi.Bool(false),
    	},
    	Unschedulable: pulumi.Bool(false),
    	UserData:      pulumi.String("string"),
    })
    
    var nodePoolResource = new NodePool("nodePoolResource", NodePoolArgs.builder()        
        .clusterId("string")
        .instanceTypes("string")
        .vswitchIds("string")
        .autoRenew(false)
        .autoRenewPeriod(0)
        .cisEnabled(false)
        .compensateWithOnDemand(false)
        .cpuPolicy("string")
        .dataDisks(NodePoolDataDiskArgs.builder()
            .autoSnapshotPolicyId("string")
            .burstingEnabled(false)
            .category("string")
            .device("string")
            .encrypted("string")
            .kmsKeyId("string")
            .name("string")
            .performanceLevel("string")
            .provisionedIops(0)
            .size(0)
            .snapshotId("string")
            .build())
        .deploymentSetId("string")
        .desiredSize(0)
        .forceDelete(false)
        .formatDisk(false)
        .imageId("string")
        .imageType("string")
        .installCloudMonitor(false)
        .instanceChargeType("string")
        .instances("string")
        .internetChargeType("string")
        .internetMaxBandwidthOut(0)
        .keepInstanceName(false)
        .keyName("string")
        .kmsEncryptedPassword("string")
        .kmsEncryptionContext(Map.of("string", "any"))
        .kubeletConfiguration(NodePoolKubeletConfigurationArgs.builder()
            .allowedUnsafeSysctls("string")
            .containerLogMaxFiles("string")
            .containerLogMaxSize("string")
            .cpuManagerPolicy("string")
            .eventBurst("string")
            .eventRecordQps("string")
            .evictionHard(Map.of("string", "any"))
            .evictionSoft(Map.of("string", "any"))
            .evictionSoftGracePeriod(Map.of("string", "any"))
            .featureGates(Map.of("string", false))
            .kubeApiBurst("string")
            .kubeApiQps("string")
            .kubeReserved(Map.of("string", "any"))
            .maxPods("string")
            .readOnlyPort("string")
            .registryBurst("string")
            .registryPullQps("string")
            .serializeImagePulls("string")
            .systemReserved(Map.of("string", "any"))
            .build())
        .labels(NodePoolLabelArgs.builder()
            .key("string")
            .value("string")
            .build())
        .loginAsNonRoot(false)
        .management(NodePoolManagementArgs.builder()
            .autoRepair(false)
            .autoRepairPolicy(NodePoolManagementAutoRepairPolicyArgs.builder()
                .restartNode(false)
                .build())
            .autoUpgrade(false)
            .autoUpgradePolicy(NodePoolManagementAutoUpgradePolicyArgs.builder()
                .autoUpgradeKubelet(false)
                .build())
            .autoVulFix(false)
            .autoVulFixPolicy(NodePoolManagementAutoVulFixPolicyArgs.builder()
                .restartNode(false)
                .vulLevel("string")
                .build())
            .enable(false)
            .maxUnavailable(0)
            .build())
        .multiAzPolicy("string")
        .nodeNameMode("string")
        .nodePoolName("string")
        .onDemandBaseCapacity(0)
        .onDemandPercentageAboveBaseCapacity(0)
        .password("string")
        .period(0)
        .periodUnit("string")
        .privatePoolOptions(NodePoolPrivatePoolOptionsArgs.builder()
            .privatePoolOptionsId("string")
            .privatePoolOptionsMatchCriteria("string")
            .build())
        .rdsInstances("string")
        .resourceGroupId("string")
        .rollingPolicy(NodePoolRollingPolicyArgs.builder()
            .maxParallelism(0)
            .build())
        .runtimeName("string")
        .runtimeVersion("string")
        .scalingConfig(NodePoolScalingConfigArgs.builder()
            .eipBandwidth(0)
            .eipInternetChargeType("string")
            .enable(false)
            .isBondEip(false)
            .maxSize(0)
            .minSize(0)
            .type("string")
            .build())
        .scalingPolicy("string")
        .securityGroupIds("string")
        .socEnabled(false)
        .spotInstancePools(0)
        .spotInstanceRemedy(false)
        .spotPriceLimits(NodePoolSpotPriceLimitArgs.builder()
            .instanceType("string")
            .priceLimit("string")
            .build())
        .spotStrategy("string")
        .systemDiskBurstingEnabled(false)
        .systemDiskCategories("string")
        .systemDiskCategory("string")
        .systemDiskEncryptAlgorithm("string")
        .systemDiskEncrypted(false)
        .systemDiskKmsKey("string")
        .systemDiskPerformanceLevel("string")
        .systemDiskProvisionedIops(0)
        .systemDiskSize(0)
        .systemDiskSnapshotPolicyId("string")
        .tags(Map.of("string", "any"))
        .taints(NodePoolTaintArgs.builder()
            .key("string")
            .effect("string")
            .value("string")
            .build())
        .teeConfig(NodePoolTeeConfigArgs.builder()
            .teeEnable(false)
            .build())
        .unschedulable(false)
        .userData("string")
        .build());
    
    node_pool_resource = alicloud.cs.NodePool("nodePoolResource",
        cluster_id="string",
        instance_types=["string"],
        vswitch_ids=["string"],
        auto_renew=False,
        auto_renew_period=0,
        cis_enabled=False,
        compensate_with_on_demand=False,
        cpu_policy="string",
        data_disks=[alicloud.cs.NodePoolDataDiskArgs(
            auto_snapshot_policy_id="string",
            bursting_enabled=False,
            category="string",
            device="string",
            encrypted="string",
            kms_key_id="string",
            name="string",
            performance_level="string",
            provisioned_iops=0,
            size=0,
            snapshot_id="string",
        )],
        deployment_set_id="string",
        desired_size=0,
        force_delete=False,
        format_disk=False,
        image_id="string",
        image_type="string",
        install_cloud_monitor=False,
        instance_charge_type="string",
        instances=["string"],
        internet_charge_type="string",
        internet_max_bandwidth_out=0,
        keep_instance_name=False,
        key_name="string",
        kms_encrypted_password="string",
        kms_encryption_context={
            "string": "any",
        },
        kubelet_configuration=alicloud.cs.NodePoolKubeletConfigurationArgs(
            allowed_unsafe_sysctls=["string"],
            container_log_max_files="string",
            container_log_max_size="string",
            cpu_manager_policy="string",
            event_burst="string",
            event_record_qps="string",
            eviction_hard={
                "string": "any",
            },
            eviction_soft={
                "string": "any",
            },
            eviction_soft_grace_period={
                "string": "any",
            },
            feature_gates={
                "string": False,
            },
            kube_api_burst="string",
            kube_api_qps="string",
            kube_reserved={
                "string": "any",
            },
            max_pods="string",
            read_only_port="string",
            registry_burst="string",
            registry_pull_qps="string",
            serialize_image_pulls="string",
            system_reserved={
                "string": "any",
            },
        ),
        labels=[alicloud.cs.NodePoolLabelArgs(
            key="string",
            value="string",
        )],
        login_as_non_root=False,
        management=alicloud.cs.NodePoolManagementArgs(
            auto_repair=False,
            auto_repair_policy=alicloud.cs.NodePoolManagementAutoRepairPolicyArgs(
                restart_node=False,
            ),
            auto_upgrade=False,
            auto_upgrade_policy=alicloud.cs.NodePoolManagementAutoUpgradePolicyArgs(
                auto_upgrade_kubelet=False,
            ),
            auto_vul_fix=False,
            auto_vul_fix_policy=alicloud.cs.NodePoolManagementAutoVulFixPolicyArgs(
                restart_node=False,
                vul_level="string",
            ),
            enable=False,
            max_unavailable=0,
        ),
        multi_az_policy="string",
        node_name_mode="string",
        node_pool_name="string",
        on_demand_base_capacity=0,
        on_demand_percentage_above_base_capacity=0,
        password="string",
        period=0,
        period_unit="string",
        private_pool_options=alicloud.cs.NodePoolPrivatePoolOptionsArgs(
            private_pool_options_id="string",
            private_pool_options_match_criteria="string",
        ),
        rds_instances=["string"],
        resource_group_id="string",
        rolling_policy=alicloud.cs.NodePoolRollingPolicyArgs(
            max_parallelism=0,
        ),
        runtime_name="string",
        runtime_version="string",
        scaling_config=alicloud.cs.NodePoolScalingConfigArgs(
            eip_bandwidth=0,
            eip_internet_charge_type="string",
            enable=False,
            is_bond_eip=False,
            max_size=0,
            min_size=0,
            type="string",
        ),
        scaling_policy="string",
        security_group_ids=["string"],
        soc_enabled=False,
        spot_instance_pools=0,
        spot_instance_remedy=False,
        spot_price_limits=[alicloud.cs.NodePoolSpotPriceLimitArgs(
            instance_type="string",
            price_limit="string",
        )],
        spot_strategy="string",
        system_disk_bursting_enabled=False,
        system_disk_categories=["string"],
        system_disk_category="string",
        system_disk_encrypt_algorithm="string",
        system_disk_encrypted=False,
        system_disk_kms_key="string",
        system_disk_performance_level="string",
        system_disk_provisioned_iops=0,
        system_disk_size=0,
        system_disk_snapshot_policy_id="string",
        tags={
            "string": "any",
        },
        taints=[alicloud.cs.NodePoolTaintArgs(
            key="string",
            effect="string",
            value="string",
        )],
        tee_config=alicloud.cs.NodePoolTeeConfigArgs(
            tee_enable=False,
        ),
        unschedulable=False,
        user_data="string")
    
    const nodePoolResource = new alicloud.cs.NodePool("nodePoolResource", {
        clusterId: "string",
        instanceTypes: ["string"],
        vswitchIds: ["string"],
        autoRenew: false,
        autoRenewPeriod: 0,
        cisEnabled: false,
        compensateWithOnDemand: false,
        cpuPolicy: "string",
        dataDisks: [{
            autoSnapshotPolicyId: "string",
            burstingEnabled: false,
            category: "string",
            device: "string",
            encrypted: "string",
            kmsKeyId: "string",
            name: "string",
            performanceLevel: "string",
            provisionedIops: 0,
            size: 0,
            snapshotId: "string",
        }],
        deploymentSetId: "string",
        desiredSize: 0,
        forceDelete: false,
        formatDisk: false,
        imageId: "string",
        imageType: "string",
        installCloudMonitor: false,
        instanceChargeType: "string",
        instances: ["string"],
        internetChargeType: "string",
        internetMaxBandwidthOut: 0,
        keepInstanceName: false,
        keyName: "string",
        kmsEncryptedPassword: "string",
        kmsEncryptionContext: {
            string: "any",
        },
        kubeletConfiguration: {
            allowedUnsafeSysctls: ["string"],
            containerLogMaxFiles: "string",
            containerLogMaxSize: "string",
            cpuManagerPolicy: "string",
            eventBurst: "string",
            eventRecordQps: "string",
            evictionHard: {
                string: "any",
            },
            evictionSoft: {
                string: "any",
            },
            evictionSoftGracePeriod: {
                string: "any",
            },
            featureGates: {
                string: false,
            },
            kubeApiBurst: "string",
            kubeApiQps: "string",
            kubeReserved: {
                string: "any",
            },
            maxPods: "string",
            readOnlyPort: "string",
            registryBurst: "string",
            registryPullQps: "string",
            serializeImagePulls: "string",
            systemReserved: {
                string: "any",
            },
        },
        labels: [{
            key: "string",
            value: "string",
        }],
        loginAsNonRoot: false,
        management: {
            autoRepair: false,
            autoRepairPolicy: {
                restartNode: false,
            },
            autoUpgrade: false,
            autoUpgradePolicy: {
                autoUpgradeKubelet: false,
            },
            autoVulFix: false,
            autoVulFixPolicy: {
                restartNode: false,
                vulLevel: "string",
            },
            enable: false,
            maxUnavailable: 0,
        },
        multiAzPolicy: "string",
        nodeNameMode: "string",
        nodePoolName: "string",
        onDemandBaseCapacity: 0,
        onDemandPercentageAboveBaseCapacity: 0,
        password: "string",
        period: 0,
        periodUnit: "string",
        privatePoolOptions: {
            privatePoolOptionsId: "string",
            privatePoolOptionsMatchCriteria: "string",
        },
        rdsInstances: ["string"],
        resourceGroupId: "string",
        rollingPolicy: {
            maxParallelism: 0,
        },
        runtimeName: "string",
        runtimeVersion: "string",
        scalingConfig: {
            eipBandwidth: 0,
            eipInternetChargeType: "string",
            enable: false,
            isBondEip: false,
            maxSize: 0,
            minSize: 0,
            type: "string",
        },
        scalingPolicy: "string",
        securityGroupIds: ["string"],
        socEnabled: false,
        spotInstancePools: 0,
        spotInstanceRemedy: false,
        spotPriceLimits: [{
            instanceType: "string",
            priceLimit: "string",
        }],
        spotStrategy: "string",
        systemDiskBurstingEnabled: false,
        systemDiskCategories: ["string"],
        systemDiskCategory: "string",
        systemDiskEncryptAlgorithm: "string",
        systemDiskEncrypted: false,
        systemDiskKmsKey: "string",
        systemDiskPerformanceLevel: "string",
        systemDiskProvisionedIops: 0,
        systemDiskSize: 0,
        systemDiskSnapshotPolicyId: "string",
        tags: {
            string: "any",
        },
        taints: [{
            key: "string",
            effect: "string",
            value: "string",
        }],
        teeConfig: {
            teeEnable: false,
        },
        unschedulable: false,
        userData: "string",
    });
    
    type: alicloud:cs:NodePool
    properties:
        autoRenew: false
        autoRenewPeriod: 0
        cisEnabled: false
        clusterId: string
        compensateWithOnDemand: false
        cpuPolicy: string
        dataDisks:
            - autoSnapshotPolicyId: string
              burstingEnabled: false
              category: string
              device: string
              encrypted: string
              kmsKeyId: string
              name: string
              performanceLevel: string
              provisionedIops: 0
              size: 0
              snapshotId: string
        deploymentSetId: string
        desiredSize: 0
        forceDelete: false
        formatDisk: false
        imageId: string
        imageType: string
        installCloudMonitor: false
        instanceChargeType: string
        instanceTypes:
            - string
        instances:
            - string
        internetChargeType: string
        internetMaxBandwidthOut: 0
        keepInstanceName: false
        keyName: string
        kmsEncryptedPassword: string
        kmsEncryptionContext:
            string: any
        kubeletConfiguration:
            allowedUnsafeSysctls:
                - string
            containerLogMaxFiles: string
            containerLogMaxSize: string
            cpuManagerPolicy: string
            eventBurst: string
            eventRecordQps: string
            evictionHard:
                string: any
            evictionSoft:
                string: any
            evictionSoftGracePeriod:
                string: any
            featureGates:
                string: false
            kubeApiBurst: string
            kubeApiQps: string
            kubeReserved:
                string: any
            maxPods: string
            readOnlyPort: string
            registryBurst: string
            registryPullQps: string
            serializeImagePulls: string
            systemReserved:
                string: any
        labels:
            - key: string
              value: string
        loginAsNonRoot: false
        management:
            autoRepair: false
            autoRepairPolicy:
                restartNode: false
            autoUpgrade: false
            autoUpgradePolicy:
                autoUpgradeKubelet: false
            autoVulFix: false
            autoVulFixPolicy:
                restartNode: false
                vulLevel: string
            enable: false
            maxUnavailable: 0
        multiAzPolicy: string
        nodeNameMode: string
        nodePoolName: string
        onDemandBaseCapacity: 0
        onDemandPercentageAboveBaseCapacity: 0
        password: string
        period: 0
        periodUnit: string
        privatePoolOptions:
            privatePoolOptionsId: string
            privatePoolOptionsMatchCriteria: string
        rdsInstances:
            - string
        resourceGroupId: string
        rollingPolicy:
            maxParallelism: 0
        runtimeName: string
        runtimeVersion: string
        scalingConfig:
            eipBandwidth: 0
            eipInternetChargeType: string
            enable: false
            isBondEip: false
            maxSize: 0
            minSize: 0
            type: string
        scalingPolicy: string
        securityGroupIds:
            - string
        socEnabled: false
        spotInstancePools: 0
        spotInstanceRemedy: false
        spotPriceLimits:
            - instanceType: string
              priceLimit: string
        spotStrategy: string
        systemDiskBurstingEnabled: false
        systemDiskCategories:
            - string
        systemDiskCategory: string
        systemDiskEncryptAlgorithm: string
        systemDiskEncrypted: false
        systemDiskKmsKey: string
        systemDiskPerformanceLevel: string
        systemDiskProvisionedIops: 0
        systemDiskSize: 0
        systemDiskSnapshotPolicyId: string
        tags:
            string: any
        taints:
            - effect: string
              key: string
              value: string
        teeConfig:
            teeEnable: false
        unschedulable: false
        userData: string
        vswitchIds:
            - string
    

    NodePool Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The NodePool resource accepts the following input properties:

    ClusterId string
    The id of kubernetes cluster.
    InstanceTypes 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.
    VswitchIds List<string>
    The vswitches used by node pool workers.
    AutoRenew bool
    Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: true. Valid values:
    AutoRenewPeriod int
    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.
    CisEnabled bool
    Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    CompensateWithOnDemand bool
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    CpuPolicy string
    Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:
    DataDisks List<Pulumi.AliCloud.CS.Inputs.NodePoolDataDisk>
    Configure the data disk of the node in the node pool. See data_disks below.
    DeploymentSetId string
    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.
    DesiredSize int
    Number of expected nodes in the node pool.
    ForceDelete bool
    Whether to force deletion.
    FormatDisk bool
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    ImageId string
    The custom image ID. The system-provided image is used by default.
    ImageType string
    The operating system image type and the platform parameter can be selected from the following values:
    InstallCloudMonitor bool
    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:
    InstanceChargeType string
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    Instances List<string>
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    InternetChargeType string
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    InternetMaxBandwidthOut int
    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].
    KeepInstanceName bool
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    KeyName string
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    KmsEncryptedPassword string
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    KmsEncryptionContext Dictionary<string, object>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    KubeletConfiguration Pulumi.AliCloud.CS.Inputs.NodePoolKubeletConfiguration
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    Labels List<Pulumi.AliCloud.CS.Inputs.NodePoolLabel>
    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. See labels below.
    LoginAsNonRoot bool
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    Management Pulumi.AliCloud.CS.Inputs.NodePoolManagement
    Managed node pool configuration. See management below.
    MultiAzPolicy string
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    Name string
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    NodeCount int
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    NodeNameMode string
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    NodePoolName string
    The name of node pool.
    OnDemandBaseCapacity int
    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.
    OnDemandPercentageAboveBaseCapacity int
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    Period int
    Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
    PeriodUnit string
    Node payment period unit, valid value: Month. Default is Month.
    Platform string
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    PrivatePoolOptions Pulumi.AliCloud.CS.Inputs.NodePoolPrivatePoolOptions
    Private node pool configuration. See private_pool_options below.
    RdsInstances List<string>
    The list of RDS instances.
    ResourceGroupId string
    The ID of the resource group.
    RollingPolicy Pulumi.AliCloud.CS.Inputs.NodePoolRollingPolicy
    Rotary configuration. See rolling_policy below.
    RuntimeName 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.
    RuntimeVersion string
    The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
    ScalingConfig Pulumi.AliCloud.CS.Inputs.NodePoolScalingConfig
    Automatic scaling configuration. See scaling_config below.
    ScalingPolicy string
    Scaling group mode, default value: release. Valid values:
    SecurityGroupId string
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    SecurityGroupIds List<string>
    Multiple security groups can be configured for a node pool. If both security_group_ids and security_group_id are configured, security_group_ids takes effect. This field cannot be modified.
    SocEnabled bool

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    SpotInstancePools int
    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.
    SpotInstanceRemedy bool
    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.
    SpotPriceLimits List<Pulumi.AliCloud.CS.Inputs.NodePoolSpotPriceLimit>
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    SpotStrategy string
    The preemptible instance type. Value:
    SystemDiskBurstingEnabled bool
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    SystemDiskCategories List<string>
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    SystemDiskCategory string
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    SystemDiskEncryptAlgorithm string
    The encryption algorithm used by the system disk. Value range: aes-256.
    SystemDiskEncrypted bool
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    SystemDiskKmsKey string
    The ID of the KMS key used by the system disk.
    SystemDiskPerformanceLevel string
    The system disk performance of the node takes effect only for the ESSD disk.
    SystemDiskProvisionedIops int
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    SystemDiskSize int
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    SystemDiskSnapshotPolicyId string
    The ID of the automatic snapshot policy used by the system disk.
    Tags Dictionary<string, object>
    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.AliCloud.CS.Inputs.NodePoolTaint>
    A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration. See taints below.
    TeeConfig Pulumi.AliCloud.CS.Inputs.NodePoolTeeConfig
    The configuration about confidential computing for the cluster. See tee_config below.
    Unschedulable bool
    Whether the node after expansion can be scheduled.
    UserData string
    Node custom data.
    ClusterId string
    The id of kubernetes cluster.
    InstanceTypes []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.
    VswitchIds []string
    The vswitches used by node pool workers.
    AutoRenew bool
    Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: true. Valid values:
    AutoRenewPeriod int
    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.
    CisEnabled bool
    Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    CompensateWithOnDemand bool
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    CpuPolicy string
    Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:
    DataDisks []NodePoolDataDiskArgs
    Configure the data disk of the node in the node pool. See data_disks below.
    DeploymentSetId string
    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.
    DesiredSize int
    Number of expected nodes in the node pool.
    ForceDelete bool
    Whether to force deletion.
    FormatDisk bool
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    ImageId string
    The custom image ID. The system-provided image is used by default.
    ImageType string
    The operating system image type and the platform parameter can be selected from the following values:
    InstallCloudMonitor bool
    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:
    InstanceChargeType string
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    Instances []string
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    InternetChargeType string
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    InternetMaxBandwidthOut int
    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].
    KeepInstanceName bool
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    KeyName string
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    KmsEncryptedPassword string
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    KmsEncryptionContext map[string]interface{}
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    KubeletConfiguration NodePoolKubeletConfigurationArgs
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    Labels []NodePoolLabelArgs
    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. See labels below.
    LoginAsNonRoot bool
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    Management NodePoolManagementArgs
    Managed node pool configuration. See management below.
    MultiAzPolicy string
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    Name string
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    NodeCount int
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    NodeNameMode string
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    NodePoolName string
    The name of node pool.
    OnDemandBaseCapacity int
    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.
    OnDemandPercentageAboveBaseCapacity int
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    Period int
    Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
    PeriodUnit string
    Node payment period unit, valid value: Month. Default is Month.
    Platform string
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    PrivatePoolOptions NodePoolPrivatePoolOptionsArgs
    Private node pool configuration. See private_pool_options below.
    RdsInstances []string
    The list of RDS instances.
    ResourceGroupId string
    The ID of the resource group.
    RollingPolicy NodePoolRollingPolicyArgs
    Rotary configuration. See rolling_policy below.
    RuntimeName 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.
    RuntimeVersion string
    The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
    ScalingConfig NodePoolScalingConfigArgs
    Automatic scaling configuration. See scaling_config below.
    ScalingPolicy string
    Scaling group mode, default value: release. Valid values:
    SecurityGroupId string
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

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

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    SpotInstancePools int
    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.
    SpotInstanceRemedy bool
    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.
    SpotPriceLimits []NodePoolSpotPriceLimitArgs
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    SpotStrategy string
    The preemptible instance type. Value:
    SystemDiskBurstingEnabled bool
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    SystemDiskCategories []string
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    SystemDiskCategory string
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    SystemDiskEncryptAlgorithm string
    The encryption algorithm used by the system disk. Value range: aes-256.
    SystemDiskEncrypted bool
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    SystemDiskKmsKey string
    The ID of the KMS key used by the system disk.
    SystemDiskPerformanceLevel string
    The system disk performance of the node takes effect only for the ESSD disk.
    SystemDiskProvisionedIops int
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    SystemDiskSize int
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    SystemDiskSnapshotPolicyId string
    The ID of the automatic snapshot policy used by the system disk.
    Tags map[string]interface{}
    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 []NodePoolTaintArgs
    A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration. See taints below.
    TeeConfig NodePoolTeeConfigArgs
    The configuration about confidential computing for the cluster. See tee_config below.
    Unschedulable bool
    Whether the node after expansion can be scheduled.
    UserData string
    Node custom data.
    clusterId String
    The id of kubernetes cluster.
    instanceTypes 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.
    vswitchIds List<String>
    The vswitches used by node pool workers.
    autoRenew Boolean
    Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: true. Valid values:
    autoRenewPeriod Integer
    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.
    cisEnabled Boolean
    Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    compensateWithOnDemand Boolean
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    cpuPolicy String
    Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:
    dataDisks List<NodePoolDataDisk>
    Configure the data disk of the node in the node pool. See data_disks below.
    deploymentSetId String
    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.
    desiredSize Integer
    Number of expected nodes in the node pool.
    forceDelete Boolean
    Whether to force deletion.
    formatDisk Boolean
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    imageId String
    The custom image ID. The system-provided image is used by default.
    imageType String
    The operating system image type and the platform parameter can be selected from the following values:
    installCloudMonitor Boolean
    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:
    instanceChargeType String
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    instances List<String>
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    internetChargeType String
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    internetMaxBandwidthOut Integer
    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].
    keepInstanceName Boolean
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    keyName String
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    kmsEncryptedPassword String
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    kmsEncryptionContext Map<String,Object>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    kubeletConfiguration NodePoolKubeletConfiguration
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    labels List<NodePoolLabel>
    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. See labels below.
    loginAsNonRoot Boolean
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    management NodePoolManagement
    Managed node pool configuration. See management below.
    multiAzPolicy String
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    name String
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    nodeCount Integer
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    nodeNameMode String
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    nodePoolName String
    The name of node pool.
    onDemandBaseCapacity Integer
    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.
    onDemandPercentageAboveBaseCapacity Integer
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    period Integer
    Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
    periodUnit String
    Node payment period unit, valid value: Month. Default is Month.
    platform String
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    privatePoolOptions NodePoolPrivatePoolOptions
    Private node pool configuration. See private_pool_options below.
    rdsInstances List<String>
    The list of RDS instances.
    resourceGroupId String
    The ID of the resource group.
    rollingPolicy NodePoolRollingPolicy
    Rotary configuration. See rolling_policy below.
    runtimeName 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.
    runtimeVersion String
    The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
    scalingConfig NodePoolScalingConfig
    Automatic scaling configuration. See scaling_config below.
    scalingPolicy String
    Scaling group mode, default value: release. Valid values:
    securityGroupId String
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    securityGroupIds List<String>
    Multiple security groups can be configured for a node pool. If both security_group_ids and security_group_id are configured, security_group_ids takes effect. This field cannot be modified.
    socEnabled Boolean

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    spotInstancePools Integer
    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.
    spotInstanceRemedy Boolean
    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.
    spotPriceLimits List<NodePoolSpotPriceLimit>
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    spotStrategy String
    The preemptible instance type. Value:
    systemDiskBurstingEnabled Boolean
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskCategories List<String>
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    systemDiskCategory String
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    systemDiskEncryptAlgorithm String
    The encryption algorithm used by the system disk. Value range: aes-256.
    systemDiskEncrypted Boolean
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    systemDiskKmsKey String
    The ID of the KMS key used by the system disk.
    systemDiskPerformanceLevel String
    The system disk performance of the node takes effect only for the ESSD disk.
    systemDiskProvisionedIops Integer
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskSize Integer
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    systemDiskSnapshotPolicyId String
    The ID of the automatic snapshot policy used by the system disk.
    tags Map<String,Object>
    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<NodePoolTaint>
    A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration. See taints below.
    teeConfig NodePoolTeeConfig
    The configuration about confidential computing for the cluster. See tee_config below.
    unschedulable Boolean
    Whether the node after expansion can be scheduled.
    userData String
    Node custom data.
    clusterId string
    The id of kubernetes cluster.
    instanceTypes 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.
    vswitchIds string[]
    The vswitches used by node pool workers.
    autoRenew boolean
    Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: true. Valid values:
    autoRenewPeriod number
    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.
    cisEnabled boolean
    Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    compensateWithOnDemand boolean
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    cpuPolicy string
    Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:
    dataDisks NodePoolDataDisk[]
    Configure the data disk of the node in the node pool. See data_disks below.
    deploymentSetId string
    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.
    desiredSize number
    Number of expected nodes in the node pool.
    forceDelete boolean
    Whether to force deletion.
    formatDisk boolean
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    imageId string
    The custom image ID. The system-provided image is used by default.
    imageType string
    The operating system image type and the platform parameter can be selected from the following values:
    installCloudMonitor boolean
    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:
    instanceChargeType string
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    instances string[]
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    internetChargeType string
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    internetMaxBandwidthOut number
    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].
    keepInstanceName boolean
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    keyName string
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    kmsEncryptedPassword string
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    kmsEncryptionContext {[key: string]: any}
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    kubeletConfiguration NodePoolKubeletConfiguration
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    labels NodePoolLabel[]
    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. See labels below.
    loginAsNonRoot boolean
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    management NodePoolManagement
    Managed node pool configuration. See management below.
    multiAzPolicy string
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    name string
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    nodeCount number
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    nodeNameMode string
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    nodePoolName string
    The name of node pool.
    onDemandBaseCapacity number
    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.
    onDemandPercentageAboveBaseCapacity number
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    period number
    Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
    periodUnit string
    Node payment period unit, valid value: Month. Default is Month.
    platform string
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    privatePoolOptions NodePoolPrivatePoolOptions
    Private node pool configuration. See private_pool_options below.
    rdsInstances string[]
    The list of RDS instances.
    resourceGroupId string
    The ID of the resource group.
    rollingPolicy NodePoolRollingPolicy
    Rotary configuration. See rolling_policy below.
    runtimeName 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.
    runtimeVersion string
    The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
    scalingConfig NodePoolScalingConfig
    Automatic scaling configuration. See scaling_config below.
    scalingPolicy string
    Scaling group mode, default value: release. Valid values:
    securityGroupId string
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

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

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    spotInstancePools number
    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.
    spotInstanceRemedy boolean
    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.
    spotPriceLimits NodePoolSpotPriceLimit[]
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    spotStrategy string
    The preemptible instance type. Value:
    systemDiskBurstingEnabled boolean
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskCategories string[]
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    systemDiskCategory string
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    systemDiskEncryptAlgorithm string
    The encryption algorithm used by the system disk. Value range: aes-256.
    systemDiskEncrypted boolean
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    systemDiskKmsKey string
    The ID of the KMS key used by the system disk.
    systemDiskPerformanceLevel string
    The system disk performance of the node takes effect only for the ESSD disk.
    systemDiskProvisionedIops number
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskSize number
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    systemDiskSnapshotPolicyId string
    The ID of the automatic snapshot policy used by the system disk.
    tags {[key: string]: any}
    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 NodePoolTaint[]
    A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration. See taints below.
    teeConfig NodePoolTeeConfig
    The configuration about confidential computing for the cluster. See tee_config below.
    unschedulable boolean
    Whether the node after expansion can be scheduled.
    userData string
    Node custom data.
    cluster_id str
    The id of kubernetes cluster.
    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.
    vswitch_ids Sequence[str]
    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 to PrePaid. Default value: true. Valid values:
    auto_renew_period int
    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 or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    compensate_with_on_demand bool
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    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:
    data_disks Sequence[NodePoolDataDiskArgs]
    Configure the data disk of the node in the node pool. See data_disks below.
    deployment_set_id str
    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 int
    Number of expected nodes in the node pool.
    force_delete bool
    Whether to force deletion.
    format_disk bool
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    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:
    install_cloud_monitor bool
    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:
    instance_charge_type str
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    instances Sequence[str]
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    internet_charge_type str
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    internet_max_bandwidth_out int
    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].
    keep_instance_name bool
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    key_name str
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    kms_encrypted_password str
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    kms_encryption_context Mapping[str, Any]
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    kubelet_configuration NodePoolKubeletConfigurationArgs
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    labels Sequence[NodePoolLabelArgs]
    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. See labels below.
    login_as_non_root bool
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    management NodePoolManagementArgs
    Managed node pool configuration. See management below.
    multi_az_policy str
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    name str
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    node_count int
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    node_name_mode str
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    node_pool_name str
    The name of node pool.
    on_demand_base_capacity int
    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_percentage_above_base_capacity int
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    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 is Month.
    platform str
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    private_pool_options NodePoolPrivatePoolOptionsArgs
    Private node pool configuration. See private_pool_options below.
    rds_instances Sequence[str]
    The list of RDS instances.
    resource_group_id str
    The ID of the resource group.
    rolling_policy NodePoolRollingPolicyArgs
    Rotary configuration. See rolling_policy below.
    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 NodePoolScalingConfigArgs
    Automatic scaling configuration. See scaling_config below.
    scaling_policy str
    Scaling group mode, default value: release. Valid values:
    security_group_id str
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

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

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    spot_instance_pools int
    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_remedy bool
    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_limits Sequence[NodePoolSpotPriceLimitArgs]
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    spot_strategy str
    The preemptible instance type. Value:
    system_disk_bursting_enabled bool
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    system_disk_categories Sequence[str]
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    system_disk_category str
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    system_disk_encrypt_algorithm str
    The encryption algorithm used by the system disk. Value range: aes-256.
    system_disk_encrypted bool
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    system_disk_kms_key str
    The ID of the KMS key used by the system disk.
    system_disk_performance_level str
    The system disk performance of the node takes effect only for the ESSD disk.
    system_disk_provisioned_iops int
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    system_disk_size int
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    system_disk_snapshot_policy_id str
    The ID of the automatic snapshot policy used by the system disk.
    tags Mapping[str, Any]
    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[NodePoolTaintArgs]
    A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration. See taints below.
    tee_config NodePoolTeeConfigArgs
    The configuration about confidential computing for the cluster. See tee_config below.
    unschedulable bool
    Whether the node after expansion can be scheduled.
    user_data str
    Node custom data.
    clusterId String
    The id of kubernetes cluster.
    instanceTypes 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.
    vswitchIds List<String>
    The vswitches used by node pool workers.
    autoRenew Boolean
    Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: true. Valid values:
    autoRenewPeriod Number
    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.
    cisEnabled Boolean
    Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    compensateWithOnDemand Boolean
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    cpuPolicy String
    Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:
    dataDisks List<Property Map>
    Configure the data disk of the node in the node pool. See data_disks below.
    deploymentSetId String
    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.
    desiredSize Number
    Number of expected nodes in the node pool.
    forceDelete Boolean
    Whether to force deletion.
    formatDisk Boolean
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    imageId String
    The custom image ID. The system-provided image is used by default.
    imageType String
    The operating system image type and the platform parameter can be selected from the following values:
    installCloudMonitor Boolean
    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:
    instanceChargeType String
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    instances List<String>
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    internetChargeType String
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    internetMaxBandwidthOut Number
    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].
    keepInstanceName Boolean
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    keyName String
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    kmsEncryptedPassword String
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    kmsEncryptionContext Map<Any>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    kubeletConfiguration Property Map
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    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. See labels below.
    loginAsNonRoot Boolean
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    management Property Map
    Managed node pool configuration. See management below.
    multiAzPolicy String
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    name String
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    nodeCount Number
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    nodeNameMode String
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    nodePoolName String
    The name of node pool.
    onDemandBaseCapacity Number
    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.
    onDemandPercentageAboveBaseCapacity Number
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    period Number
    Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
    periodUnit String
    Node payment period unit, valid value: Month. Default is Month.
    platform String
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    privatePoolOptions Property Map
    Private node pool configuration. See private_pool_options below.
    rdsInstances List<String>
    The list of RDS instances.
    resourceGroupId String
    The ID of the resource group.
    rollingPolicy Property Map
    Rotary configuration. See rolling_policy below.
    runtimeName 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.
    runtimeVersion String
    The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
    scalingConfig Property Map
    Automatic scaling configuration. See scaling_config below.
    scalingPolicy String
    Scaling group mode, default value: release. Valid values:
    securityGroupId String
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    securityGroupIds List<String>
    Multiple security groups can be configured for a node pool. If both security_group_ids and security_group_id are configured, security_group_ids takes effect. This field cannot be modified.
    socEnabled Boolean

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    spotInstancePools Number
    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.
    spotInstanceRemedy Boolean
    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.
    spotPriceLimits List<Property Map>
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    spotStrategy String
    The preemptible instance type. Value:
    systemDiskBurstingEnabled Boolean
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskCategories List<String>
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    systemDiskCategory String
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    systemDiskEncryptAlgorithm String
    The encryption algorithm used by the system disk. Value range: aes-256.
    systemDiskEncrypted Boolean
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    systemDiskKmsKey String
    The ID of the KMS key used by the system disk.
    systemDiskPerformanceLevel String
    The system disk performance of the node takes effect only for the ESSD disk.
    systemDiskProvisionedIops Number
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskSize Number
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    systemDiskSnapshotPolicyId String
    The ID of the automatic snapshot policy used by the system disk.
    tags Map<Any>
    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. See taints below.
    teeConfig Property Map
    The configuration about confidential computing for the cluster. See tee_config below.
    unschedulable Boolean
    Whether the node after expansion can be scheduled.
    userData String
    Node custom data.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NodePool resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    NodePoolId string
    The first ID of the resource.
    ScalingGroupId string
    The ID of the scaling group.
    Id string
    The provider-assigned unique ID for this managed resource.
    NodePoolId string
    The first ID of the resource.
    ScalingGroupId string
    The ID of the scaling group.
    id String
    The provider-assigned unique ID for this managed resource.
    nodePoolId String
    The first ID of the resource.
    scalingGroupId String
    The ID of the scaling group.
    id string
    The provider-assigned unique ID for this managed resource.
    nodePoolId string
    The first ID of the resource.
    scalingGroupId string
    The ID of the scaling group.
    id str
    The provider-assigned unique ID for this managed resource.
    node_pool_id str
    The first ID of the resource.
    scaling_group_id str
    The ID of the scaling group.
    id String
    The provider-assigned unique ID for this managed resource.
    nodePoolId String
    The first ID of the resource.
    scalingGroupId String
    The ID of the scaling group.

    Look up Existing NodePool Resource

    Get an existing NodePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NodePoolState, opts?: CustomResourceOptions): NodePool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_renew: Optional[bool] = None,
            auto_renew_period: Optional[int] = None,
            cis_enabled: Optional[bool] = None,
            cluster_id: Optional[str] = None,
            compensate_with_on_demand: Optional[bool] = None,
            cpu_policy: Optional[str] = None,
            data_disks: Optional[Sequence[NodePoolDataDiskArgs]] = None,
            deployment_set_id: Optional[str] = None,
            desired_size: Optional[int] = None,
            force_delete: Optional[bool] = None,
            format_disk: Optional[bool] = None,
            image_id: Optional[str] = None,
            image_type: Optional[str] = None,
            install_cloud_monitor: Optional[bool] = None,
            instance_charge_type: Optional[str] = None,
            instance_types: Optional[Sequence[str]] = None,
            instances: Optional[Sequence[str]] = None,
            internet_charge_type: Optional[str] = None,
            internet_max_bandwidth_out: Optional[int] = None,
            keep_instance_name: Optional[bool] = None,
            key_name: Optional[str] = None,
            kms_encrypted_password: Optional[str] = None,
            kms_encryption_context: Optional[Mapping[str, Any]] = None,
            kubelet_configuration: Optional[NodePoolKubeletConfigurationArgs] = None,
            labels: Optional[Sequence[NodePoolLabelArgs]] = None,
            login_as_non_root: Optional[bool] = None,
            management: Optional[NodePoolManagementArgs] = None,
            multi_az_policy: Optional[str] = None,
            name: Optional[str] = None,
            node_count: Optional[int] = None,
            node_name_mode: Optional[str] = None,
            node_pool_id: Optional[str] = None,
            node_pool_name: Optional[str] = None,
            on_demand_base_capacity: Optional[int] = None,
            on_demand_percentage_above_base_capacity: Optional[int] = None,
            password: Optional[str] = None,
            period: Optional[int] = None,
            period_unit: Optional[str] = None,
            platform: Optional[str] = None,
            private_pool_options: Optional[NodePoolPrivatePoolOptionsArgs] = None,
            rds_instances: Optional[Sequence[str]] = None,
            resource_group_id: Optional[str] = None,
            rolling_policy: Optional[NodePoolRollingPolicyArgs] = None,
            runtime_name: Optional[str] = None,
            runtime_version: Optional[str] = None,
            scaling_config: Optional[NodePoolScalingConfigArgs] = None,
            scaling_group_id: Optional[str] = None,
            scaling_policy: Optional[str] = None,
            security_group_id: Optional[str] = None,
            security_group_ids: Optional[Sequence[str]] = None,
            soc_enabled: Optional[bool] = None,
            spot_instance_pools: Optional[int] = None,
            spot_instance_remedy: Optional[bool] = None,
            spot_price_limits: Optional[Sequence[NodePoolSpotPriceLimitArgs]] = None,
            spot_strategy: Optional[str] = None,
            system_disk_bursting_enabled: Optional[bool] = None,
            system_disk_categories: Optional[Sequence[str]] = None,
            system_disk_category: Optional[str] = None,
            system_disk_encrypt_algorithm: Optional[str] = None,
            system_disk_encrypted: Optional[bool] = None,
            system_disk_kms_key: Optional[str] = None,
            system_disk_performance_level: Optional[str] = None,
            system_disk_provisioned_iops: Optional[int] = None,
            system_disk_size: Optional[int] = None,
            system_disk_snapshot_policy_id: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None,
            taints: Optional[Sequence[NodePoolTaintArgs]] = None,
            tee_config: Optional[NodePoolTeeConfigArgs] = None,
            unschedulable: Optional[bool] = None,
            user_data: Optional[str] = None,
            vswitch_ids: Optional[Sequence[str]] = None) -> NodePool
    func GetNodePool(ctx *Context, name string, id IDInput, state *NodePoolState, opts ...ResourceOption) (*NodePool, error)
    public static NodePool Get(string name, Input<string> id, NodePoolState? state, CustomResourceOptions? opts = null)
    public static NodePool get(String name, Output<String> id, NodePoolState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoRenew bool
    Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: true. Valid values:
    AutoRenewPeriod int
    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.
    CisEnabled bool
    Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    ClusterId string
    The id of kubernetes cluster.
    CompensateWithOnDemand bool
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    CpuPolicy string
    Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:
    DataDisks List<Pulumi.AliCloud.CS.Inputs.NodePoolDataDisk>
    Configure the data disk of the node in the node pool. See data_disks below.
    DeploymentSetId string
    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.
    DesiredSize int
    Number of expected nodes in the node pool.
    ForceDelete bool
    Whether to force deletion.
    FormatDisk bool
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    ImageId string
    The custom image ID. The system-provided image is used by default.
    ImageType string
    The operating system image type and the platform parameter can be selected from the following values:
    InstallCloudMonitor bool
    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:
    InstanceChargeType string
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    InstanceTypes 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.
    Instances List<string>
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    InternetChargeType string
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    InternetMaxBandwidthOut int
    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].
    KeepInstanceName bool
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    KeyName string
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    KmsEncryptedPassword string
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    KmsEncryptionContext Dictionary<string, object>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    KubeletConfiguration Pulumi.AliCloud.CS.Inputs.NodePoolKubeletConfiguration
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    Labels List<Pulumi.AliCloud.CS.Inputs.NodePoolLabel>
    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. See labels below.
    LoginAsNonRoot bool
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    Management Pulumi.AliCloud.CS.Inputs.NodePoolManagement
    Managed node pool configuration. See management below.
    MultiAzPolicy string
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    Name string
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    NodeCount int
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    NodeNameMode string
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    NodePoolId string
    The first ID of the resource.
    NodePoolName string
    The name of node pool.
    OnDemandBaseCapacity int
    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.
    OnDemandPercentageAboveBaseCapacity int
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    Period int
    Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
    PeriodUnit string
    Node payment period unit, valid value: Month. Default is Month.
    Platform string
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    PrivatePoolOptions Pulumi.AliCloud.CS.Inputs.NodePoolPrivatePoolOptions
    Private node pool configuration. See private_pool_options below.
    RdsInstances List<string>
    The list of RDS instances.
    ResourceGroupId string
    The ID of the resource group.
    RollingPolicy Pulumi.AliCloud.CS.Inputs.NodePoolRollingPolicy
    Rotary configuration. See rolling_policy below.
    RuntimeName 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.
    RuntimeVersion string
    The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
    ScalingConfig Pulumi.AliCloud.CS.Inputs.NodePoolScalingConfig
    Automatic scaling configuration. See scaling_config below.
    ScalingGroupId string
    The ID of the scaling group.
    ScalingPolicy string
    Scaling group mode, default value: release. Valid values:
    SecurityGroupId string
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    SecurityGroupIds List<string>
    Multiple security groups can be configured for a node pool. If both security_group_ids and security_group_id are configured, security_group_ids takes effect. This field cannot be modified.
    SocEnabled bool

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    SpotInstancePools int
    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.
    SpotInstanceRemedy bool
    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.
    SpotPriceLimits List<Pulumi.AliCloud.CS.Inputs.NodePoolSpotPriceLimit>
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    SpotStrategy string
    The preemptible instance type. Value:
    SystemDiskBurstingEnabled bool
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    SystemDiskCategories List<string>
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    SystemDiskCategory string
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    SystemDiskEncryptAlgorithm string
    The encryption algorithm used by the system disk. Value range: aes-256.
    SystemDiskEncrypted bool
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    SystemDiskKmsKey string
    The ID of the KMS key used by the system disk.
    SystemDiskPerformanceLevel string
    The system disk performance of the node takes effect only for the ESSD disk.
    SystemDiskProvisionedIops int
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    SystemDiskSize int
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    SystemDiskSnapshotPolicyId string
    The ID of the automatic snapshot policy used by the system disk.
    Tags Dictionary<string, object>
    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.AliCloud.CS.Inputs.NodePoolTaint>
    A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration. See taints below.
    TeeConfig Pulumi.AliCloud.CS.Inputs.NodePoolTeeConfig
    The configuration about confidential computing for the cluster. See tee_config below.
    Unschedulable bool
    Whether the node after expansion can be scheduled.
    UserData string
    Node custom data.
    VswitchIds List<string>
    The vswitches used by node pool workers.
    AutoRenew bool
    Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: true. Valid values:
    AutoRenewPeriod int
    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.
    CisEnabled bool
    Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    ClusterId string
    The id of kubernetes cluster.
    CompensateWithOnDemand bool
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    CpuPolicy string
    Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:
    DataDisks []NodePoolDataDiskArgs
    Configure the data disk of the node in the node pool. See data_disks below.
    DeploymentSetId string
    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.
    DesiredSize int
    Number of expected nodes in the node pool.
    ForceDelete bool
    Whether to force deletion.
    FormatDisk bool
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    ImageId string
    The custom image ID. The system-provided image is used by default.
    ImageType string
    The operating system image type and the platform parameter can be selected from the following values:
    InstallCloudMonitor bool
    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:
    InstanceChargeType string
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    InstanceTypes []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.
    Instances []string
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    InternetChargeType string
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    InternetMaxBandwidthOut int
    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].
    KeepInstanceName bool
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    KeyName string
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    KmsEncryptedPassword string
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    KmsEncryptionContext map[string]interface{}
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    KubeletConfiguration NodePoolKubeletConfigurationArgs
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    Labels []NodePoolLabelArgs
    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. See labels below.
    LoginAsNonRoot bool
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    Management NodePoolManagementArgs
    Managed node pool configuration. See management below.
    MultiAzPolicy string
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    Name string
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    NodeCount int
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    NodeNameMode string
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    NodePoolId string
    The first ID of the resource.
    NodePoolName string
    The name of node pool.
    OnDemandBaseCapacity int
    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.
    OnDemandPercentageAboveBaseCapacity int
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    Period int
    Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
    PeriodUnit string
    Node payment period unit, valid value: Month. Default is Month.
    Platform string
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    PrivatePoolOptions NodePoolPrivatePoolOptionsArgs
    Private node pool configuration. See private_pool_options below.
    RdsInstances []string
    The list of RDS instances.
    ResourceGroupId string
    The ID of the resource group.
    RollingPolicy NodePoolRollingPolicyArgs
    Rotary configuration. See rolling_policy below.
    RuntimeName 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.
    RuntimeVersion string
    The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
    ScalingConfig NodePoolScalingConfigArgs
    Automatic scaling configuration. See scaling_config below.
    ScalingGroupId string
    The ID of the scaling group.
    ScalingPolicy string
    Scaling group mode, default value: release. Valid values:
    SecurityGroupId string
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

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

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    SpotInstancePools int
    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.
    SpotInstanceRemedy bool
    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.
    SpotPriceLimits []NodePoolSpotPriceLimitArgs
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    SpotStrategy string
    The preemptible instance type. Value:
    SystemDiskBurstingEnabled bool
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    SystemDiskCategories []string
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    SystemDiskCategory string
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    SystemDiskEncryptAlgorithm string
    The encryption algorithm used by the system disk. Value range: aes-256.
    SystemDiskEncrypted bool
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    SystemDiskKmsKey string
    The ID of the KMS key used by the system disk.
    SystemDiskPerformanceLevel string
    The system disk performance of the node takes effect only for the ESSD disk.
    SystemDiskProvisionedIops int
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    SystemDiskSize int
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    SystemDiskSnapshotPolicyId string
    The ID of the automatic snapshot policy used by the system disk.
    Tags map[string]interface{}
    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 []NodePoolTaintArgs
    A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration. See taints below.
    TeeConfig NodePoolTeeConfigArgs
    The configuration about confidential computing for the cluster. See tee_config below.
    Unschedulable bool
    Whether the node after expansion can be scheduled.
    UserData string
    Node custom data.
    VswitchIds []string
    The vswitches used by node pool workers.
    autoRenew Boolean
    Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: true. Valid values:
    autoRenewPeriod Integer
    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.
    cisEnabled Boolean
    Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    clusterId String
    The id of kubernetes cluster.
    compensateWithOnDemand Boolean
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    cpuPolicy String
    Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:
    dataDisks List<NodePoolDataDisk>
    Configure the data disk of the node in the node pool. See data_disks below.
    deploymentSetId String
    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.
    desiredSize Integer
    Number of expected nodes in the node pool.
    forceDelete Boolean
    Whether to force deletion.
    formatDisk Boolean
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    imageId String
    The custom image ID. The system-provided image is used by default.
    imageType String
    The operating system image type and the platform parameter can be selected from the following values:
    installCloudMonitor Boolean
    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:
    instanceChargeType String
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    instanceTypes 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.
    instances List<String>
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    internetChargeType String
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    internetMaxBandwidthOut Integer
    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].
    keepInstanceName Boolean
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    keyName String
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    kmsEncryptedPassword String
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    kmsEncryptionContext Map<String,Object>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    kubeletConfiguration NodePoolKubeletConfiguration
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    labels List<NodePoolLabel>
    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. See labels below.
    loginAsNonRoot Boolean
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    management NodePoolManagement
    Managed node pool configuration. See management below.
    multiAzPolicy String
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    name String
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    nodeCount Integer
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    nodeNameMode String
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    nodePoolId String
    The first ID of the resource.
    nodePoolName String
    The name of node pool.
    onDemandBaseCapacity Integer
    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.
    onDemandPercentageAboveBaseCapacity Integer
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    period Integer
    Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
    periodUnit String
    Node payment period unit, valid value: Month. Default is Month.
    platform String
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    privatePoolOptions NodePoolPrivatePoolOptions
    Private node pool configuration. See private_pool_options below.
    rdsInstances List<String>
    The list of RDS instances.
    resourceGroupId String
    The ID of the resource group.
    rollingPolicy NodePoolRollingPolicy
    Rotary configuration. See rolling_policy below.
    runtimeName 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.
    runtimeVersion String
    The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
    scalingConfig NodePoolScalingConfig
    Automatic scaling configuration. See scaling_config below.
    scalingGroupId String
    The ID of the scaling group.
    scalingPolicy String
    Scaling group mode, default value: release. Valid values:
    securityGroupId String
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    securityGroupIds List<String>
    Multiple security groups can be configured for a node pool. If both security_group_ids and security_group_id are configured, security_group_ids takes effect. This field cannot be modified.
    socEnabled Boolean

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    spotInstancePools Integer
    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.
    spotInstanceRemedy Boolean
    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.
    spotPriceLimits List<NodePoolSpotPriceLimit>
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    spotStrategy String
    The preemptible instance type. Value:
    systemDiskBurstingEnabled Boolean
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskCategories List<String>
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    systemDiskCategory String
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    systemDiskEncryptAlgorithm String
    The encryption algorithm used by the system disk. Value range: aes-256.
    systemDiskEncrypted Boolean
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    systemDiskKmsKey String
    The ID of the KMS key used by the system disk.
    systemDiskPerformanceLevel String
    The system disk performance of the node takes effect only for the ESSD disk.
    systemDiskProvisionedIops Integer
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskSize Integer
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    systemDiskSnapshotPolicyId String
    The ID of the automatic snapshot policy used by the system disk.
    tags Map<String,Object>
    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<NodePoolTaint>
    A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration. See taints below.
    teeConfig NodePoolTeeConfig
    The configuration about confidential computing for the cluster. See tee_config below.
    unschedulable Boolean
    Whether the node after expansion can be scheduled.
    userData String
    Node custom data.
    vswitchIds List<String>
    The vswitches used by node pool workers.
    autoRenew boolean
    Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: true. Valid values:
    autoRenewPeriod number
    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.
    cisEnabled boolean
    Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    clusterId string
    The id of kubernetes cluster.
    compensateWithOnDemand boolean
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    cpuPolicy string
    Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:
    dataDisks NodePoolDataDisk[]
    Configure the data disk of the node in the node pool. See data_disks below.
    deploymentSetId string
    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.
    desiredSize number
    Number of expected nodes in the node pool.
    forceDelete boolean
    Whether to force deletion.
    formatDisk boolean
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    imageId string
    The custom image ID. The system-provided image is used by default.
    imageType string
    The operating system image type and the platform parameter can be selected from the following values:
    installCloudMonitor boolean
    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:
    instanceChargeType string
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    instanceTypes 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.
    instances string[]
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    internetChargeType string
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    internetMaxBandwidthOut number
    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].
    keepInstanceName boolean
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    keyName string
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    kmsEncryptedPassword string
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    kmsEncryptionContext {[key: string]: any}
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    kubeletConfiguration NodePoolKubeletConfiguration
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    labels NodePoolLabel[]
    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. See labels below.
    loginAsNonRoot boolean
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    management NodePoolManagement
    Managed node pool configuration. See management below.
    multiAzPolicy string
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    name string
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    nodeCount number
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    nodeNameMode string
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    nodePoolId string
    The first ID of the resource.
    nodePoolName string
    The name of node pool.
    onDemandBaseCapacity number
    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.
    onDemandPercentageAboveBaseCapacity number
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    period number
    Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
    periodUnit string
    Node payment period unit, valid value: Month. Default is Month.
    platform string
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    privatePoolOptions NodePoolPrivatePoolOptions
    Private node pool configuration. See private_pool_options below.
    rdsInstances string[]
    The list of RDS instances.
    resourceGroupId string
    The ID of the resource group.
    rollingPolicy NodePoolRollingPolicy
    Rotary configuration. See rolling_policy below.
    runtimeName 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.
    runtimeVersion string
    The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
    scalingConfig NodePoolScalingConfig
    Automatic scaling configuration. See scaling_config below.
    scalingGroupId string
    The ID of the scaling group.
    scalingPolicy string
    Scaling group mode, default value: release. Valid values:
    securityGroupId string
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

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

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    spotInstancePools number
    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.
    spotInstanceRemedy boolean
    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.
    spotPriceLimits NodePoolSpotPriceLimit[]
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    spotStrategy string
    The preemptible instance type. Value:
    systemDiskBurstingEnabled boolean
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskCategories string[]
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    systemDiskCategory string
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    systemDiskEncryptAlgorithm string
    The encryption algorithm used by the system disk. Value range: aes-256.
    systemDiskEncrypted boolean
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    systemDiskKmsKey string
    The ID of the KMS key used by the system disk.
    systemDiskPerformanceLevel string
    The system disk performance of the node takes effect only for the ESSD disk.
    systemDiskProvisionedIops number
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskSize number
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    systemDiskSnapshotPolicyId string
    The ID of the automatic snapshot policy used by the system disk.
    tags {[key: string]: any}
    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 NodePoolTaint[]
    A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration. See taints below.
    teeConfig NodePoolTeeConfig
    The configuration about confidential computing for the cluster. See tee_config below.
    unschedulable boolean
    Whether the node after expansion can be scheduled.
    userData string
    Node custom data.
    vswitchIds 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 to PrePaid. Default value: true. Valid values:
    auto_renew_period int
    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 or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    cluster_id str
    The id of kubernetes cluster.
    compensate_with_on_demand bool
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    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:
    data_disks Sequence[NodePoolDataDiskArgs]
    Configure the data disk of the node in the node pool. See data_disks below.
    deployment_set_id str
    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 int
    Number of expected nodes in the node pool.
    force_delete bool
    Whether to force deletion.
    format_disk bool
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    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:
    install_cloud_monitor bool
    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:
    instance_charge_type str
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    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.
    instances Sequence[str]
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    internet_charge_type str
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    internet_max_bandwidth_out int
    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].
    keep_instance_name bool
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    key_name str
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    kms_encrypted_password str
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    kms_encryption_context Mapping[str, Any]
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    kubelet_configuration NodePoolKubeletConfigurationArgs
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    labels Sequence[NodePoolLabelArgs]
    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. See labels below.
    login_as_non_root bool
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    management NodePoolManagementArgs
    Managed node pool configuration. See management below.
    multi_az_policy str
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    name str
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    node_count int
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    node_name_mode str
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    node_pool_id str
    The first ID of the resource.
    node_pool_name str
    The name of node pool.
    on_demand_base_capacity int
    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_percentage_above_base_capacity int
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    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 is Month.
    platform str
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    private_pool_options NodePoolPrivatePoolOptionsArgs
    Private node pool configuration. See private_pool_options below.
    rds_instances Sequence[str]
    The list of RDS instances.
    resource_group_id str
    The ID of the resource group.
    rolling_policy NodePoolRollingPolicyArgs
    Rotary configuration. See rolling_policy below.
    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 NodePoolScalingConfigArgs
    Automatic scaling configuration. See scaling_config below.
    scaling_group_id str
    The ID of the scaling group.
    scaling_policy str
    Scaling group mode, default value: release. Valid values:
    security_group_id str
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

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

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    spot_instance_pools int
    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_remedy bool
    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_limits Sequence[NodePoolSpotPriceLimitArgs]
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    spot_strategy str
    The preemptible instance type. Value:
    system_disk_bursting_enabled bool
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    system_disk_categories Sequence[str]
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    system_disk_category str
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    system_disk_encrypt_algorithm str
    The encryption algorithm used by the system disk. Value range: aes-256.
    system_disk_encrypted bool
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    system_disk_kms_key str
    The ID of the KMS key used by the system disk.
    system_disk_performance_level str
    The system disk performance of the node takes effect only for the ESSD disk.
    system_disk_provisioned_iops int
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    system_disk_size int
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    system_disk_snapshot_policy_id str
    The ID of the automatic snapshot policy used by the system disk.
    tags Mapping[str, Any]
    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[NodePoolTaintArgs]
    A List of Kubernetes taints to assign to the nodes. Detailed below. More information in Taints and Toleration. See taints below.
    tee_config NodePoolTeeConfigArgs
    The configuration about confidential computing for the cluster. See tee_config below.
    unschedulable bool
    Whether the node after expansion can be scheduled.
    user_data str
    Node custom data.
    vswitch_ids Sequence[str]
    The vswitches used by node pool workers.
    autoRenew Boolean
    Whether to enable automatic renewal for nodes in the node pool takes effect only when instance_charge_type is set to PrePaid. Default value: true. Valid values:
    autoRenewPeriod Number
    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.
    cisEnabled Boolean
    Whether enable worker node to support cis security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See CIS Reinforcement.
    clusterId String
    The id of kubernetes cluster.
    compensateWithOnDemand Boolean
    Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set multi_az_policy to COST_OPTIMIZED. Valid values: true: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. false: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
    cpuPolicy String
    Node CPU management policies. Default value: none. When the cluster version is 1.12.6 or later, the following two policies are supported:
    dataDisks List<Property Map>
    Configure the data disk of the node in the node pool. See data_disks below.
    deploymentSetId String
    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.
    desiredSize Number
    Number of expected nodes in the node pool.
    forceDelete Boolean
    Whether to force deletion.
    formatDisk Boolean
    After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is false.
    imageId String
    The custom image ID. The system-provided image is used by default.
    imageType String
    The operating system image type and the platform parameter can be selected from the following values:
    installCloudMonitor Boolean
    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:
    instanceChargeType String
    Node payment type. Valid values: PostPaid, PrePaid, default is PostPaid. If value is PrePaid, the arguments period, period_unit, auto_renew and auto_renew_period are required.
    instanceTypes 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.
    instances List<String>
    The instance list. Add existing nodes under the same cluster VPC to the node pool.
    internetChargeType String
    The billing method for network usage. Valid values PayByBandwidth and PayByTraffic. Conflict with eip_internet_charge_type, EIP and public network IP can only choose one. .
    internetMaxBandwidthOut Number
    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].
    keepInstanceName Boolean
    Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to true.
    keyName String
    The name of the key pair. When the node pool is a managed node pool, only key_name is supported.
    kmsEncryptedPassword String
    An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.
    kmsEncryptionContext Map<Any>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    kubeletConfiguration Property Map
    Kubelet configuration parameters for worker nodes. See kubelet_configuration below. More information in Kubelet Configuration. See kubelet_configuration below.
    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. See labels below.
    loginAsNonRoot Boolean
    Whether the ECS instance is logged on as a ecs-user user. Valid value: true and false.
    management Property Map
    Managed node pool configuration. See management below.
    multiAzPolicy String
    The scaling policy for ECS instances in a multi-zone scaling group. Valid value: PRIORITY, COST_OPTIMIZED and BALANCE. PRIORITY: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. COST_OPTIMIZED: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the CompensateWithOnDemand parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. BALANCE: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
    name String
    . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

    nodeCount Number
    The worker node number of the node pool. From version 1.111.0, node_count is not required.

    Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

    nodeNameMode String
    Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is customized,,ip,.

    • The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
    • The node IP address is the complete private IP address of the node.
    • For example, if the string customized,aliyun,ip,com is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is aliyun.192.168.xxx.xxx.com.
    nodePoolId String
    The first ID of the resource.
    nodePoolName String
    The name of node pool.
    onDemandBaseCapacity Number
    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.
    onDemandPercentageAboveBaseCapacity Number
    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 and key_name fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
    period Number
    Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
    periodUnit String
    Node payment period unit, valid value: Month. Default is Month.
    platform String
    Operating system release, using image_type instead.

    Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using image_type instead.

    privatePoolOptions Property Map
    Private node pool configuration. See private_pool_options below.
    rdsInstances List<String>
    The list of RDS instances.
    resourceGroupId String
    The ID of the resource group.
    rollingPolicy Property Map
    Rotary configuration. See rolling_policy below.
    runtimeName 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.
    runtimeVersion String
    The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
    scalingConfig Property Map
    Automatic scaling configuration. See scaling_config below.
    scalingGroupId String
    The ID of the scaling group.
    scalingPolicy String
    Scaling group mode, default value: release. Valid values:
    securityGroupId String
    The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by security_group_ids, please use the security_group_ids field instead.

    securityGroupIds List<String>
    Multiple security groups can be configured for a node pool. If both security_group_ids and security_group_id are configured, security_group_ids takes effect. This field cannot be modified.
    socEnabled Boolean

    Whether enable worker node to support soc security reinforcement, its valid value true or false. Default to false and apply to AliyunLinux series. See SOC Reinforcement.

    NOTE: It is forbidden to set both cis_enabled and soc_enabled to trueat the same time.

    spotInstancePools Number
    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.
    spotInstanceRemedy Boolean
    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.
    spotPriceLimits List<Property Map>
    The current single preemptible instance type market price range configuration. See spot_price_limit below.
    spotStrategy String
    The preemptible instance type. Value:
    systemDiskBurstingEnabled Boolean
    Specifies whether to enable the burst feature for system disks. Valid values:true: enables the burst feature. false: disables the burst feature. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskCategories List<String>
    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: cloud: cloud disk. cloud_efficiency: a high-efficiency cloud disk. cloud_ssd:SSD cloud disk. cloud_essd: ESSD cloud disk.
    systemDiskCategory String
    The system disk category of worker node. Its valid value are cloud_ssd, cloud_efficiency, cloud_essd and cloud_auto. .
    systemDiskEncryptAlgorithm String
    The encryption algorithm used by the system disk. Value range: aes-256.
    systemDiskEncrypted Boolean
    Whether to encrypt the system disk. Value range: true: encryption. false: Do not encrypt.
    systemDiskKmsKey String
    The ID of the KMS key used by the system disk.
    systemDiskPerformanceLevel String
    The system disk performance of the node takes effect only for the ESSD disk.
    systemDiskProvisionedIops Number
    The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when system_disk_category is set to cloud_auto.
    systemDiskSize Number
    The system disk category of worker node. Its valid value range [40~500] in GB. Default to 120.
    systemDiskSnapshotPolicyId String
    The ID of the automatic snapshot policy used by the system disk.
    tags Map<Any>
    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. See taints below.
    teeConfig Property Map
    The configuration about confidential computing for the cluster. See tee_config below.
    unschedulable Boolean
    Whether the node after expansion can be scheduled.
    userData String
    Node custom data.
    vswitchIds List<String>
    The vswitches used by node pool workers.

    Supporting Types

    NodePoolDataDisk, NodePoolDataDiskArgs

    AutoSnapshotPolicyId string
    The ID of the automatic snapshot policy that you want to apply to the system disk.
    BurstingEnabled 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 the data disks. Valid values:cloud, cloud_efficiency, cloud_ssd, cloud_essd, cloud_auto.
    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.
    KmsKeyId string
    The kms key id used to encrypt the data disk. It takes effect when encrypted 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 (-).
    PerformanceLevel string
    Worker node data disk performance level, when category values cloud_essd, the optional values are PL0, PL1, PL2 or PL3, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default is PL1.
    ProvisionedIops 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.
    SnapshotId 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.
    AutoSnapshotPolicyId string
    The ID of the automatic snapshot policy that you want to apply to the system disk.
    BurstingEnabled 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 the data disks. Valid values:cloud, cloud_efficiency, cloud_ssd, cloud_essd, cloud_auto.
    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.
    KmsKeyId string
    The kms key id used to encrypt the data disk. It takes effect when encrypted 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 (-).
    PerformanceLevel string
    Worker node data disk performance level, when category values cloud_essd, the optional values are PL0, PL1, PL2 or PL3, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default is PL1.
    ProvisionedIops 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.
    SnapshotId 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.
    autoSnapshotPolicyId String
    The ID of the automatic snapshot policy that you want to apply to the system disk.
    burstingEnabled 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 the data disks. Valid values:cloud, cloud_efficiency, cloud_ssd, cloud_essd, cloud_auto.
    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.
    kmsKeyId String
    The kms key id used to encrypt the data disk. It takes effect when encrypted 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 (-).
    performanceLevel String
    Worker node data disk performance level, when category values cloud_essd, the optional values are PL0, PL1, PL2 or PL3, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default is PL1.
    provisionedIops 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.
    snapshotId 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.
    autoSnapshotPolicyId string
    The ID of the automatic snapshot policy that you want to apply to the system disk.
    burstingEnabled 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 the data disks. Valid values:cloud, cloud_efficiency, cloud_ssd, cloud_essd, cloud_auto.
    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.
    kmsKeyId string
    The kms key id used to encrypt the data disk. It takes effect when encrypted 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 (-).
    performanceLevel string
    Worker node data disk performance level, when category values cloud_essd, the optional values are PL0, PL1, PL2 or PL3, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default is PL1.
    provisionedIops 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.
    snapshotId 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_snapshot_policy_id str
    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 the data disks. Valid values:cloud, cloud_efficiency, cloud_ssd, cloud_essd, cloud_auto.
    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.
    kms_key_id str
    The kms key id used to encrypt the data disk. It takes effect when encrypted 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 (-).
    performance_level str
    Worker node data disk performance level, when category values cloud_essd, the optional values are PL0, PL1, PL2 or PL3, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default is PL1.
    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.
    autoSnapshotPolicyId String
    The ID of the automatic snapshot policy that you want to apply to the system disk.
    burstingEnabled 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 the data disks. Valid values:cloud, cloud_efficiency, cloud_ssd, cloud_essd, cloud_auto.
    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.
    kmsKeyId String
    The kms key id used to encrypt the data disk. It takes effect when encrypted 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 (-).
    performanceLevel String
    Worker node data disk performance level, when category values cloud_essd, the optional values are PL0, PL1, PL2 or PL3, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default is PL1.
    provisionedIops 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.
    snapshotId 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.

    NodePoolKubeletConfiguration, NodePoolKubeletConfigurationArgs

    AllowedUnsafeSysctls List<string>
    Allowed sysctl mode whitelist.
    ContainerLogMaxFiles string
    The maximum number of log files that can exist in each container.
    ContainerLogMaxSize string
    The maximum size that can be reached before a log file is rotated.
    CpuManagerPolicy string
    Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is none or static.
    EventBurst 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 when event_record_qps is greater than 0. Valid value is [0-100].
    EventRecordQps string
    Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is [0-50].
    EvictionHard Dictionary<string, object>
    Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: {"memory.available" = "300Mi"}.
    EvictionSoft Dictionary<string, object>
    Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: {"memory.available" = "300Mi"}.
    EvictionSoftGracePeriod Dictionary<string, object>
    Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: {"memory.available" = "30s"}.
    FeatureGates Dictionary<string, bool>
    Feature switch to enable configuration of experimental features.
    KubeApiBurst string
    Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is [0-100].
    KubeApiQps string
    Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is [0-50].
    KubeReserved Dictionary<string, object>
    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.
    MaxPods string
    The maximum number of running pods.
    ReadOnlyPort string
    Read-only port number.
    RegistryBurst 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 if registry_pull_qps is greater than 0. Valid value is [0-100].
    RegistryPullQps string
    Same as registryPullQPS. The limit of registry pulls per second. Setting it to 0 means no limit. Valid value is [0-50].
    SerializeImagePulls string
    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 or false.
    SystemReserved Dictionary<string, object>
    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.
    AllowedUnsafeSysctls []string
    Allowed sysctl mode whitelist.
    ContainerLogMaxFiles string
    The maximum number of log files that can exist in each container.
    ContainerLogMaxSize string
    The maximum size that can be reached before a log file is rotated.
    CpuManagerPolicy string
    Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is none or static.
    EventBurst 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 when event_record_qps is greater than 0. Valid value is [0-100].
    EventRecordQps string
    Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is [0-50].
    EvictionHard map[string]interface{}
    Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: {"memory.available" = "300Mi"}.
    EvictionSoft map[string]interface{}
    Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: {"memory.available" = "300Mi"}.
    EvictionSoftGracePeriod map[string]interface{}
    Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: {"memory.available" = "30s"}.
    FeatureGates map[string]bool
    Feature switch to enable configuration of experimental features.
    KubeApiBurst string
    Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is [0-100].
    KubeApiQps string
    Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is [0-50].
    KubeReserved map[string]interface{}
    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.
    MaxPods string
    The maximum number of running pods.
    ReadOnlyPort string
    Read-only port number.
    RegistryBurst 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 if registry_pull_qps is greater than 0. Valid value is [0-100].
    RegistryPullQps string
    Same as registryPullQPS. The limit of registry pulls per second. Setting it to 0 means no limit. Valid value is [0-50].
    SerializeImagePulls string
    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 or false.
    SystemReserved map[string]interface{}
    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.
    allowedUnsafeSysctls List<String>
    Allowed sysctl mode whitelist.
    containerLogMaxFiles String
    The maximum number of log files that can exist in each container.
    containerLogMaxSize String
    The maximum size that can be reached before a log file is rotated.
    cpuManagerPolicy String
    Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is none or static.
    eventBurst 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 when event_record_qps is greater than 0. Valid value is [0-100].
    eventRecordQps String
    Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is [0-50].
    evictionHard Map<String,Object>
    Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: {"memory.available" = "300Mi"}.
    evictionSoft Map<String,Object>
    Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: {"memory.available" = "300Mi"}.
    evictionSoftGracePeriod Map<String,Object>
    Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: {"memory.available" = "30s"}.
    featureGates Map<String,Boolean>
    Feature switch to enable configuration of experimental features.
    kubeApiBurst String
    Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is [0-100].
    kubeApiQps String
    Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is [0-50].
    kubeReserved Map<String,Object>
    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.
    maxPods String
    The maximum number of running pods.
    readOnlyPort String
    Read-only port number.
    registryBurst 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 if registry_pull_qps is greater than 0. Valid value is [0-100].
    registryPullQps String
    Same as registryPullQPS. The limit of registry pulls per second. Setting it to 0 means no limit. Valid value is [0-50].
    serializeImagePulls String
    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 or false.
    systemReserved Map<String,Object>
    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.
    allowedUnsafeSysctls string[]
    Allowed sysctl mode whitelist.
    containerLogMaxFiles string
    The maximum number of log files that can exist in each container.
    containerLogMaxSize string
    The maximum size that can be reached before a log file is rotated.
    cpuManagerPolicy string
    Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is none or static.
    eventBurst 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 when event_record_qps is greater than 0. Valid value is [0-100].
    eventRecordQps string
    Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is [0-50].
    evictionHard {[key: string]: any}
    Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: {"memory.available" = "300Mi"}.
    evictionSoft {[key: string]: any}
    Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: {"memory.available" = "300Mi"}.
    evictionSoftGracePeriod {[key: string]: any}
    Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: {"memory.available" = "30s"}.
    featureGates {[key: string]: boolean}
    Feature switch to enable configuration of experimental features.
    kubeApiBurst string
    Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is [0-100].
    kubeApiQps string
    Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is [0-50].
    kubeReserved {[key: string]: any}
    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.
    maxPods string
    The maximum number of running pods.
    readOnlyPort string
    Read-only port number.
    registryBurst 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 if registry_pull_qps is greater than 0. Valid value is [0-100].
    registryPullQps string
    Same as registryPullQPS. The limit of registry pulls per second. Setting it to 0 means no limit. Valid value is [0-50].
    serializeImagePulls string
    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 or false.
    systemReserved {[key: string]: any}
    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.
    allowed_unsafe_sysctls Sequence[str]
    Allowed sysctl mode whitelist.
    container_log_max_files str
    The maximum number of log files that can exist in each container.
    container_log_max_size str
    The maximum size that can be reached before a log file is rotated.
    cpu_manager_policy str
    Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is none or static.
    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 when event_record_qps is greater than 0. Valid value is [0-100].
    event_record_qps str
    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, Any]
    Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: {"memory.available" = "300Mi"}.
    eviction_soft Mapping[str, Any]
    Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: {"memory.available" = "300Mi"}.
    eviction_soft_grace_period Mapping[str, Any]
    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, bool]
    Feature switch to enable configuration of experimental features.
    kube_api_burst str
    Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is [0-100].
    kube_api_qps str
    Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is [0-50].
    kube_reserved Mapping[str, Any]
    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.
    read_only_port str
    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 if registry_pull_qps is greater than 0. Valid value is [0-100].
    registry_pull_qps str
    Same as registryPullQPS. The limit of registry pulls per second. Setting it to 0 means no limit. Valid value is [0-50].
    serialize_image_pulls str
    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 or false.
    system_reserved Mapping[str, Any]
    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.
    allowedUnsafeSysctls List<String>
    Allowed sysctl mode whitelist.
    containerLogMaxFiles String
    The maximum number of log files that can exist in each container.
    containerLogMaxSize String
    The maximum size that can be reached before a log file is rotated.
    cpuManagerPolicy String
    Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is none or static.
    eventBurst 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 when event_record_qps is greater than 0. Valid value is [0-100].
    eventRecordQps String
    Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is [0-50].
    evictionHard Map<Any>
    Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: {"memory.available" = "300Mi"}.
    evictionSoft Map<Any>
    Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: {"memory.available" = "300Mi"}.
    evictionSoftGracePeriod Map<Any>
    Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: {"memory.available" = "30s"}.
    featureGates Map<Boolean>
    Feature switch to enable configuration of experimental features.
    kubeApiBurst String
    Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is [0-100].
    kubeApiQps String
    Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is [0-50].
    kubeReserved Map<Any>
    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.
    maxPods String
    The maximum number of running pods.
    readOnlyPort String
    Read-only port number.
    registryBurst 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 if registry_pull_qps is greater than 0. Valid value is [0-100].
    registryPullQps String
    Same as registryPullQPS. The limit of registry pulls per second. Setting it to 0 means no limit. Valid value is [0-50].
    serializeImagePulls String
    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 or false.
    systemReserved Map<Any>
    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.

    NodePoolLabel, NodePoolLabelArgs

    Key string
    The label key.
    Value string
    The label value.
    Key string
    The label key.
    Value string
    The label value.
    key String
    The label key.
    value String
    The label value.
    key string
    The label key.
    value string
    The label value.
    key str
    The label key.
    value str
    The label value.
    key String
    The label key.
    value String
    The label value.

    NodePoolManagement, NodePoolManagementArgs

    AutoRepair bool
    Whether to enable automatic repair. Valid values: true: Automatic repair. false: not automatically repaired.
    AutoRepairPolicy Pulumi.AliCloud.CS.Inputs.NodePoolManagementAutoRepairPolicy
    Automatic repair node policy. See auto_repair_policy below.
    AutoUpgrade bool
    Specifies whether to enable auto update. Valid values: true: enables auto update. false: disables auto update.
    AutoUpgradePolicy Pulumi.AliCloud.CS.Inputs.NodePoolManagementAutoUpgradePolicy
    The auto update policy. See auto_upgrade_policy below.
    AutoVulFix bool
    Specifies whether to automatically patch CVE vulnerabilities. Valid values: true, false.
    AutoVulFixPolicy Pulumi.AliCloud.CS.Inputs.NodePoolManagementAutoVulFixPolicy
    The auto CVE patching policy. See auto_vul_fix_policy below.
    Enable bool
    Specifies whether to enable the managed node pool feature. Valid values: true: enables the managed node pool feature. false: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.
    MaxUnavailable 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.

    Deprecated: Field 'surge' has been deprecated from provider version 1.219.0. Number of additional nodes. You have to specify one of surge, surge_percentage.

    SurgePercentage int
    Proportion of additional nodes. You have to specify one of surge, surge_percentage.

    Deprecated: Field 'surge_percentage' has been deprecated from provider version 1.219.0. Proportion of additional nodes. You have to specify one of surge, surge_percentage.

    AutoRepair bool
    Whether to enable automatic repair. Valid values: true: Automatic repair. false: not automatically repaired.
    AutoRepairPolicy NodePoolManagementAutoRepairPolicy
    Automatic repair node policy. See auto_repair_policy below.
    AutoUpgrade bool
    Specifies whether to enable auto update. Valid values: true: enables auto update. false: disables auto update.
    AutoUpgradePolicy NodePoolManagementAutoUpgradePolicy
    The auto update policy. See auto_upgrade_policy below.
    AutoVulFix bool
    Specifies whether to automatically patch CVE vulnerabilities. Valid values: true, false.
    AutoVulFixPolicy NodePoolManagementAutoVulFixPolicy
    The auto CVE patching policy. See auto_vul_fix_policy below.
    Enable bool
    Specifies whether to enable the managed node pool feature. Valid values: true: enables the managed node pool feature. false: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.
    MaxUnavailable 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.

    Deprecated: Field 'surge' has been deprecated from provider version 1.219.0. Number of additional nodes. You have to specify one of surge, surge_percentage.

    SurgePercentage int
    Proportion of additional nodes. You have to specify one of surge, surge_percentage.

    Deprecated: Field 'surge_percentage' has been deprecated from provider version 1.219.0. Proportion of additional nodes. You have to specify one of surge, surge_percentage.

    autoRepair Boolean
    Whether to enable automatic repair. Valid values: true: Automatic repair. false: not automatically repaired.
    autoRepairPolicy NodePoolManagementAutoRepairPolicy
    Automatic repair node policy. See auto_repair_policy below.
    autoUpgrade Boolean
    Specifies whether to enable auto update. Valid values: true: enables auto update. false: disables auto update.
    autoUpgradePolicy NodePoolManagementAutoUpgradePolicy
    The auto update policy. See auto_upgrade_policy below.
    autoVulFix Boolean
    Specifies whether to automatically patch CVE vulnerabilities. Valid values: true, false.
    autoVulFixPolicy NodePoolManagementAutoVulFixPolicy
    The auto CVE patching policy. See auto_vul_fix_policy below.
    enable Boolean
    Specifies whether to enable the managed node pool feature. Valid values: true: enables the managed node pool feature. false: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.
    maxUnavailable 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.

    Deprecated: Field 'surge' has been deprecated from provider version 1.219.0. Number of additional nodes. You have to specify one of surge, surge_percentage.

    surgePercentage Integer
    Proportion of additional nodes. You have to specify one of surge, surge_percentage.

    Deprecated: Field 'surge_percentage' has been deprecated from provider version 1.219.0. Proportion of additional nodes. You have to specify one of surge, surge_percentage.

    autoRepair boolean
    Whether to enable automatic repair. Valid values: true: Automatic repair. false: not automatically repaired.
    autoRepairPolicy NodePoolManagementAutoRepairPolicy
    Automatic repair node policy. See auto_repair_policy below.
    autoUpgrade boolean
    Specifies whether to enable auto update. Valid values: true: enables auto update. false: disables auto update.
    autoUpgradePolicy NodePoolManagementAutoUpgradePolicy
    The auto update policy. See auto_upgrade_policy below.
    autoVulFix boolean
    Specifies whether to automatically patch CVE vulnerabilities. Valid values: true, false.
    autoVulFixPolicy NodePoolManagementAutoVulFixPolicy
    The auto CVE patching policy. See auto_vul_fix_policy below.
    enable boolean
    Specifies whether to enable the managed node pool feature. Valid values: true: enables the managed node pool feature. false: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.
    maxUnavailable 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.

    Deprecated: Field 'surge' has been deprecated from provider version 1.219.0. Number of additional nodes. You have to specify one of surge, surge_percentage.

    surgePercentage number
    Proportion of additional nodes. You have to specify one of surge, surge_percentage.

    Deprecated: Field 'surge_percentage' has been deprecated from provider version 1.219.0. 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_policy NodePoolManagementAutoRepairPolicy
    Automatic repair node policy. See auto_repair_policy below.
    auto_upgrade bool
    Specifies whether to enable auto update. Valid values: true: enables auto update. false: disables auto update.
    auto_upgrade_policy NodePoolManagementAutoUpgradePolicy
    The auto update policy. See auto_upgrade_policy below.
    auto_vul_fix bool
    Specifies whether to automatically patch CVE vulnerabilities. Valid values: true, false.
    auto_vul_fix_policy NodePoolManagementAutoVulFixPolicy
    The auto CVE patching policy. See auto_vul_fix_policy below.
    enable bool
    Specifies whether to enable the managed node pool feature. Valid values: true: enables the managed node pool feature. false: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.
    max_unavailable 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.

    Deprecated: Field 'surge' has been deprecated from provider version 1.219.0. 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.

    Deprecated: Field 'surge_percentage' has been deprecated from provider version 1.219.0. Proportion of additional nodes. You have to specify one of surge, surge_percentage.

    autoRepair Boolean
    Whether to enable automatic repair. Valid values: true: Automatic repair. false: not automatically repaired.
    autoRepairPolicy Property Map
    Automatic repair node policy. See auto_repair_policy below.
    autoUpgrade Boolean
    Specifies whether to enable auto update. Valid values: true: enables auto update. false: disables auto update.
    autoUpgradePolicy Property Map
    The auto update policy. See auto_upgrade_policy below.
    autoVulFix Boolean
    Specifies whether to automatically patch CVE vulnerabilities. Valid values: true, false.
    autoVulFixPolicy Property Map
    The auto CVE patching policy. See auto_vul_fix_policy below.
    enable Boolean
    Specifies whether to enable the managed node pool feature. Valid values: true: enables the managed node pool feature. false: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.
    maxUnavailable 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.

    Deprecated: Field 'surge' has been deprecated from provider version 1.219.0. Number of additional nodes. You have to specify one of surge, surge_percentage.

    surgePercentage Number
    Proportion of additional nodes. You have to specify one of surge, surge_percentage.

    Deprecated: Field 'surge_percentage' has been deprecated from provider version 1.219.0. Proportion of additional nodes. You have to specify one of surge, surge_percentage.

    NodePoolManagementAutoRepairPolicy, NodePoolManagementAutoRepairPolicyArgs

    RestartNode bool
    Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: true, false.
    RestartNode bool
    Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: true, false.
    restartNode Boolean
    Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: true, false.
    restartNode 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.
    restartNode Boolean
    Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: true, false.

    NodePoolManagementAutoUpgradePolicy, NodePoolManagementAutoUpgradePolicyArgs

    AutoUpgradeKubelet bool
    Specifies whether to automatically update the kubelet. Valid values: true: yes; false: no.
    AutoUpgradeKubelet bool
    Specifies whether to automatically update the kubelet. Valid values: true: yes; false: no.
    autoUpgradeKubelet Boolean
    Specifies whether to automatically update the kubelet. Valid values: true: yes; false: no.
    autoUpgradeKubelet boolean
    Specifies whether to automatically update the kubelet. Valid values: true: yes; false: no.
    auto_upgrade_kubelet bool
    Specifies whether to automatically update the kubelet. Valid values: true: yes; false: no.
    autoUpgradeKubelet Boolean
    Specifies whether to automatically update the kubelet. Valid values: true: yes; false: no.

    NodePoolManagementAutoVulFixPolicy, NodePoolManagementAutoVulFixPolicyArgs

    RestartNode bool
    Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: true, false.
    VulLevel string
    The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
    RestartNode bool
    Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: true, false.
    VulLevel string
    The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
    restartNode Boolean
    Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: true, false.
    vulLevel String
    The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
    restartNode boolean
    Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: true, false.
    vulLevel 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 (,).
    restartNode Boolean
    Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: true, false.
    vulLevel String
    The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).

    NodePoolPrivatePoolOptions, NodePoolPrivatePoolOptionsArgs

    PrivatePoolOptionsId string
    The ID of the private node pool.
    PrivatePoolOptionsMatchCriteria string
    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.
    PrivatePoolOptionsId string
    The ID of the private node pool.
    PrivatePoolOptionsMatchCriteria string
    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.
    privatePoolOptionsId String
    The ID of the private node pool.
    privatePoolOptionsMatchCriteria String
    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.
    privatePoolOptionsId string
    The ID of the private node pool.
    privatePoolOptionsMatchCriteria string
    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_options_id str
    The ID of the private node pool.
    private_pool_options_match_criteria str
    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.
    privatePoolOptionsId String
    The ID of the private node pool.
    privatePoolOptionsMatchCriteria String
    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.

    NodePoolRollingPolicy, NodePoolRollingPolicyArgs

    MaxParallelism int
    The maximum number of unusable nodes.
    MaxParallelism int
    The maximum number of unusable nodes.
    maxParallelism Integer
    The maximum number of unusable nodes.
    maxParallelism number
    The maximum number of unusable nodes.
    max_parallelism int
    The maximum number of unusable nodes.
    maxParallelism Number
    The maximum number of unusable nodes.

    NodePoolScalingConfig, NodePoolScalingConfigArgs

    EipBandwidth int
    Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if is_bond_eip=true. Default to 5.
    EipInternetChargeType string
    EIP billing type. It works if is_bond_eip=true. PayByBandwidth: Charged at fixed bandwidth. PayByTraffic: Billed as used traffic. Default: PayByBandwidth. Conflict with internet_charge_type, EIP and public network IP can only choose one.
    Enable bool
    Whether to enable automatic scaling. Value:
    IsBondEip bool
    Whether to bind EIP for an instance. Default: false.
    MaxSize int
    Max number of instances in a auto scaling group, its valid value range [0~1000]. max_size has to be greater than min_size.
    MinSize 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 and spot. Default: cpu. The actual instance type is determined by instance_types.
    EipBandwidth int
    Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if is_bond_eip=true. Default to 5.
    EipInternetChargeType string
    EIP billing type. It works if is_bond_eip=true. PayByBandwidth: Charged at fixed bandwidth. PayByTraffic: Billed as used traffic. Default: PayByBandwidth. Conflict with internet_charge_type, EIP and public network IP can only choose one.
    Enable bool
    Whether to enable automatic scaling. Value:
    IsBondEip bool
    Whether to bind EIP for an instance. Default: false.
    MaxSize int
    Max number of instances in a auto scaling group, its valid value range [0~1000]. max_size has to be greater than min_size.
    MinSize 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 and spot. Default: cpu. The actual instance type is determined by instance_types.
    eipBandwidth Integer
    Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if is_bond_eip=true. Default to 5.
    eipInternetChargeType String
    EIP billing type. It works if is_bond_eip=true. PayByBandwidth: Charged at fixed bandwidth. PayByTraffic: Billed as used traffic. Default: PayByBandwidth. Conflict with internet_charge_type, EIP and public network IP can only choose one.
    enable Boolean
    Whether to enable automatic scaling. Value:
    isBondEip Boolean
    Whether to bind EIP for an instance. Default: false.
    maxSize Integer
    Max number of instances in a auto scaling group, its valid value range [0~1000]. max_size has to be greater than min_size.
    minSize 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 and spot. Default: cpu. The actual instance type is determined by instance_types.
    eipBandwidth number
    Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if is_bond_eip=true. Default to 5.
    eipInternetChargeType string
    EIP billing type. It works if is_bond_eip=true. PayByBandwidth: Charged at fixed bandwidth. PayByTraffic: Billed as used traffic. Default: PayByBandwidth. Conflict with internet_charge_type, EIP and public network IP can only choose one.
    enable boolean
    Whether to enable automatic scaling. Value:
    isBondEip boolean
    Whether to bind EIP for an instance. Default: false.
    maxSize number
    Max number of instances in a auto scaling group, its valid value range [0~1000]. max_size has to be greater than min_size.
    minSize 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 and spot. Default: cpu. The actual instance type is determined by instance_types.
    eip_bandwidth int
    Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if is_bond_eip=true. Default to 5.
    eip_internet_charge_type str
    EIP billing type. It works if is_bond_eip=true. PayByBandwidth: Charged at fixed bandwidth. PayByTraffic: Billed as used traffic. Default: PayByBandwidth. Conflict with internet_charge_type, EIP and public network IP can only choose one.
    enable bool
    Whether to enable automatic scaling. Value:
    is_bond_eip bool
    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 than min_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 and spot. Default: cpu. The actual instance type is determined by instance_types.
    eipBandwidth Number
    Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if is_bond_eip=true. Default to 5.
    eipInternetChargeType String
    EIP billing type. It works if is_bond_eip=true. PayByBandwidth: Charged at fixed bandwidth. PayByTraffic: Billed as used traffic. Default: PayByBandwidth. Conflict with internet_charge_type, EIP and public network IP can only choose one.
    enable Boolean
    Whether to enable automatic scaling. Value:
    isBondEip Boolean
    Whether to bind EIP for an instance. Default: false.
    maxSize Number
    Max number of instances in a auto scaling group, its valid value range [0~1000]. max_size has to be greater than min_size.
    minSize 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 and spot. Default: cpu. The actual instance type is determined by instance_types.

    NodePoolSpotPriceLimit, NodePoolSpotPriceLimitArgs

    InstanceType string
    The type of the preemptible instance.
    PriceLimit string
    The maximum price of a single instance.
    InstanceType string
    The type of the preemptible instance.
    PriceLimit string
    The maximum price of a single instance.
    instanceType String
    The type of the preemptible instance.
    priceLimit String
    The maximum price of a single instance.
    instanceType string
    The type of the preemptible instance.
    priceLimit 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.
    instanceType String
    The type of the preemptible instance.
    priceLimit String
    The maximum price of a single instance.

    NodePoolTaint, NodePoolTaintArgs

    Key string
    The key of a taint.
    Effect string
    The scheduling policy.
    Value string
    The value of a taint.
    Key string
    The key of a taint.
    Effect string
    The scheduling policy.
    Value string
    The value of a taint.
    key String
    The key of a taint.
    effect String
    The scheduling policy.
    value String
    The value of a taint.
    key string
    The key of a taint.
    effect string
    The scheduling policy.
    value string
    The value of a taint.
    key str
    The key of a taint.
    effect str
    The scheduling policy.
    value str
    The value of a taint.
    key String
    The key of a taint.
    effect String
    The scheduling policy.
    value String
    The value of a taint.

    NodePoolTeeConfig, NodePoolTeeConfigArgs

    TeeEnable bool
    Specifies whether to enable confidential computing for the cluster.
    TeeEnable bool
    Specifies whether to enable confidential computing for the cluster.
    teeEnable Boolean
    Specifies whether to enable confidential computing for the cluster.
    teeEnable boolean
    Specifies whether to enable confidential computing for the cluster.
    tee_enable bool
    Specifies whether to enable confidential computing for the cluster.
    teeEnable Boolean
    Specifies whether to enable confidential computing for the cluster.

    Import

    ACK Nodepool can be imported using the id, e.g.

    $ pulumi import alicloud:cs/nodePool:NodePool example <cluster_id>:<node_pool_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi