@alicloud/cs20151215 6.6.3 → 6.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +202 -124
- package/dist/client.js +202 -124
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +2 -2
- package/dist/models/AttachInstancesResponseBody.d.ts +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +1 -1
- package/dist/models/AttachInstancesToNodePoolResponseBody.d.ts +1 -1
- package/dist/models/ContainerdConfig.d.ts +22 -2
- package/dist/models/ContainerdConfig.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +63 -0
- package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +6 -0
- package/dist/models/CreateAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +77 -40
- package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -25
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +585 -353
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +5 -5
- package/dist/models/CreateTriggerResponseBody.d.ts +1 -1
- package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAutoRepairPolicyResponseBody.d.ts +3 -0
- package/dist/models/DeleteAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +2 -2
- package/dist/models/DeleteClusterNodesRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +26 -18
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterResponseBody.d.ts +2 -2
- package/dist/models/DeleteClusterShrinkRequest.d.ts +12 -9
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +7 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +71 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +21 -18
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +243 -110
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +8 -4
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +49 -39
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +496 -220
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +448 -262
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +5 -5
- package/dist/models/DescribeClusterResourcesRequest.d.ts +5 -1
- package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
- package/dist/models/DescribeClusterResourcesResponse.d.ts +51 -33
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +9 -9
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +2 -2
- package/dist/models/DescribeClustersForRegionRequest.d.ts +32 -16
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +85 -56
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +33 -17
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +98 -72
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +6 -2
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +22 -15
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +53 -20
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +53 -29
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +2 -2
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +8 -8
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +11 -0
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +235 -7
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +35 -31
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +2 -2
- package/dist/models/DescribeTemplatesResponseBody.d.ts +4 -4
- package/dist/models/DescribeTriggerResponse.d.ts +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +1 -1
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +0 -35
- package/dist/models/DescribeUserQuotaResponseBody.js.map +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +9 -0
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +28 -20
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/InstanceMetadataOptions.d.ts +17 -0
- package/dist/models/InstanceMetadataOptions.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +10 -0
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAddonsRequest.d.ts +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +75 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +2 -2
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +10 -0
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +39 -0
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +9 -0
- package/dist/models/ListOperationPlansForRegionRequest.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +52 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/MigrateClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +58 -0
- package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyResponseBody.d.ts +3 -0
- package/dist/models/ModifyAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +358 -228
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +186 -123
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +8 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigResponseBody.d.ts +2 -2
- package/dist/models/Nodepool.d.ts +274 -180
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/RemoveClusterNodesRequest.d.ts +0 -10
- package/dist/models/RemoveClusterNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +1 -1
- package/dist/models/RepairClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/RepairClusterNodePoolResponseBody.d.ts +2 -2
- package/dist/models/RunClusterCheckRequest.d.ts +2 -2
- package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/ScaleOutClusterRequest.d.ts +8 -131
- package/dist/models/ScaleOutClusterRequest.js.map +1 -1
- package/dist/models/ScaleOutClusterResponseBody.d.ts +0 -21
- package/dist/models/ScaleOutClusterResponseBody.js.map +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +1 -1
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +3 -3
- package/dist/models/UpgradeClusterAddonsResponseBody.d.ts +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +5 -5
- package/dist/models/UpgradeClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +3 -3
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +58 -54
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +202 -124
- package/src/models/AttachInstancesRequest.ts +2 -2
- package/src/models/AttachInstancesResponseBody.ts +1 -1
- package/src/models/AttachInstancesToNodePoolRequest.ts +1 -1
- package/src/models/AttachInstancesToNodePoolResponseBody.ts +1 -1
- package/src/models/ContainerdConfig.ts +22 -2
- package/src/models/CreateAutoRepairPolicyRequest.ts +63 -0
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +6 -0
- package/src/models/CreateAutoscalingConfigRequest.ts +77 -40
- package/src/models/CreateClusterNodePoolRequest.ts +125 -25
- package/src/models/CreateClusterRequest.ts +585 -353
- package/src/models/CreateClusterResponseBody.ts +5 -5
- package/src/models/CreateTriggerResponseBody.ts +1 -1
- package/src/models/DeleteAlertContactRequest.ts +1 -1
- package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
- package/src/models/DeleteAutoRepairPolicyResponseBody.ts +3 -0
- package/src/models/DeleteClusterNodepoolResponseBody.ts +2 -2
- package/src/models/DeleteClusterNodesRequest.ts +1 -1
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +26 -18
- package/src/models/DeleteClusterResponseBody.ts +2 -2
- package/src/models/DeleteClusterShrinkRequest.ts +12 -9
- package/src/models/DeployPolicyInstanceRequest.ts +7 -6
- package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
- package/src/models/DescribeAddonsRequest.ts +1 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +71 -0
- package/src/models/DescribeClusterAttachScriptsRequest.ts +21 -18
- package/src/models/DescribeClusterDetailResponseBody.ts +243 -110
- package/src/models/DescribeClusterEventsRequest.ts +8 -4
- package/src/models/DescribeClusterEventsResponseBody.ts +49 -39
- package/src/models/DescribeClusterLogsResponse.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +515 -220
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +467 -262
- package/src/models/DescribeClusterNodesRequest.ts +1 -1
- package/src/models/DescribeClusterNodesResponseBody.ts +5 -5
- package/src/models/DescribeClusterResourcesRequest.ts +5 -1
- package/src/models/DescribeClusterResourcesResponse.ts +51 -33
- package/src/models/DescribeClusterTasksResponseBody.ts +9 -9
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +1 -1
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribeClusterVulsResponseBody.ts +2 -2
- package/src/models/DescribeClustersForRegionRequest.ts +32 -16
- package/src/models/DescribeClustersForRegionResponseBody.ts +85 -56
- package/src/models/DescribeClustersV1request.ts +33 -17
- package/src/models/DescribeClustersV1responseBody.ts +98 -72
- package/src/models/DescribeEventsForRegionRequest.ts +6 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +22 -15
- package/src/models/DescribeEventsRequest.ts +53 -20
- package/src/models/DescribeEventsResponseBody.ts +53 -29
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +2 -2
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +8 -8
- package/src/models/DescribeNodePoolVulsResponseBody.ts +11 -0
- package/src/models/DescribePolicyDetailsResponseBody.ts +1 -1
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +235 -7
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +1 -1
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +1 -1
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +35 -31
- package/src/models/DescribeTemplateAttributeResponse.ts +2 -2
- package/src/models/DescribeTemplatesResponseBody.ts +4 -4
- package/src/models/DescribeTriggerResponse.ts +1 -1
- package/src/models/DescribeUserPermissionResponse.ts +1 -1
- package/src/models/DescribeUserQuotaResponseBody.ts +0 -35
- package/src/models/GetClusterAddonInstanceResponseBody.ts +1 -1
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +9 -0
- package/src/models/GrantPermissionsRequest.ts +28 -20
- package/src/models/InstallClusterAddonsRequest.ts +2 -2
- package/src/models/InstanceMetadataOptions.ts +17 -0
- package/src/models/KubeletConfig.ts +10 -0
- package/src/models/ListAddonsRequest.ts +1 -1
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +75 -0
- package/src/models/ListClusterChecksResponseBody.ts +2 -2
- package/src/models/ListClusterKubeconfigStatesRequest.ts +10 -0
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +39 -0
- package/src/models/ListOperationPlansForRegionRequest.ts +9 -0
- package/src/models/ListOperationPlansForRegionResponseBody.ts +52 -0
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +1 -1
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/MigrateClusterResponseBody.ts +3 -3
- package/src/models/ModifyAutoRepairPolicyRequest.ts +58 -0
- package/src/models/ModifyAutoRepairPolicyResponseBody.ts +3 -0
- package/src/models/ModifyClusterNodePoolRequest.ts +361 -229
- package/src/models/ModifyClusterNodePoolResponseBody.ts +1 -1
- package/src/models/ModifyClusterRequest.ts +186 -123
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +8 -0
- package/src/models/ModifyNodePoolNodeConfigResponseBody.ts +2 -2
- package/src/models/Nodepool.ts +276 -180
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/RemoveClusterNodesRequest.ts +0 -10
- package/src/models/RemoveNodePoolNodesResponseBody.ts +1 -1
- package/src/models/RepairClusterNodePoolRequest.ts +1 -1
- package/src/models/RepairClusterNodePoolResponseBody.ts +2 -2
- package/src/models/RunClusterCheckRequest.ts +2 -2
- package/src/models/RunClusterCheckResponseBody.ts +2 -2
- package/src/models/Runtime.ts +2 -2
- package/src/models/ScaleOutClusterRequest.ts +8 -131
- package/src/models/ScaleOutClusterResponseBody.ts +0 -21
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +1 -1
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +1 -1
- package/src/models/UpgradeClusterAddonsRequest.ts +3 -3
- package/src/models/UpgradeClusterAddonsResponseBody.ts +1 -1
- package/src/models/UpgradeClusterNodepoolRequest.ts +5 -5
- package/src/models/UpgradeClusterNodepoolResponseBody.ts +1 -1
- package/src/models/UpgradeClusterRequest.ts +3 -3
- package/src/models/model.ts +2 -0
|
@@ -7,41 +7,43 @@ import { Taint } from "./Taint";
|
|
|
7
7
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* This
|
|
10
|
+
* This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* The valid values are 1 to 100. The unit is Mbps.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
|
-
*
|
|
15
|
+
* null
|
|
16
16
|
*
|
|
17
17
|
* @deprecated
|
|
18
18
|
*/
|
|
19
19
|
eipBandwidth?: number;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
*
|
|
22
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
23
|
+
*
|
|
24
|
+
* The billing method for the EIP. Valid values:
|
|
23
25
|
*
|
|
24
|
-
*
|
|
26
|
+
* - `PayByBandwidth`: Pay by bandwidth.
|
|
25
27
|
*
|
|
26
|
-
*
|
|
27
|
-
* * `PayByTraffic`: pay-by-data-transfer.
|
|
28
|
+
* - `PayByTraffic`: Pay by traffic.
|
|
28
29
|
*
|
|
29
30
|
* Default value: `PayByBandwidth`.
|
|
30
31
|
*
|
|
31
32
|
* @example
|
|
32
|
-
*
|
|
33
|
+
* null
|
|
33
34
|
*
|
|
34
35
|
* @deprecated
|
|
35
36
|
*/
|
|
36
37
|
eipInternetChargeType?: string;
|
|
37
38
|
/**
|
|
38
39
|
* @remarks
|
|
39
|
-
*
|
|
40
|
+
* Enable auto scaling. Valid values:
|
|
41
|
+
*
|
|
42
|
+
* - `true`: Enable auto scaling. When cluster capacity is insufficient for pod scheduling, ACK automatically scales nodes based on the minimum and maximum instance counts you configure. For clusters running Kubernetes 1.24 or later, instant elasticity is enabled by default. For earlier versions, auto scaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
40
43
|
*
|
|
41
|
-
*
|
|
42
|
-
* * `false`: disables auto scaling. Container Service for Kubernetes (ACK) adjusts the number of nodes in the node pool based on the value of the Expected Nodes parameter. The number of nodes is always the same as the value of the Expected Nodes parameter.
|
|
44
|
+
* - `false`: Disable auto scaling. ACK adjusts the number of nodes in the node pool to match the desired node count you specify.
|
|
43
45
|
*
|
|
44
|
-
*
|
|
46
|
+
* When set to false, other parameters under `auto_scaling` are ignored.
|
|
45
47
|
*
|
|
46
48
|
* Default value: `false`.
|
|
47
49
|
*
|
|
@@ -51,24 +53,25 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
51
53
|
enable?: boolean;
|
|
52
54
|
/**
|
|
53
55
|
* @remarks
|
|
54
|
-
*
|
|
56
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
55
57
|
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
+
* - `true`: Bind an EIP.
|
|
59
|
+
*
|
|
60
|
+
* - `false`: Do not bind an EIP.
|
|
58
61
|
*
|
|
59
62
|
* Default value: `false`.
|
|
60
63
|
*
|
|
61
64
|
* @example
|
|
62
|
-
*
|
|
65
|
+
* null
|
|
63
66
|
*
|
|
64
67
|
* @deprecated
|
|
65
68
|
*/
|
|
66
69
|
isBondEip?: boolean;
|
|
67
70
|
/**
|
|
68
71
|
* @remarks
|
|
69
|
-
* The maximum number of
|
|
72
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
70
73
|
*
|
|
71
|
-
*
|
|
74
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
72
75
|
*
|
|
73
76
|
* @example
|
|
74
77
|
* 10
|
|
@@ -76,15 +79,13 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
76
79
|
maxInstances?: number;
|
|
77
80
|
/**
|
|
78
81
|
* @remarks
|
|
79
|
-
* The minimum number of
|
|
82
|
+
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
80
83
|
*
|
|
81
|
-
*
|
|
84
|
+
* Valid values: [0, max_instances]. Default value: 0.
|
|
82
85
|
*
|
|
86
|
+
* > - If the minimum instance count is not zero, the system creates the specified number of ECS instances after the scaling group becomes active.
|
|
83
87
|
* >
|
|
84
|
-
*
|
|
85
|
-
* * When the minimum number of instances is greater than 0 and a scaling group is set up, ECS instances are automatically created based on the minimum number.
|
|
86
|
-
*
|
|
87
|
-
* * We recommend that the value of max_instances is equal to or larger than the current number of nodes in the node pool. If the value of max_instances is less than the current number of nodes in the node pool, the node pool will be scaled in after you enable auto scaling for the node pool.
|
|
88
|
+
* > - To avoid unintended scale-in, set the maximum instance count to at least the current number of nodes in the node pool.
|
|
88
89
|
*
|
|
89
90
|
* @example
|
|
90
91
|
* 2
|
|
@@ -92,12 +93,15 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
92
93
|
minInstances?: number;
|
|
93
94
|
/**
|
|
94
95
|
* @remarks
|
|
95
|
-
* The
|
|
96
|
+
* The auto scaling type, defined by instance type. Valid values:
|
|
96
97
|
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
98
|
+
* - `cpu`: Standard instance.
|
|
99
|
+
*
|
|
100
|
+
* - `gpu`: GPU instance.
|
|
101
|
+
*
|
|
102
|
+
* - `gpushare`: GPU shared instance.
|
|
103
|
+
*
|
|
104
|
+
* - `spot`: Spot instance.
|
|
101
105
|
*
|
|
102
106
|
* Default value: `cpu`.
|
|
103
107
|
*
|
|
@@ -121,10 +125,11 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
121
125
|
export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
122
126
|
/**
|
|
123
127
|
* @remarks
|
|
124
|
-
*
|
|
128
|
+
* Install Cloud Monitor on ECS nodes. After installation, you can view monitoring information for the created ECS instances in the Cloud Monitor console. We recommend enabling this. Valid values:
|
|
129
|
+
*
|
|
130
|
+
* - `true`: Install Cloud Monitor on ECS nodes.
|
|
125
131
|
*
|
|
126
|
-
*
|
|
127
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
132
|
+
* - `false`: Do not install Cloud Monitor on ECS nodes.
|
|
128
133
|
*
|
|
129
134
|
* Default value: `false`.
|
|
130
135
|
*
|
|
@@ -134,10 +139,11 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
134
139
|
cmsEnabled?: boolean;
|
|
135
140
|
/**
|
|
136
141
|
* @remarks
|
|
137
|
-
* The CPU management policy
|
|
142
|
+
* The node CPU management policy. The following two policies are supported for clusters of version 1.12.6 and later:
|
|
138
143
|
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
144
|
+
* - `static`: Allows pods with certain resource characteristics on the node to have enhanced CPU affinity and exclusivity.
|
|
145
|
+
*
|
|
146
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
141
147
|
*
|
|
142
148
|
* Default value: `none`.
|
|
143
149
|
*
|
|
@@ -147,16 +153,28 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
147
153
|
cpuPolicy?: string;
|
|
148
154
|
/**
|
|
149
155
|
* @remarks
|
|
150
|
-
*
|
|
156
|
+
* Node labels. Add labels to Kubernetes cluster nodes. Label rules:
|
|
157
|
+
*
|
|
158
|
+
* - Labels are case-sensitive key-value pairs. You can set up to 20 labels.
|
|
151
159
|
*
|
|
152
|
-
*
|
|
153
|
-
* * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
160
|
+
* - Tag keys must be unique and up to 64 characters long. Tag values can be empty and up to 128 characters long. Neither tag keys nor tag values can start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
154
161
|
*/
|
|
155
162
|
labels?: Tag[];
|
|
163
|
+
/**
|
|
164
|
+
* @remarks
|
|
165
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
166
|
+
*
|
|
167
|
+
* The prefix and suffix can each consist of one or more parts separated by periods (.). Each part can contain lowercase letters, numbers, and hyphens (-). The node name must start and end with a lowercase letter or a number. The node IP is the complete private IP address of the node.
|
|
168
|
+
*
|
|
169
|
+
* The parameter is passed as four parts separated by commas. For example, if you pass the string "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name will be: aliyun.192.168.xxx.xxx.com.
|
|
170
|
+
*
|
|
171
|
+
* @example
|
|
172
|
+
* customized,aliyun,ip,com
|
|
173
|
+
*/
|
|
156
174
|
nodeNameMode?: string;
|
|
157
175
|
/**
|
|
158
176
|
* @remarks
|
|
159
|
-
*
|
|
177
|
+
* The instance pre-customization data. Before a node joins the cluster, it runs the specified pre-customization data script. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
|
|
160
178
|
*
|
|
161
179
|
* @example
|
|
162
180
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -164,37 +182,40 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
164
182
|
preUserData?: string;
|
|
165
183
|
/**
|
|
166
184
|
* @remarks
|
|
167
|
-
* The
|
|
185
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
186
|
+
*
|
|
187
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
168
188
|
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
189
|
+
* - Sandboxed-Container.runv: Sandboxed container. Provides higher isolation. Supports clusters of version 1.31 and earlier.
|
|
190
|
+
*
|
|
191
|
+
* - docker: No longer maintained. Supports clusters of version 1.22 and earlier.
|
|
172
192
|
*
|
|
173
193
|
* Default value: containerd.
|
|
174
194
|
*
|
|
175
195
|
* @example
|
|
176
|
-
*
|
|
196
|
+
* containerd
|
|
177
197
|
*/
|
|
178
198
|
runtime?: string;
|
|
179
199
|
/**
|
|
180
200
|
* @remarks
|
|
181
|
-
* The
|
|
201
|
+
* The container runtime version.
|
|
182
202
|
*
|
|
183
203
|
* @example
|
|
184
|
-
*
|
|
204
|
+
* 1.6.38
|
|
185
205
|
*/
|
|
186
206
|
runtimeVersion?: string;
|
|
187
207
|
/**
|
|
188
208
|
* @remarks
|
|
189
|
-
* The
|
|
209
|
+
* The node taint configuration.
|
|
190
210
|
*/
|
|
191
211
|
taints?: Taint[];
|
|
192
212
|
/**
|
|
193
213
|
* @remarks
|
|
194
|
-
*
|
|
214
|
+
* Whether scaled-out nodes are unschedulable.
|
|
215
|
+
*
|
|
216
|
+
* - true: Unschedulable.
|
|
195
217
|
*
|
|
196
|
-
*
|
|
197
|
-
* * false: The nodes are schedulable after a scale-out activity is performed.
|
|
218
|
+
* - false: Schedulable.
|
|
198
219
|
*
|
|
199
220
|
* @example
|
|
200
221
|
* false
|
|
@@ -202,7 +223,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
202
223
|
unschedulable?: boolean;
|
|
203
224
|
/**
|
|
204
225
|
* @remarks
|
|
205
|
-
* The user data
|
|
226
|
+
* The instance user data. After a node joins the cluster, it runs the specified user data script. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
|
|
206
227
|
*
|
|
207
228
|
* @example
|
|
208
229
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -220,18 +241,28 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
220
241
|
});
|
|
221
242
|
}
|
|
222
243
|
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
244
|
+
/**
|
|
245
|
+
* @remarks
|
|
246
|
+
* Require manual approval for node repair.
|
|
247
|
+
*/
|
|
223
248
|
approvalRequired?: boolean;
|
|
224
249
|
/**
|
|
250
|
+
* @remarks
|
|
251
|
+
* The automatic node repair policy ID.
|
|
252
|
+
*
|
|
225
253
|
* @example
|
|
226
254
|
* r-xxxxxxxxxx
|
|
227
255
|
*/
|
|
228
256
|
autoRepairPolicyId?: string;
|
|
229
257
|
/**
|
|
230
258
|
* @remarks
|
|
231
|
-
*
|
|
259
|
+
* Allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
260
|
+
*
|
|
261
|
+
* - `true`: Allow node restart.
|
|
232
262
|
*
|
|
233
|
-
*
|
|
234
|
-
*
|
|
263
|
+
* - `false`: Disallow node restart.
|
|
264
|
+
*
|
|
265
|
+
* Default value: `true`.
|
|
235
266
|
*
|
|
236
267
|
* @example
|
|
237
268
|
* true
|
|
@@ -251,10 +282,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
251
282
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
252
283
|
/**
|
|
253
284
|
* @remarks
|
|
254
|
-
*
|
|
285
|
+
* Enable automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
286
|
+
*
|
|
287
|
+
* - `true`: Enable automatic kubelet upgrades.
|
|
255
288
|
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
289
|
+
* - `false`: Disable automatic kubelet upgrades.
|
|
290
|
+
*
|
|
291
|
+
* Default value: `true`.
|
|
258
292
|
*
|
|
259
293
|
* @example
|
|
260
294
|
* true
|
|
@@ -262,10 +296,11 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
262
296
|
autoUpgradeKubelet?: boolean;
|
|
263
297
|
/**
|
|
264
298
|
* @remarks
|
|
265
|
-
*
|
|
299
|
+
* Enable automatic operating system upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
266
300
|
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
301
|
+
* - `true`: Enable automatic OS upgrades.
|
|
302
|
+
*
|
|
303
|
+
* - `false`: Disable automatic OS upgrades.
|
|
269
304
|
*
|
|
270
305
|
* Default value: `false`.
|
|
271
306
|
*
|
|
@@ -275,12 +310,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
275
310
|
autoUpgradeOs?: boolean;
|
|
276
311
|
/**
|
|
277
312
|
* @remarks
|
|
278
|
-
*
|
|
313
|
+
* Enable automatic runtime upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
279
314
|
*
|
|
280
|
-
*
|
|
281
|
-
* * `false`: no.
|
|
315
|
+
* - `true`: Enable automatic runtime upgrades.
|
|
282
316
|
*
|
|
283
|
-
*
|
|
317
|
+
* - `false`: Disable automatic runtime upgrades.
|
|
318
|
+
*
|
|
319
|
+
* Default value: `true`.
|
|
284
320
|
*
|
|
285
321
|
* @example
|
|
286
322
|
* false
|
|
@@ -298,13 +334,25 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
298
334
|
});
|
|
299
335
|
}
|
|
300
336
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
337
|
+
/**
|
|
338
|
+
* @remarks
|
|
339
|
+
* Packages to exclude during vulnerability fixes.
|
|
340
|
+
*
|
|
341
|
+
* Default value: `kernel`.
|
|
342
|
+
*
|
|
343
|
+
* @example
|
|
344
|
+
* kernel
|
|
345
|
+
*/
|
|
301
346
|
excludePackages?: string;
|
|
302
347
|
/**
|
|
303
348
|
* @remarks
|
|
304
|
-
*
|
|
349
|
+
* Allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
350
|
+
*
|
|
351
|
+
* - `true`: Allow node restart.
|
|
305
352
|
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
353
|
+
* - `false`: Disallow node restart.
|
|
354
|
+
*
|
|
355
|
+
* Default value: `true`.
|
|
308
356
|
*
|
|
309
357
|
* @example
|
|
310
358
|
* true
|
|
@@ -312,13 +360,15 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
312
360
|
restartNode?: boolean;
|
|
313
361
|
/**
|
|
314
362
|
* @remarks
|
|
315
|
-
* The severity levels of
|
|
363
|
+
* The severity levels of vulnerabilities that can be fixed automatically, separated by commas. Example: `asap,later`. Supported levels:
|
|
364
|
+
*
|
|
365
|
+
* - `asap`: High
|
|
366
|
+
*
|
|
367
|
+
* - `later`: Medium
|
|
316
368
|
*
|
|
317
|
-
*
|
|
318
|
-
* * `later`: medium.
|
|
319
|
-
* * `nntf`: low.
|
|
369
|
+
* - `nntf`: Low
|
|
320
370
|
*
|
|
321
|
-
*
|
|
371
|
+
* Default value: `asap`.
|
|
322
372
|
*
|
|
323
373
|
* @example
|
|
324
374
|
* asap,nntf
|
|
@@ -338,12 +388,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
338
388
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
339
389
|
/**
|
|
340
390
|
* @remarks
|
|
341
|
-
*
|
|
391
|
+
* [Deprecated] Use the top-level `auto_upgrade` parameter instead.
|
|
342
392
|
*
|
|
343
|
-
*
|
|
393
|
+
* Enable automatic upgrades. Valid values:
|
|
344
394
|
*
|
|
345
|
-
*
|
|
346
|
-
*
|
|
395
|
+
* - true: Enable.
|
|
396
|
+
*
|
|
397
|
+
* - false: Disable.
|
|
347
398
|
*
|
|
348
399
|
* Default value: `true`.
|
|
349
400
|
*
|
|
@@ -355,9 +406,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
355
406
|
autoUpgrade?: boolean;
|
|
356
407
|
/**
|
|
357
408
|
* @remarks
|
|
358
|
-
* The maximum number of nodes
|
|
409
|
+
* The maximum number of unavailable nodes.
|
|
359
410
|
*
|
|
360
|
-
* Valid values: 1
|
|
411
|
+
* Valid values: [1, 1000].
|
|
361
412
|
*
|
|
362
413
|
* Default value: 1.
|
|
363
414
|
*
|
|
@@ -367,11 +418,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
367
418
|
maxUnavailable?: number;
|
|
368
419
|
/**
|
|
369
420
|
* @remarks
|
|
370
|
-
* The number of additional nodes
|
|
421
|
+
* The number of additional nodes. Choose either surge or `surge_percentage`.
|
|
371
422
|
*
|
|
372
|
-
*
|
|
423
|
+
* Nodes become unavailable during upgrades. Create extra nodes to maintain cluster load.
|
|
373
424
|
*
|
|
374
|
-
* >
|
|
425
|
+
* > Do not create more extra nodes than the current number of nodes.
|
|
375
426
|
*
|
|
376
427
|
* @example
|
|
377
428
|
* 5
|
|
@@ -379,7 +430,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
379
430
|
surge?: number;
|
|
380
431
|
/**
|
|
381
432
|
* @remarks
|
|
382
|
-
* The percentage of additional nodes
|
|
433
|
+
* The percentage of additional nodes. Choose either surge or surge_percentage. The number of additional nodes equals `surge_percentage` × the number of nodes. For example, if `surge_percentage` is 50% and there are 6 nodes, then 3 additional nodes are created.
|
|
383
434
|
*
|
|
384
435
|
* The number of additional nodes = The percentage of additional nodes × The number of nodes in the node pool. For example, if the percentage of additional nodes is 50% and the number of nodes in the node pool is 6, the number of additional nodes is 3.
|
|
385
436
|
*
|
|
@@ -399,12 +450,14 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
399
450
|
});
|
|
400
451
|
}
|
|
401
452
|
export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
453
|
+
autoFaultDiagnosis?: boolean;
|
|
402
454
|
/**
|
|
403
455
|
* @remarks
|
|
404
|
-
*
|
|
456
|
+
* Enable automatic node repair. This parameter takes effect only when `enable=true`.
|
|
457
|
+
*
|
|
458
|
+
* - `true`: Enable automatic repair.
|
|
405
459
|
*
|
|
406
|
-
*
|
|
407
|
-
* * `false`: disables auto repair.
|
|
460
|
+
* - `false`: Disable automatic repair.
|
|
408
461
|
*
|
|
409
462
|
* Default value: `true`.
|
|
410
463
|
*
|
|
@@ -414,15 +467,18 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
414
467
|
autoRepair?: boolean;
|
|
415
468
|
/**
|
|
416
469
|
* @remarks
|
|
417
|
-
* The
|
|
470
|
+
* The automatic node repair policy.
|
|
418
471
|
*/
|
|
419
472
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
420
473
|
/**
|
|
421
474
|
* @remarks
|
|
422
|
-
*
|
|
475
|
+
* Enable automatic node upgrades. This parameter takes effect only when `enable=true`. Valid values:
|
|
423
476
|
*
|
|
424
|
-
*
|
|
425
|
-
*
|
|
477
|
+
* - `true`: Enable automatic upgrades.
|
|
478
|
+
*
|
|
479
|
+
* - `false`: Disable automatic upgrades.
|
|
480
|
+
*
|
|
481
|
+
* Default value: `true`.
|
|
426
482
|
*
|
|
427
483
|
* @example
|
|
428
484
|
* true
|
|
@@ -430,15 +486,18 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
430
486
|
autoUpgrade?: boolean;
|
|
431
487
|
/**
|
|
432
488
|
* @remarks
|
|
433
|
-
* The
|
|
489
|
+
* The automatic upgrade policy.
|
|
434
490
|
*/
|
|
435
491
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
436
492
|
/**
|
|
437
493
|
* @remarks
|
|
438
|
-
*
|
|
494
|
+
* Enable automatic CVE vulnerability fixes. This parameter takes effect only when `enable=true`. Valid values:
|
|
495
|
+
*
|
|
496
|
+
* - `true`: Enable automatic CVE fixes.
|
|
439
497
|
*
|
|
440
|
-
*
|
|
441
|
-
*
|
|
498
|
+
* - `false`: Disable automatic CVE fixes.
|
|
499
|
+
*
|
|
500
|
+
* Default value: `true`.
|
|
442
501
|
*
|
|
443
502
|
* @example
|
|
444
503
|
* true
|
|
@@ -446,15 +505,16 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
446
505
|
autoVulFix?: boolean;
|
|
447
506
|
/**
|
|
448
507
|
* @remarks
|
|
449
|
-
* The
|
|
508
|
+
* The automatic CVE fix policy.
|
|
450
509
|
*/
|
|
451
510
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
452
511
|
/**
|
|
453
512
|
* @remarks
|
|
454
|
-
*
|
|
513
|
+
* Enable the managed node pool. Valid values:
|
|
455
514
|
*
|
|
456
|
-
*
|
|
457
|
-
*
|
|
515
|
+
* - `true`: Enable the managed node pool.
|
|
516
|
+
*
|
|
517
|
+
* - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
458
518
|
*
|
|
459
519
|
* Default value: `false`.
|
|
460
520
|
*
|
|
@@ -464,9 +524,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
464
524
|
enable?: boolean;
|
|
465
525
|
/**
|
|
466
526
|
* @remarks
|
|
467
|
-
*
|
|
527
|
+
* [Deprecated] Use the top-level `auto_upgrade` parameter instead.
|
|
468
528
|
*
|
|
469
|
-
* The
|
|
529
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
470
530
|
*
|
|
471
531
|
* @deprecated
|
|
472
532
|
*/
|
|
@@ -485,9 +545,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
485
545
|
export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
486
546
|
/**
|
|
487
547
|
* @remarks
|
|
488
|
-
* The
|
|
548
|
+
* The node pool name.
|
|
489
549
|
*
|
|
490
|
-
* The name must be 1 to 63 characters
|
|
550
|
+
* Name rules: Use only numbers, letters, or hyphens (-). The name must be 1 to 63 characters long and cannot start with a hyphen (-).
|
|
491
551
|
*
|
|
492
552
|
* @example
|
|
493
553
|
* default-nodepool
|
|
@@ -495,9 +555,9 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
495
555
|
name?: string;
|
|
496
556
|
/**
|
|
497
557
|
* @remarks
|
|
498
|
-
* The
|
|
558
|
+
* The resource group ID for the node pool. Nodes created from this node pool belong to this resource group.
|
|
499
559
|
*
|
|
500
|
-
*
|
|
560
|
+
* A resource can belong to only one resource group. Map resource groups to projects, applications, or organizations based on your business needs.
|
|
501
561
|
*
|
|
502
562
|
* @example
|
|
503
563
|
* rg-acfmyvw3wjm****
|
|
@@ -517,7 +577,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
517
577
|
export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
518
578
|
/**
|
|
519
579
|
* @remarks
|
|
520
|
-
* The private node pool ID. This
|
|
580
|
+
* The private node pool ID. This is required when `match_criteria` is set to `Target`.
|
|
521
581
|
*
|
|
522
582
|
* @example
|
|
523
583
|
* eap-bp67acfmxazb4****
|
|
@@ -525,11 +585,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
525
585
|
id?: string;
|
|
526
586
|
/**
|
|
527
587
|
* @remarks
|
|
528
|
-
* The
|
|
588
|
+
* The private node pool type, which determines the capacity option for instance startup. Elastic assurance services or capacity reservation services generate private pool capacity for instance startup. Valid values:
|
|
589
|
+
*
|
|
590
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no suitable private pool is found, public pool resources are used.
|
|
591
|
+
*
|
|
592
|
+
* - `Target`: Specified mode. Starts instances using the specified private pool capacity. If the capacity is unavailable, the instance startup fails.
|
|
529
593
|
*
|
|
530
|
-
*
|
|
531
|
-
* * `Target`: uses a specified private pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
|
|
532
|
-
* * `None`: no private pool is used. The resources of private pools are not used to launch the instances.
|
|
594
|
+
* - `None`: No mode. The instance startup does not use private pool capacity.
|
|
533
595
|
*
|
|
534
596
|
* @example
|
|
535
597
|
* Open
|
|
@@ -547,8 +609,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
547
609
|
});
|
|
548
610
|
}
|
|
549
611
|
export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
612
|
+
/**
|
|
613
|
+
* @remarks
|
|
614
|
+
* The list of private pool IDs, which are the IDs of elastic assurance or capacity reservation services. You can only pass Target mode private pool IDs. The value of N can range from 1 to 20.
|
|
615
|
+
*/
|
|
550
616
|
privatePoolIds?: string[];
|
|
551
617
|
/**
|
|
618
|
+
* @remarks
|
|
619
|
+
* The resource pool policy for instance creation. Resource pools include private pools generated by elastic assurance or capacity reservation services, and public pools. Valid values: PrivatePoolFirst: Prioritizes private pools. If resouce_pool_options.private_pool_ids is specified, it uses the specified private pools first. If no private pool is specified or the specified capacity is insufficient, it automatically matches open-type private pools. If no suitable private pool is found, it uses the public pool. PrivatePoolOnly: Uses only private pools. You must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance startup fails. None: Does not use a resource pool policy. Default value: None.
|
|
620
|
+
*
|
|
552
621
|
* @example
|
|
553
622
|
* PrivatePoolFirst
|
|
554
623
|
*/
|
|
@@ -567,7 +636,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
567
636
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
568
637
|
/**
|
|
569
638
|
* @remarks
|
|
570
|
-
* The instance type
|
|
639
|
+
* The spot instance type.
|
|
571
640
|
*
|
|
572
641
|
* @example
|
|
573
642
|
* ecs.c6.large
|
|
@@ -575,7 +644,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
575
644
|
instanceType?: string;
|
|
576
645
|
/**
|
|
577
646
|
* @remarks
|
|
578
|
-
* The
|
|
647
|
+
* The maximum hourly price for the instance.
|
|
648
|
+
*
|
|
649
|
+
* <props="china">
|
|
650
|
+
*
|
|
651
|
+
* Unit: CNY/hour.
|
|
652
|
+
*
|
|
653
|
+
*
|
|
654
|
+
*
|
|
655
|
+
* <props="intl">
|
|
579
656
|
*
|
|
580
657
|
* Unit: USD/hour.
|
|
581
658
|
*
|
|
@@ -597,10 +674,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
597
674
|
export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
598
675
|
/**
|
|
599
676
|
* @remarks
|
|
600
|
-
*
|
|
677
|
+
* Enable automatic renewal for nodes. This parameter takes effect only when `instance_charge_type` is `PrePaid`. Valid values:
|
|
601
678
|
*
|
|
602
|
-
*
|
|
603
|
-
*
|
|
679
|
+
* - `true`: Enable automatic renewal.
|
|
680
|
+
*
|
|
681
|
+
* - `false`: Disable automatic renewal.
|
|
604
682
|
*
|
|
605
683
|
* Default value: `false`.
|
|
606
684
|
*
|
|
@@ -610,10 +688,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
610
688
|
autoRenew?: boolean;
|
|
611
689
|
/**
|
|
612
690
|
* @remarks
|
|
613
|
-
* The
|
|
691
|
+
* The duration of each automatic renewal. Valid values:
|
|
692
|
+
*
|
|
693
|
+
* - When PeriodUnit=Week: 1, 2, 3.
|
|
614
694
|
*
|
|
615
|
-
*
|
|
616
|
-
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
695
|
+
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
617
696
|
*
|
|
618
697
|
* Default value: 1.
|
|
619
698
|
*
|
|
@@ -623,10 +702,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
623
702
|
autoRenewPeriod?: number;
|
|
624
703
|
/**
|
|
625
704
|
* @remarks
|
|
626
|
-
*
|
|
705
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, this parameter specifies whether to automatically create on-demand instances to meet the required number of ECS instances if enough spot instances cannot be created due to price or inventory issues. Valid values:
|
|
627
706
|
*
|
|
628
|
-
*
|
|
629
|
-
*
|
|
707
|
+
* - `true`: Allow automatic creation of on-demand instances.
|
|
708
|
+
*
|
|
709
|
+
* - `false`: Disallow automatic creation of on-demand instances.
|
|
630
710
|
*
|
|
631
711
|
* @example
|
|
632
712
|
* true
|
|
@@ -634,60 +714,77 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
634
714
|
compensateWithOnDemand?: boolean;
|
|
635
715
|
/**
|
|
636
716
|
* @remarks
|
|
637
|
-
* The
|
|
717
|
+
* The data disk configuration for nodes. Valid values: [0, 10]. You can attach up to 10 data disks.
|
|
638
718
|
*/
|
|
639
719
|
dataDisks?: DataDisk[];
|
|
640
720
|
/**
|
|
721
|
+
* @remarks
|
|
722
|
+
* The deployment set to which the ECS instances created in the node pool belong. This setting applies only to new nodes. The deployment set of existing nodes is not changed.
|
|
723
|
+
*
|
|
641
724
|
* @example
|
|
642
725
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
643
726
|
*/
|
|
644
727
|
deploymentsetId?: string;
|
|
645
728
|
/**
|
|
646
729
|
* @remarks
|
|
647
|
-
* The
|
|
730
|
+
* The desired number of nodes in the node pool.
|
|
648
731
|
*
|
|
649
|
-
*
|
|
732
|
+
* This is the total number of nodes the node pool should maintain. Configure at least 2 nodes to ensure cluster components run properly. Adjust this number to scale the node pool in or out.
|
|
650
733
|
*
|
|
651
|
-
* If you do not
|
|
734
|
+
* If you do not need to create nodes, set this to 0 and adjust it manually later.
|
|
652
735
|
*
|
|
653
736
|
* @example
|
|
654
737
|
* 2
|
|
655
738
|
*/
|
|
656
739
|
desiredSize?: number;
|
|
740
|
+
/**
|
|
741
|
+
* @remarks
|
|
742
|
+
* The block device initialization configuration.
|
|
743
|
+
*/
|
|
657
744
|
diskInit?: DiskInit[];
|
|
658
745
|
/**
|
|
659
746
|
* @remarks
|
|
660
|
-
* The custom image ID.
|
|
747
|
+
* The custom image ID. Query supported images using `DescribeKubernetesVersionMetadata`. By default, the latest system image is used.
|
|
661
748
|
*
|
|
662
749
|
* @example
|
|
663
|
-
*
|
|
750
|
+
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
664
751
|
*/
|
|
665
752
|
imageId?: string;
|
|
666
753
|
/**
|
|
667
754
|
* @remarks
|
|
668
|
-
* The
|
|
755
|
+
* The operating system distribution type. We recommend using this field to specify the node OS. Valid values:
|
|
756
|
+
*
|
|
757
|
+
* - `AliyunLinux`: Alibaba Cloud Linux 2 image.
|
|
758
|
+
*
|
|
759
|
+
* - `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 UEFI image.
|
|
760
|
+
*
|
|
761
|
+
* - `AliyunLinux3`: Alibaba Cloud Linux 3 image.
|
|
762
|
+
*
|
|
763
|
+
* - `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 ARM image.
|
|
764
|
+
*
|
|
765
|
+
* - `AliyunLinux3Security`: Alibaba Cloud Linux 3 UEFI image.
|
|
766
|
+
*
|
|
767
|
+
* - `CentOS`: CentOS image.
|
|
669
768
|
*
|
|
670
|
-
*
|
|
671
|
-
*
|
|
672
|
-
*
|
|
673
|
-
*
|
|
674
|
-
*
|
|
675
|
-
*
|
|
676
|
-
*
|
|
677
|
-
* * `WindowsCore`: Windows Core.
|
|
678
|
-
* * `ContainerOS`: ContainerOS.
|
|
679
|
-
* * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
|
|
769
|
+
* - `Windows`: Windows image.
|
|
770
|
+
*
|
|
771
|
+
* - `WindowsCore`: Windows Core image.
|
|
772
|
+
*
|
|
773
|
+
* - `ContainerOS`: Container-optimized image.
|
|
774
|
+
*
|
|
775
|
+
* - `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 container-optimized image.
|
|
680
776
|
*
|
|
681
777
|
* @example
|
|
682
|
-
*
|
|
778
|
+
* AliyunLinux3
|
|
683
779
|
*/
|
|
684
780
|
imageType?: string;
|
|
685
781
|
/**
|
|
686
782
|
* @remarks
|
|
687
|
-
* The billing method
|
|
783
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
688
784
|
*
|
|
689
|
-
*
|
|
690
|
-
*
|
|
785
|
+
* - `PrePaid`: Subscription.
|
|
786
|
+
*
|
|
787
|
+
* - `PostPaid`: Pay-as-you-go.
|
|
691
788
|
*
|
|
692
789
|
* Default value: `PostPaid`.
|
|
693
790
|
*
|
|
@@ -697,22 +794,23 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
697
794
|
instanceChargeType?: string;
|
|
698
795
|
/**
|
|
699
796
|
* @remarks
|
|
700
|
-
*
|
|
797
|
+
* The instance attribute configuration.
|
|
701
798
|
*/
|
|
702
799
|
instancePatterns?: InstancePatterns[];
|
|
703
800
|
/**
|
|
704
801
|
* @remarks
|
|
705
|
-
* The instance types. You can specify multiple instance types.
|
|
802
|
+
* The list of instance types for the nodes. You can specify multiple instance types as fallback options. When creating a node, the system tries each instance type in order until it succeeds. The final instance type may vary depending on inventory.
|
|
706
803
|
*
|
|
707
|
-
*
|
|
804
|
+
* Valid values: [1, 10].
|
|
708
805
|
*/
|
|
709
806
|
instanceTypes?: string[];
|
|
710
807
|
/**
|
|
711
808
|
* @remarks
|
|
712
|
-
* The
|
|
809
|
+
* The billing method for public IP addresses. Valid values:
|
|
810
|
+
*
|
|
811
|
+
* - `PayByBandwidth`: Pay by bandwidth.
|
|
713
812
|
*
|
|
714
|
-
*
|
|
715
|
-
* * `PayByTraffic`: pay-by-data-transfer.
|
|
813
|
+
* - `PayByTraffic`: Pay by traffic.
|
|
716
814
|
*
|
|
717
815
|
* @example
|
|
718
816
|
* PayByBandwidth
|
|
@@ -720,7 +818,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
720
818
|
internetChargeType?: string;
|
|
721
819
|
/**
|
|
722
820
|
* @remarks
|
|
723
|
-
* The maximum outbound bandwidth
|
|
821
|
+
* The maximum outbound bandwidth for the public IP address of a node, measured in megabits per second (Mbps). The value must be an integer from 1 to 100.
|
|
724
822
|
*
|
|
725
823
|
* @example
|
|
726
824
|
* 5
|
|
@@ -728,7 +826,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
728
826
|
internetMaxBandwidthOut?: number;
|
|
729
827
|
/**
|
|
730
828
|
* @remarks
|
|
731
|
-
* The
|
|
829
|
+
* The key pair name. Specify either key_pair or `login_password`. For managed node pools, only `key_pair` is supported.
|
|
732
830
|
*
|
|
733
831
|
* @example
|
|
734
832
|
* pro-nodepool
|
|
@@ -736,7 +834,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
736
834
|
keyPair?: string;
|
|
737
835
|
/**
|
|
738
836
|
* @remarks
|
|
739
|
-
* The
|
|
837
|
+
* The SSH login password. Specify either login_password or `key_pair`. Password rules: 8 to 30 characters, including at least three of the following: uppercase letters, lowercase letters, digits, and special characters.
|
|
740
838
|
*
|
|
741
839
|
* @example
|
|
742
840
|
* Hello1234
|
|
@@ -744,17 +842,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
744
842
|
loginPassword?: string;
|
|
745
843
|
/**
|
|
746
844
|
* @remarks
|
|
747
|
-
* The
|
|
748
|
-
*
|
|
749
|
-
* * `PRIORITY`: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, the system creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
|
|
845
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
750
846
|
*
|
|
751
|
-
*
|
|
847
|
+
* - `PRIORITY`: Scales instances based on the virtual switches (VSwitchIds.N) you define. If an ECS instance cannot be created in the zone of a higher-priority virtual switch, the system automatically uses the next-priority virtual switch.
|
|
752
848
|
*
|
|
753
|
-
*
|
|
849
|
+
* - `COST_OPTIMIZED`: Tries to create instances starting with the lowest vCPU unit price. If multiple instance types are configured with a spot instance billing method, it prioritizes creating spot instances. Use the `CompensateWithOnDemand` parameter to specify whether to automatically create on-demand instances if spot instances cannot be created due to inventory or other reasons.
|
|
754
850
|
*
|
|
755
|
-
*
|
|
851
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types or spot instances are configured.
|
|
756
852
|
*
|
|
757
|
-
*
|
|
853
|
+
* - `BALANCE`: Evenly distributes ECS instances across the specified zones in the scaling group. If the distribution becomes unbalanced due to inventory shortages or other reasons, you can use the API `RebalanceInstances` to rebalance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
758
854
|
*
|
|
759
855
|
* Default value: `PRIORITY`.
|
|
760
856
|
*
|
|
@@ -764,7 +860,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
764
860
|
multiAzPolicy?: string;
|
|
765
861
|
/**
|
|
766
862
|
* @remarks
|
|
767
|
-
* The minimum number of
|
|
863
|
+
* The minimum number of on-demand instances required in the scaling group. Valid values: [0, 1000]. When the number of on-demand instances is below this value, the system prioritizes creating on-demand instances.
|
|
768
864
|
*
|
|
769
865
|
* @example
|
|
770
866
|
* 0
|
|
@@ -772,7 +868,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
772
868
|
onDemandBaseCapacity?: number;
|
|
773
869
|
/**
|
|
774
870
|
* @remarks
|
|
775
|
-
* The percentage of
|
|
871
|
+
* The percentage of on-demand instances among the instances that exceed the minimum on-demand instance count (`on_demand_base_capacity`). Valid values: [0, 100].
|
|
776
872
|
*
|
|
777
873
|
* @example
|
|
778
874
|
* 20
|
|
@@ -780,10 +876,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
780
876
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
781
877
|
/**
|
|
782
878
|
* @remarks
|
|
783
|
-
* The subscription duration
|
|
879
|
+
* The subscription duration for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is `PrePaid`, and is required in that case.
|
|
784
880
|
*
|
|
785
|
-
*
|
|
786
|
-
*
|
|
881
|
+
* - When `period_unit=Week`, valid values: {1, 2, 3, 4}.
|
|
882
|
+
*
|
|
883
|
+
* - When `period_unit=Month`, valid values: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
787
884
|
*
|
|
788
885
|
* @example
|
|
789
886
|
* 1
|
|
@@ -791,10 +888,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
791
888
|
period?: number;
|
|
792
889
|
/**
|
|
793
890
|
* @remarks
|
|
794
|
-
* The billing cycle
|
|
891
|
+
* The billing cycle for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is `PrePaid`, and is required in that case.
|
|
892
|
+
*
|
|
893
|
+
* - `Month`: Billed monthly.
|
|
795
894
|
*
|
|
796
|
-
*
|
|
797
|
-
* * `Week`: The subscription duration is measured in weeks.
|
|
895
|
+
* - `Week`: Billed weekly.
|
|
798
896
|
*
|
|
799
897
|
* Default value: `Month`.
|
|
800
898
|
*
|
|
@@ -804,14 +902,17 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
804
902
|
periodUnit?: string;
|
|
805
903
|
/**
|
|
806
904
|
* @remarks
|
|
807
|
-
*
|
|
905
|
+
* [Deprecated] Use the `image_type` parameter instead.
|
|
906
|
+
*
|
|
907
|
+
* The operating system platform. Valid values:
|
|
908
|
+
*
|
|
909
|
+
* - `AliyunLinux`
|
|
808
910
|
*
|
|
809
|
-
*
|
|
911
|
+
* - `CentOS`
|
|
810
912
|
*
|
|
811
|
-
*
|
|
812
|
-
*
|
|
813
|
-
*
|
|
814
|
-
* * `WindowsCore`
|
|
913
|
+
* - `Windows`
|
|
914
|
+
*
|
|
915
|
+
* - `WindowsCore`
|
|
815
916
|
*
|
|
816
917
|
* @example
|
|
817
918
|
* AliyunLinux
|
|
@@ -821,30 +922,39 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
821
922
|
platform?: string;
|
|
822
923
|
/**
|
|
823
924
|
* @remarks
|
|
824
|
-
* The
|
|
925
|
+
* The private node pool configuration.
|
|
825
926
|
*/
|
|
826
927
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
827
928
|
/**
|
|
828
929
|
* @remarks
|
|
829
|
-
* The
|
|
930
|
+
* The list of RDS instances.
|
|
830
931
|
*/
|
|
831
932
|
rdsInstances?: string[];
|
|
933
|
+
/**
|
|
934
|
+
* @remarks
|
|
935
|
+
* The resource pool and policy to use when creating instances. Note: This parameter is effective only when creating pay-as-you-go instances. It cannot be set at the same time as private_pool_options.match_criteria or private_pool_options.id.
|
|
936
|
+
*/
|
|
832
937
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
833
938
|
/**
|
|
834
939
|
* @remarks
|
|
835
|
-
* The scaling mode
|
|
940
|
+
* The scaling group mode. Valid values:
|
|
836
941
|
*
|
|
837
|
-
*
|
|
838
|
-
*
|
|
942
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
943
|
+
*
|
|
944
|
+
* - `recycle`: Fast mode. Scales by creating, stopping, and starting instances to improve scaling speed. You are not charged for compute resources when instances are stopped, only for storage fees (except for local disk models).
|
|
839
945
|
*
|
|
840
946
|
* @example
|
|
841
947
|
* release
|
|
842
948
|
*/
|
|
843
949
|
scalingPolicy?: string;
|
|
950
|
+
/**
|
|
951
|
+
* @remarks
|
|
952
|
+
* The list of security group IDs.
|
|
953
|
+
*/
|
|
844
954
|
securityGroupIds?: string[];
|
|
845
955
|
/**
|
|
846
956
|
* @remarks
|
|
847
|
-
* The number of instance types
|
|
957
|
+
* The number of available instance types. The scaling group creates spot instances in a balanced manner across the specified number of lowest-cost instance types. Valid values: [1, 10].
|
|
848
958
|
*
|
|
849
959
|
* @example
|
|
850
960
|
* 5
|
|
@@ -852,10 +962,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
852
962
|
spotInstancePools?: number;
|
|
853
963
|
/**
|
|
854
964
|
* @remarks
|
|
855
|
-
*
|
|
965
|
+
* Enable spot instance replenishment. When enabled, the scaling group attempts to create a new instance to replace a spot instance that is about to be reclaimed. Valid values:
|
|
856
966
|
*
|
|
857
|
-
*
|
|
858
|
-
*
|
|
967
|
+
* - `true`: Enable spot instance replenishment.
|
|
968
|
+
*
|
|
969
|
+
* - `false`: Disable spot instance replenishment.
|
|
859
970
|
*
|
|
860
971
|
* @example
|
|
861
972
|
* false
|
|
@@ -863,18 +974,20 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
863
974
|
spotInstanceRemedy?: boolean;
|
|
864
975
|
/**
|
|
865
976
|
* @remarks
|
|
866
|
-
* The
|
|
977
|
+
* The price range configuration for spot instances.
|
|
867
978
|
*/
|
|
868
979
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
869
980
|
/**
|
|
870
981
|
* @remarks
|
|
871
|
-
* The
|
|
982
|
+
* The spot instance type. Valid values:
|
|
983
|
+
*
|
|
984
|
+
* - `NoSpot`: On-demand instance.
|
|
985
|
+
*
|
|
986
|
+
* - `SpotWithPriceLimit`: Set a price limit for spot instances.
|
|
872
987
|
*
|
|
873
|
-
*
|
|
874
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
875
|
-
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
988
|
+
* - `SpotAsPriceGo`: Let the system automatically bid at the current market price.
|
|
876
989
|
*
|
|
877
|
-
* For more information, see [
|
|
990
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
878
991
|
*
|
|
879
992
|
* @example
|
|
880
993
|
* SpotWithPriceLimit
|
|
@@ -882,12 +995,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
882
995
|
spotStrategy?: string;
|
|
883
996
|
/**
|
|
884
997
|
* @remarks
|
|
885
|
-
*
|
|
998
|
+
* Enable bursting for the system disk. Valid values:
|
|
886
999
|
*
|
|
887
|
-
*
|
|
888
|
-
* * false: disables the burst feature.
|
|
1000
|
+
* - true: Enable. During sudden spikes in read/write activity, the disk temporarily boosts performance until workloads return to normal.
|
|
889
1001
|
*
|
|
890
|
-
*
|
|
1002
|
+
* - false: Disable.
|
|
1003
|
+
*
|
|
1004
|
+
* You can set this parameter only when `system_disk_category` is `cloud_auto`. For more information, see [ESSD AutoPL disk](https://help.aliyun.com/document_detail/368372.html).
|
|
891
1005
|
*
|
|
892
1006
|
* @example
|
|
893
1007
|
* true
|
|
@@ -895,18 +1009,22 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
895
1009
|
systemDiskBurstingEnabled?: boolean;
|
|
896
1010
|
/**
|
|
897
1011
|
* @remarks
|
|
898
|
-
* The
|
|
1012
|
+
* The list of system disk types. If the highest-priority disk type is unavailable, the system tries the next priority disk type.
|
|
899
1013
|
*/
|
|
900
1014
|
systemDiskCategories?: string[];
|
|
901
1015
|
/**
|
|
902
1016
|
* @remarks
|
|
903
|
-
* The
|
|
1017
|
+
* The system disk type for nodes. Valid values:
|
|
1018
|
+
*
|
|
1019
|
+
* - `cloud_efficiency`: Ultra disk.
|
|
1020
|
+
*
|
|
1021
|
+
* - `cloud_ssd`: Standard SSD.
|
|
1022
|
+
*
|
|
1023
|
+
* - `cloud_essd`: Enhanced SSD (ESSD).
|
|
904
1024
|
*
|
|
905
|
-
*
|
|
906
|
-
*
|
|
907
|
-
*
|
|
908
|
-
* * `cloud_auto`: ESSD AutoPL disk.
|
|
909
|
-
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
1025
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1026
|
+
*
|
|
1027
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
910
1028
|
*
|
|
911
1029
|
* Default value: `cloud_efficiency`.
|
|
912
1030
|
*
|
|
@@ -916,7 +1034,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
916
1034
|
systemDiskCategory?: string;
|
|
917
1035
|
/**
|
|
918
1036
|
* @remarks
|
|
919
|
-
* The encryption algorithm
|
|
1037
|
+
* The encryption algorithm for the system disk. Valid value: aes-256.
|
|
920
1038
|
*
|
|
921
1039
|
* @example
|
|
922
1040
|
* aes-256
|
|
@@ -924,10 +1042,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
924
1042
|
systemDiskEncryptAlgorithm?: string;
|
|
925
1043
|
/**
|
|
926
1044
|
* @remarks
|
|
927
|
-
*
|
|
1045
|
+
* Encrypt the system disk. Valid values:
|
|
1046
|
+
*
|
|
1047
|
+
* - true: Encrypt.
|
|
928
1048
|
*
|
|
929
|
-
*
|
|
930
|
-
* * false: does not encrypt the system disk.
|
|
1049
|
+
* - false: Do not encrypt.
|
|
931
1050
|
*
|
|
932
1051
|
* @example
|
|
933
1052
|
* false
|
|
@@ -935,7 +1054,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
935
1054
|
systemDiskEncrypted?: boolean;
|
|
936
1055
|
/**
|
|
937
1056
|
* @remarks
|
|
938
|
-
* The
|
|
1057
|
+
* The KMS key ID for the system disk.
|
|
939
1058
|
*
|
|
940
1059
|
* @example
|
|
941
1060
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -943,12 +1062,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
943
1062
|
systemDiskKmsKeyId?: string;
|
|
944
1063
|
/**
|
|
945
1064
|
* @remarks
|
|
946
|
-
* The performance level
|
|
1065
|
+
* The performance level of the system disk. This setting applies only to ESSD disks. Performance level depends on disk size. For more information, see [Enhanced SSD (ESSD)](https://help.aliyun.com/document_detail/122389.html).
|
|
1066
|
+
*
|
|
1067
|
+
* - PL0: Moderate I/O performance with stable read/write latency.
|
|
1068
|
+
*
|
|
1069
|
+
* - PL1: Moderate I/O performance with stable read/write latency.
|
|
947
1070
|
*
|
|
948
|
-
*
|
|
949
|
-
*
|
|
950
|
-
*
|
|
951
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1071
|
+
* - PL2: High I/O performance with stable read/write latency.
|
|
1072
|
+
*
|
|
1073
|
+
* - PL3: Extremely high I/O performance with extremely stable read/write latency.
|
|
952
1074
|
*
|
|
953
1075
|
* @example
|
|
954
1076
|
* PL1
|
|
@@ -956,11 +1078,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
956
1078
|
systemDiskPerformanceLevel?: string;
|
|
957
1079
|
/**
|
|
958
1080
|
* @remarks
|
|
959
|
-
* The
|
|
1081
|
+
* The provisioned IOPS for the system disk.
|
|
960
1082
|
*
|
|
961
|
-
*
|
|
1083
|
+
* Possible values: 0 to min{50,000, 1000 × capacity − baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
962
1084
|
*
|
|
963
|
-
*
|
|
1085
|
+
* You can set this parameter only when `system_disk_category` is `cloud_auto`. For more information, see [ESSD AutoPL disk](https://help.aliyun.com/document_detail/368372.html).
|
|
964
1086
|
*
|
|
965
1087
|
* @example
|
|
966
1088
|
* 1000
|
|
@@ -968,31 +1090,38 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
968
1090
|
systemDiskProvisionedIops?: number;
|
|
969
1091
|
/**
|
|
970
1092
|
* @remarks
|
|
971
|
-
* The size of the system disk. Unit: GiB
|
|
1093
|
+
* The size of the system disk for nodes. Unit: GiB.
|
|
972
1094
|
*
|
|
973
|
-
* Valid values: 20
|
|
1095
|
+
* Valid values: [20, 2048].
|
|
974
1096
|
*
|
|
975
|
-
*
|
|
1097
|
+
* This value must be greater than or equal to max{20, ImageSize}.
|
|
976
1098
|
*
|
|
977
|
-
* Default value:
|
|
1099
|
+
* Default value: max{40, image size corresponding to ImageId}.
|
|
978
1100
|
*
|
|
979
1101
|
* @example
|
|
980
1102
|
* 120
|
|
981
1103
|
*/
|
|
982
1104
|
systemDiskSize?: number;
|
|
1105
|
+
/**
|
|
1106
|
+
* @remarks
|
|
1107
|
+
* The snapshot policy for the system disk.
|
|
1108
|
+
*
|
|
1109
|
+
* @example
|
|
1110
|
+
* sp-0jl6xnmme8v7o935****
|
|
1111
|
+
*/
|
|
983
1112
|
systemDiskSnapshotPolicyId?: string;
|
|
984
1113
|
/**
|
|
985
1114
|
* @remarks
|
|
986
|
-
*
|
|
1115
|
+
* Add tags to ECS instances only.
|
|
987
1116
|
*
|
|
988
|
-
*
|
|
1117
|
+
* Tag keys must be unique and up to 128 characters long. Neither tag keys nor tag values can start with "aliyun", "acs:", or contain "https\\://" or "http\\://".
|
|
989
1118
|
*/
|
|
990
1119
|
tags?: Tag[];
|
|
991
1120
|
/**
|
|
992
1121
|
* @remarks
|
|
993
|
-
* The
|
|
1122
|
+
* The list of virtual switch IDs. Valid values: [1, 8].
|
|
994
1123
|
*
|
|
995
|
-
* >
|
|
1124
|
+
* > To ensure high availability, select virtual switches from different zones.
|
|
996
1125
|
*/
|
|
997
1126
|
vswitchIds?: string[];
|
|
998
1127
|
static names(): {
|
|
@@ -1009,10 +1138,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1009
1138
|
export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1010
1139
|
/**
|
|
1011
1140
|
* @remarks
|
|
1012
|
-
*
|
|
1141
|
+
* Enable the Kubernetes cluster for confidential computing. Valid values:
|
|
1142
|
+
*
|
|
1143
|
+
* - `true`: Enable.
|
|
1013
1144
|
*
|
|
1014
|
-
*
|
|
1015
|
-
* * `false`: disables confidential computing for the cluster.
|
|
1145
|
+
* - `false`: Disable.
|
|
1016
1146
|
*
|
|
1017
1147
|
* Default value: `false`.
|
|
1018
1148
|
*
|
|
@@ -1034,12 +1164,12 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1034
1164
|
export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1035
1165
|
/**
|
|
1036
1166
|
* @remarks
|
|
1037
|
-
* The
|
|
1167
|
+
* The auto scaling configuration.
|
|
1038
1168
|
*/
|
|
1039
1169
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1040
1170
|
/**
|
|
1041
1171
|
* @remarks
|
|
1042
|
-
*
|
|
1172
|
+
* Whether to run concurrently.
|
|
1043
1173
|
*
|
|
1044
1174
|
* @example
|
|
1045
1175
|
* true
|
|
@@ -1047,32 +1177,32 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1047
1177
|
concurrency?: boolean;
|
|
1048
1178
|
/**
|
|
1049
1179
|
* @remarks
|
|
1050
|
-
* The
|
|
1180
|
+
* The cluster-related configuration.
|
|
1051
1181
|
*/
|
|
1052
1182
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1053
1183
|
/**
|
|
1054
1184
|
* @remarks
|
|
1055
|
-
* The
|
|
1185
|
+
* The managed node pool configuration.
|
|
1056
1186
|
*/
|
|
1057
1187
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1058
1188
|
/**
|
|
1059
1189
|
* @remarks
|
|
1060
|
-
* The
|
|
1190
|
+
* The node pool configuration.
|
|
1061
1191
|
*/
|
|
1062
1192
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1063
1193
|
/**
|
|
1064
1194
|
* @remarks
|
|
1065
|
-
*
|
|
1195
|
+
* Node pool scaling group configuration.
|
|
1066
1196
|
*/
|
|
1067
1197
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1068
1198
|
/**
|
|
1069
1199
|
* @remarks
|
|
1070
|
-
* The
|
|
1200
|
+
* The configuration of the Kubernetes cluster for confidential computing.
|
|
1071
1201
|
*/
|
|
1072
1202
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1073
1203
|
/**
|
|
1074
1204
|
* @remarks
|
|
1075
|
-
*
|
|
1205
|
+
* Synchronously update node labels and taints.
|
|
1076
1206
|
*
|
|
1077
1207
|
* @example
|
|
1078
1208
|
* true
|