@alicloud/cs20151215 6.6.4 → 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 +473 -220
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +425 -262
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- 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/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 +475 -220
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +427 -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
|
@@ -10,41 +10,43 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* This
|
|
13
|
+
* This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* The valid values are 1 to 100. The unit is Mbps.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
*
|
|
18
|
+
* null
|
|
19
19
|
*
|
|
20
20
|
* @deprecated
|
|
21
21
|
*/
|
|
22
22
|
eipBandwidth?: number;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
*
|
|
25
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
26
|
+
*
|
|
27
|
+
* The billing method for the EIP. Valid values:
|
|
26
28
|
*
|
|
27
|
-
*
|
|
29
|
+
* - `PayByBandwidth`: Pay by bandwidth.
|
|
28
30
|
*
|
|
29
|
-
*
|
|
30
|
-
* * `PayByTraffic`: pay-by-data-transfer.
|
|
31
|
+
* - `PayByTraffic`: Pay by traffic.
|
|
31
32
|
*
|
|
32
33
|
* Default value: `PayByBandwidth`.
|
|
33
34
|
*
|
|
34
35
|
* @example
|
|
35
|
-
*
|
|
36
|
+
* null
|
|
36
37
|
*
|
|
37
38
|
* @deprecated
|
|
38
39
|
*/
|
|
39
40
|
eipInternetChargeType?: string;
|
|
40
41
|
/**
|
|
41
42
|
* @remarks
|
|
42
|
-
*
|
|
43
|
+
* Enable auto scaling. Valid values:
|
|
44
|
+
*
|
|
45
|
+
* - `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).
|
|
43
46
|
*
|
|
44
|
-
*
|
|
45
|
-
* * `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.
|
|
47
|
+
* - `false`: Disable auto scaling. ACK adjusts the number of nodes in the node pool to match the desired node count you specify.
|
|
46
48
|
*
|
|
47
|
-
*
|
|
49
|
+
* When set to false, other parameters under `auto_scaling` are ignored.
|
|
48
50
|
*
|
|
49
51
|
* Default value: `false`.
|
|
50
52
|
*
|
|
@@ -54,24 +56,25 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
54
56
|
enable?: boolean;
|
|
55
57
|
/**
|
|
56
58
|
* @remarks
|
|
57
|
-
*
|
|
59
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
58
60
|
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
+
* - `true`: Bind an EIP.
|
|
62
|
+
*
|
|
63
|
+
* - `false`: Do not bind an EIP.
|
|
61
64
|
*
|
|
62
65
|
* Default value: `false`.
|
|
63
66
|
*
|
|
64
67
|
* @example
|
|
65
|
-
*
|
|
68
|
+
* null
|
|
66
69
|
*
|
|
67
70
|
* @deprecated
|
|
68
71
|
*/
|
|
69
72
|
isBondEip?: boolean;
|
|
70
73
|
/**
|
|
71
74
|
* @remarks
|
|
72
|
-
* The maximum number of
|
|
75
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
73
76
|
*
|
|
74
|
-
*
|
|
77
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
75
78
|
*
|
|
76
79
|
* @example
|
|
77
80
|
* 10
|
|
@@ -79,15 +82,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
79
82
|
maxInstances?: number;
|
|
80
83
|
/**
|
|
81
84
|
* @remarks
|
|
82
|
-
* The minimum number of
|
|
83
|
-
*
|
|
84
|
-
* The value must be at least 0 and cannot exceed the value of max_instances. Default value: 0.
|
|
85
|
-
*
|
|
86
|
-
* >
|
|
85
|
+
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
87
86
|
*
|
|
88
|
-
*
|
|
87
|
+
* Valid values: [0, max_instances]. Default value: 0.
|
|
89
88
|
*
|
|
90
|
-
*
|
|
89
|
+
* > - If the minimum instance count is not zero, the system creates the specified number of ECS instances after the scaling group becomes active.
|
|
90
|
+
* >
|
|
91
|
+
* > - To avoid unintended scale-in, set the maximum instance count to at least the current number of nodes in the node pool.
|
|
91
92
|
*
|
|
92
93
|
* @example
|
|
93
94
|
* 2
|
|
@@ -95,12 +96,15 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
95
96
|
minInstances?: number;
|
|
96
97
|
/**
|
|
97
98
|
* @remarks
|
|
98
|
-
* The
|
|
99
|
+
* The auto scaling type, defined by instance type. Valid values:
|
|
99
100
|
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
101
|
+
* - `cpu`: Standard instance.
|
|
102
|
+
*
|
|
103
|
+
* - `gpu`: GPU instance.
|
|
104
|
+
*
|
|
105
|
+
* - `gpushare`: GPU shared instance.
|
|
106
|
+
*
|
|
107
|
+
* - `spot`: Spot instance.
|
|
104
108
|
*
|
|
105
109
|
* Default value: `cpu`.
|
|
106
110
|
*
|
|
@@ -146,10 +150,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
146
150
|
export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
147
151
|
/**
|
|
148
152
|
* @remarks
|
|
149
|
-
*
|
|
153
|
+
* 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:
|
|
154
|
+
*
|
|
155
|
+
* - `true`: Install Cloud Monitor on ECS nodes.
|
|
150
156
|
*
|
|
151
|
-
*
|
|
152
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
157
|
+
* - `false`: Do not install Cloud Monitor on ECS nodes.
|
|
153
158
|
*
|
|
154
159
|
* Default value: `false`.
|
|
155
160
|
*
|
|
@@ -159,10 +164,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
159
164
|
cmsEnabled?: boolean;
|
|
160
165
|
/**
|
|
161
166
|
* @remarks
|
|
162
|
-
* The CPU management policy
|
|
167
|
+
* The node CPU management policy. The following two policies are supported for clusters of version 1.12.6 and later:
|
|
163
168
|
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
169
|
+
* - `static`: Allows pods with certain resource characteristics on the node to have enhanced CPU affinity and exclusivity.
|
|
170
|
+
*
|
|
171
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
166
172
|
*
|
|
167
173
|
* Default value: `none`.
|
|
168
174
|
*
|
|
@@ -172,16 +178,28 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
172
178
|
cpuPolicy?: string;
|
|
173
179
|
/**
|
|
174
180
|
* @remarks
|
|
175
|
-
*
|
|
181
|
+
* Node labels. Add labels to Kubernetes cluster nodes. Label rules:
|
|
182
|
+
*
|
|
183
|
+
* - Labels are case-sensitive key-value pairs. You can set up to 20 labels.
|
|
176
184
|
*
|
|
177
|
-
*
|
|
178
|
-
* * 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).
|
|
185
|
+
* - 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).
|
|
179
186
|
*/
|
|
180
187
|
labels?: Tag[];
|
|
188
|
+
/**
|
|
189
|
+
* @remarks
|
|
190
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
191
|
+
*
|
|
192
|
+
* 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.
|
|
193
|
+
*
|
|
194
|
+
* 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.
|
|
195
|
+
*
|
|
196
|
+
* @example
|
|
197
|
+
* customized,aliyun,ip,com
|
|
198
|
+
*/
|
|
181
199
|
nodeNameMode?: string;
|
|
182
200
|
/**
|
|
183
201
|
* @remarks
|
|
184
|
-
*
|
|
202
|
+
* 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).
|
|
185
203
|
*
|
|
186
204
|
* @example
|
|
187
205
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -189,37 +207,40 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
189
207
|
preUserData?: string;
|
|
190
208
|
/**
|
|
191
209
|
* @remarks
|
|
192
|
-
* The
|
|
210
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
211
|
+
*
|
|
212
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
193
213
|
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
214
|
+
* - Sandboxed-Container.runv: Sandboxed container. Provides higher isolation. Supports clusters of version 1.31 and earlier.
|
|
215
|
+
*
|
|
216
|
+
* - docker: No longer maintained. Supports clusters of version 1.22 and earlier.
|
|
197
217
|
*
|
|
198
218
|
* Default value: containerd.
|
|
199
219
|
*
|
|
200
220
|
* @example
|
|
201
|
-
*
|
|
221
|
+
* containerd
|
|
202
222
|
*/
|
|
203
223
|
runtime?: string;
|
|
204
224
|
/**
|
|
205
225
|
* @remarks
|
|
206
|
-
* The
|
|
226
|
+
* The container runtime version.
|
|
207
227
|
*
|
|
208
228
|
* @example
|
|
209
|
-
*
|
|
229
|
+
* 1.6.38
|
|
210
230
|
*/
|
|
211
231
|
runtimeVersion?: string;
|
|
212
232
|
/**
|
|
213
233
|
* @remarks
|
|
214
|
-
* The
|
|
234
|
+
* The node taint configuration.
|
|
215
235
|
*/
|
|
216
236
|
taints?: Taint[];
|
|
217
237
|
/**
|
|
218
238
|
* @remarks
|
|
219
|
-
*
|
|
239
|
+
* Whether scaled-out nodes are unschedulable.
|
|
240
|
+
*
|
|
241
|
+
* - true: Unschedulable.
|
|
220
242
|
*
|
|
221
|
-
*
|
|
222
|
-
* * false: The nodes are schedulable after a scale-out activity is performed.
|
|
243
|
+
* - false: Schedulable.
|
|
223
244
|
*
|
|
224
245
|
* @example
|
|
225
246
|
* false
|
|
@@ -227,7 +248,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
227
248
|
unschedulable?: boolean;
|
|
228
249
|
/**
|
|
229
250
|
* @remarks
|
|
230
|
-
* The user data
|
|
251
|
+
* 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).
|
|
231
252
|
*
|
|
232
253
|
* @example
|
|
233
254
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -279,18 +300,28 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
279
300
|
}
|
|
280
301
|
|
|
281
302
|
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
303
|
+
/**
|
|
304
|
+
* @remarks
|
|
305
|
+
* Require manual approval for node repair.
|
|
306
|
+
*/
|
|
282
307
|
approvalRequired?: boolean;
|
|
283
308
|
/**
|
|
309
|
+
* @remarks
|
|
310
|
+
* The automatic node repair policy ID.
|
|
311
|
+
*
|
|
284
312
|
* @example
|
|
285
313
|
* r-xxxxxxxxxx
|
|
286
314
|
*/
|
|
287
315
|
autoRepairPolicyId?: string;
|
|
288
316
|
/**
|
|
289
317
|
* @remarks
|
|
290
|
-
*
|
|
318
|
+
* Allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
319
|
+
*
|
|
320
|
+
* - `true`: Allow node restart.
|
|
291
321
|
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
322
|
+
* - `false`: Disallow node restart.
|
|
323
|
+
*
|
|
324
|
+
* Default value: `true`.
|
|
294
325
|
*
|
|
295
326
|
* @example
|
|
296
327
|
* true
|
|
@@ -324,10 +355,13 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
324
355
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
325
356
|
/**
|
|
326
357
|
* @remarks
|
|
327
|
-
*
|
|
358
|
+
* Enable automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
359
|
+
*
|
|
360
|
+
* - `true`: Enable automatic kubelet upgrades.
|
|
328
361
|
*
|
|
329
|
-
*
|
|
330
|
-
*
|
|
362
|
+
* - `false`: Disable automatic kubelet upgrades.
|
|
363
|
+
*
|
|
364
|
+
* Default value: `true`.
|
|
331
365
|
*
|
|
332
366
|
* @example
|
|
333
367
|
* true
|
|
@@ -335,10 +369,11 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
335
369
|
autoUpgradeKubelet?: boolean;
|
|
336
370
|
/**
|
|
337
371
|
* @remarks
|
|
338
|
-
*
|
|
372
|
+
* Enable automatic operating system upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
339
373
|
*
|
|
340
|
-
*
|
|
341
|
-
*
|
|
374
|
+
* - `true`: Enable automatic OS upgrades.
|
|
375
|
+
*
|
|
376
|
+
* - `false`: Disable automatic OS upgrades.
|
|
342
377
|
*
|
|
343
378
|
* Default value: `false`.
|
|
344
379
|
*
|
|
@@ -348,12 +383,13 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
348
383
|
autoUpgradeOs?: boolean;
|
|
349
384
|
/**
|
|
350
385
|
* @remarks
|
|
351
|
-
*
|
|
386
|
+
* Enable automatic runtime upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
352
387
|
*
|
|
353
|
-
*
|
|
354
|
-
* * `false`: no.
|
|
388
|
+
* - `true`: Enable automatic runtime upgrades.
|
|
355
389
|
*
|
|
356
|
-
*
|
|
390
|
+
* - `false`: Disable automatic runtime upgrades.
|
|
391
|
+
*
|
|
392
|
+
* Default value: `true`.
|
|
357
393
|
*
|
|
358
394
|
* @example
|
|
359
395
|
* false
|
|
@@ -385,13 +421,25 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
385
421
|
}
|
|
386
422
|
|
|
387
423
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
424
|
+
/**
|
|
425
|
+
* @remarks
|
|
426
|
+
* Packages to exclude during vulnerability fixes.
|
|
427
|
+
*
|
|
428
|
+
* Default value: `kernel`.
|
|
429
|
+
*
|
|
430
|
+
* @example
|
|
431
|
+
* kernel
|
|
432
|
+
*/
|
|
388
433
|
excludePackages?: string;
|
|
389
434
|
/**
|
|
390
435
|
* @remarks
|
|
391
|
-
*
|
|
436
|
+
* Allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
437
|
+
*
|
|
438
|
+
* - `true`: Allow node restart.
|
|
392
439
|
*
|
|
393
|
-
*
|
|
394
|
-
*
|
|
440
|
+
* - `false`: Disallow node restart.
|
|
441
|
+
*
|
|
442
|
+
* Default value: `true`.
|
|
395
443
|
*
|
|
396
444
|
* @example
|
|
397
445
|
* true
|
|
@@ -399,13 +447,15 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
399
447
|
restartNode?: boolean;
|
|
400
448
|
/**
|
|
401
449
|
* @remarks
|
|
402
|
-
* The severity levels of
|
|
450
|
+
* The severity levels of vulnerabilities that can be fixed automatically, separated by commas. Example: `asap,later`. Supported levels:
|
|
451
|
+
*
|
|
452
|
+
* - `asap`: High
|
|
453
|
+
*
|
|
454
|
+
* - `later`: Medium
|
|
403
455
|
*
|
|
404
|
-
*
|
|
405
|
-
* * `later`: medium.
|
|
406
|
-
* * `nntf`: low.
|
|
456
|
+
* - `nntf`: Low
|
|
407
457
|
*
|
|
408
|
-
*
|
|
458
|
+
* Default value: `asap`.
|
|
409
459
|
*
|
|
410
460
|
* @example
|
|
411
461
|
* asap,nntf
|
|
@@ -439,12 +489,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
439
489
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
440
490
|
/**
|
|
441
491
|
* @remarks
|
|
442
|
-
*
|
|
492
|
+
* [Deprecated] Use the top-level `auto_upgrade` parameter instead.
|
|
443
493
|
*
|
|
444
|
-
*
|
|
494
|
+
* Enable automatic upgrades. Valid values:
|
|
445
495
|
*
|
|
446
|
-
*
|
|
447
|
-
*
|
|
496
|
+
* - true: Enable.
|
|
497
|
+
*
|
|
498
|
+
* - false: Disable.
|
|
448
499
|
*
|
|
449
500
|
* Default value: `true`.
|
|
450
501
|
*
|
|
@@ -456,9 +507,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
456
507
|
autoUpgrade?: boolean;
|
|
457
508
|
/**
|
|
458
509
|
* @remarks
|
|
459
|
-
* The maximum number of nodes
|
|
510
|
+
* The maximum number of unavailable nodes.
|
|
460
511
|
*
|
|
461
|
-
* Valid values: 1
|
|
512
|
+
* Valid values: [1, 1000].
|
|
462
513
|
*
|
|
463
514
|
* Default value: 1.
|
|
464
515
|
*
|
|
@@ -468,11 +519,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
468
519
|
maxUnavailable?: number;
|
|
469
520
|
/**
|
|
470
521
|
* @remarks
|
|
471
|
-
* The number of additional nodes
|
|
522
|
+
* The number of additional nodes. Choose either surge or `surge_percentage`.
|
|
472
523
|
*
|
|
473
|
-
*
|
|
524
|
+
* Nodes become unavailable during upgrades. Create extra nodes to maintain cluster load.
|
|
474
525
|
*
|
|
475
|
-
* >
|
|
526
|
+
* > Do not create more extra nodes than the current number of nodes.
|
|
476
527
|
*
|
|
477
528
|
* @example
|
|
478
529
|
* 5
|
|
@@ -480,7 +531,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
480
531
|
surge?: number;
|
|
481
532
|
/**
|
|
482
533
|
* @remarks
|
|
483
|
-
* The percentage of additional nodes
|
|
534
|
+
* 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.
|
|
484
535
|
*
|
|
485
536
|
* 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.
|
|
486
537
|
*
|
|
@@ -516,12 +567,14 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
516
567
|
}
|
|
517
568
|
|
|
518
569
|
export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
570
|
+
autoFaultDiagnosis?: boolean;
|
|
519
571
|
/**
|
|
520
572
|
* @remarks
|
|
521
|
-
*
|
|
573
|
+
* Enable automatic node repair. This parameter takes effect only when `enable=true`.
|
|
574
|
+
*
|
|
575
|
+
* - `true`: Enable automatic repair.
|
|
522
576
|
*
|
|
523
|
-
*
|
|
524
|
-
* * `false`: disables auto repair.
|
|
577
|
+
* - `false`: Disable automatic repair.
|
|
525
578
|
*
|
|
526
579
|
* Default value: `true`.
|
|
527
580
|
*
|
|
@@ -531,15 +584,18 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
531
584
|
autoRepair?: boolean;
|
|
532
585
|
/**
|
|
533
586
|
* @remarks
|
|
534
|
-
* The
|
|
587
|
+
* The automatic node repair policy.
|
|
535
588
|
*/
|
|
536
589
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
537
590
|
/**
|
|
538
591
|
* @remarks
|
|
539
|
-
*
|
|
592
|
+
* Enable automatic node upgrades. This parameter takes effect only when `enable=true`. Valid values:
|
|
540
593
|
*
|
|
541
|
-
*
|
|
542
|
-
*
|
|
594
|
+
* - `true`: Enable automatic upgrades.
|
|
595
|
+
*
|
|
596
|
+
* - `false`: Disable automatic upgrades.
|
|
597
|
+
*
|
|
598
|
+
* Default value: `true`.
|
|
543
599
|
*
|
|
544
600
|
* @example
|
|
545
601
|
* true
|
|
@@ -547,15 +603,18 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
547
603
|
autoUpgrade?: boolean;
|
|
548
604
|
/**
|
|
549
605
|
* @remarks
|
|
550
|
-
* The
|
|
606
|
+
* The automatic upgrade policy.
|
|
551
607
|
*/
|
|
552
608
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
553
609
|
/**
|
|
554
610
|
* @remarks
|
|
555
|
-
*
|
|
611
|
+
* Enable automatic CVE vulnerability fixes. This parameter takes effect only when `enable=true`. Valid values:
|
|
612
|
+
*
|
|
613
|
+
* - `true`: Enable automatic CVE fixes.
|
|
556
614
|
*
|
|
557
|
-
*
|
|
558
|
-
*
|
|
615
|
+
* - `false`: Disable automatic CVE fixes.
|
|
616
|
+
*
|
|
617
|
+
* Default value: `true`.
|
|
559
618
|
*
|
|
560
619
|
* @example
|
|
561
620
|
* true
|
|
@@ -563,15 +622,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
563
622
|
autoVulFix?: boolean;
|
|
564
623
|
/**
|
|
565
624
|
* @remarks
|
|
566
|
-
* The
|
|
625
|
+
* The automatic CVE fix policy.
|
|
567
626
|
*/
|
|
568
627
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
569
628
|
/**
|
|
570
629
|
* @remarks
|
|
571
|
-
*
|
|
630
|
+
* Enable the managed node pool. Valid values:
|
|
572
631
|
*
|
|
573
|
-
*
|
|
574
|
-
*
|
|
632
|
+
* - `true`: Enable the managed node pool.
|
|
633
|
+
*
|
|
634
|
+
* - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
575
635
|
*
|
|
576
636
|
* Default value: `false`.
|
|
577
637
|
*
|
|
@@ -581,15 +641,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
581
641
|
enable?: boolean;
|
|
582
642
|
/**
|
|
583
643
|
* @remarks
|
|
584
|
-
*
|
|
644
|
+
* [Deprecated] Use the top-level `auto_upgrade` parameter instead.
|
|
585
645
|
*
|
|
586
|
-
* The
|
|
646
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
587
647
|
*
|
|
588
648
|
* @deprecated
|
|
589
649
|
*/
|
|
590
650
|
upgradeConfig?: ModifyClusterNodePoolRequestManagementUpgradeConfig;
|
|
591
651
|
static names(): { [key: string]: string } {
|
|
592
652
|
return {
|
|
653
|
+
autoFaultDiagnosis: 'auto_fault_diagnosis',
|
|
593
654
|
autoRepair: 'auto_repair',
|
|
594
655
|
autoRepairPolicy: 'auto_repair_policy',
|
|
595
656
|
autoUpgrade: 'auto_upgrade',
|
|
@@ -603,6 +664,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
603
664
|
|
|
604
665
|
static types(): { [key: string]: any } {
|
|
605
666
|
return {
|
|
667
|
+
autoFaultDiagnosis: 'boolean',
|
|
606
668
|
autoRepair: 'boolean',
|
|
607
669
|
autoRepairPolicy: ModifyClusterNodePoolRequestManagementAutoRepairPolicy,
|
|
608
670
|
autoUpgrade: 'boolean',
|
|
@@ -638,9 +700,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
638
700
|
export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
639
701
|
/**
|
|
640
702
|
* @remarks
|
|
641
|
-
* The
|
|
703
|
+
* The node pool name.
|
|
642
704
|
*
|
|
643
|
-
* The name must be 1 to 63 characters
|
|
705
|
+
* Name rules: Use only numbers, letters, or hyphens (-). The name must be 1 to 63 characters long and cannot start with a hyphen (-).
|
|
644
706
|
*
|
|
645
707
|
* @example
|
|
646
708
|
* default-nodepool
|
|
@@ -648,9 +710,9 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
648
710
|
name?: string;
|
|
649
711
|
/**
|
|
650
712
|
* @remarks
|
|
651
|
-
* The
|
|
713
|
+
* The resource group ID for the node pool. Nodes created from this node pool belong to this resource group.
|
|
652
714
|
*
|
|
653
|
-
*
|
|
715
|
+
* A resource can belong to only one resource group. Map resource groups to projects, applications, or organizations based on your business needs.
|
|
654
716
|
*
|
|
655
717
|
* @example
|
|
656
718
|
* rg-acfmyvw3wjm****
|
|
@@ -682,7 +744,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
682
744
|
export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
683
745
|
/**
|
|
684
746
|
* @remarks
|
|
685
|
-
* The private node pool ID. This
|
|
747
|
+
* The private node pool ID. This is required when `match_criteria` is set to `Target`.
|
|
686
748
|
*
|
|
687
749
|
* @example
|
|
688
750
|
* eap-bp67acfmxazb4****
|
|
@@ -690,11 +752,13 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
690
752
|
id?: string;
|
|
691
753
|
/**
|
|
692
754
|
* @remarks
|
|
693
|
-
* The
|
|
755
|
+
* 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:
|
|
756
|
+
*
|
|
757
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no suitable private pool is found, public pool resources are used.
|
|
758
|
+
*
|
|
759
|
+
* - `Target`: Specified mode. Starts instances using the specified private pool capacity. If the capacity is unavailable, the instance startup fails.
|
|
694
760
|
*
|
|
695
|
-
*
|
|
696
|
-
* * `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.
|
|
697
|
-
* * `None`: no private pool is used. The resources of private pools are not used to launch the instances.
|
|
761
|
+
* - `None`: No mode. The instance startup does not use private pool capacity.
|
|
698
762
|
*
|
|
699
763
|
* @example
|
|
700
764
|
* Open
|
|
@@ -724,8 +788,15 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
724
788
|
}
|
|
725
789
|
|
|
726
790
|
export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
791
|
+
/**
|
|
792
|
+
* @remarks
|
|
793
|
+
* 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.
|
|
794
|
+
*/
|
|
727
795
|
privatePoolIds?: string[];
|
|
728
796
|
/**
|
|
797
|
+
* @remarks
|
|
798
|
+
* 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.
|
|
799
|
+
*
|
|
729
800
|
* @example
|
|
730
801
|
* PrivatePoolFirst
|
|
731
802
|
*/
|
|
@@ -759,7 +830,7 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
759
830
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
760
831
|
/**
|
|
761
832
|
* @remarks
|
|
762
|
-
* The instance type
|
|
833
|
+
* The spot instance type.
|
|
763
834
|
*
|
|
764
835
|
* @example
|
|
765
836
|
* ecs.c6.large
|
|
@@ -767,7 +838,15 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
767
838
|
instanceType?: string;
|
|
768
839
|
/**
|
|
769
840
|
* @remarks
|
|
770
|
-
* The
|
|
841
|
+
* The maximum hourly price for the instance.
|
|
842
|
+
*
|
|
843
|
+
* <props="china">
|
|
844
|
+
*
|
|
845
|
+
* Unit: CNY/hour.
|
|
846
|
+
*
|
|
847
|
+
*
|
|
848
|
+
*
|
|
849
|
+
* <props="intl">
|
|
771
850
|
*
|
|
772
851
|
* Unit: USD/hour.
|
|
773
852
|
*
|
|
@@ -801,10 +880,11 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
801
880
|
export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
802
881
|
/**
|
|
803
882
|
* @remarks
|
|
804
|
-
*
|
|
883
|
+
* Enable automatic renewal for nodes. This parameter takes effect only when `instance_charge_type` is `PrePaid`. Valid values:
|
|
805
884
|
*
|
|
806
|
-
*
|
|
807
|
-
*
|
|
885
|
+
* - `true`: Enable automatic renewal.
|
|
886
|
+
*
|
|
887
|
+
* - `false`: Disable automatic renewal.
|
|
808
888
|
*
|
|
809
889
|
* Default value: `false`.
|
|
810
890
|
*
|
|
@@ -814,10 +894,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
814
894
|
autoRenew?: boolean;
|
|
815
895
|
/**
|
|
816
896
|
* @remarks
|
|
817
|
-
* The
|
|
897
|
+
* The duration of each automatic renewal. Valid values:
|
|
898
|
+
*
|
|
899
|
+
* - When PeriodUnit=Week: 1, 2, 3.
|
|
818
900
|
*
|
|
819
|
-
*
|
|
820
|
-
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
901
|
+
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
821
902
|
*
|
|
822
903
|
* Default value: 1.
|
|
823
904
|
*
|
|
@@ -827,10 +908,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
827
908
|
autoRenewPeriod?: number;
|
|
828
909
|
/**
|
|
829
910
|
* @remarks
|
|
830
|
-
*
|
|
911
|
+
* 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:
|
|
831
912
|
*
|
|
832
|
-
*
|
|
833
|
-
*
|
|
913
|
+
* - `true`: Allow automatic creation of on-demand instances.
|
|
914
|
+
*
|
|
915
|
+
* - `false`: Disallow automatic creation of on-demand instances.
|
|
834
916
|
*
|
|
835
917
|
* @example
|
|
836
918
|
* true
|
|
@@ -838,60 +920,77 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
838
920
|
compensateWithOnDemand?: boolean;
|
|
839
921
|
/**
|
|
840
922
|
* @remarks
|
|
841
|
-
* The
|
|
923
|
+
* The data disk configuration for nodes. Valid values: [0, 10]. You can attach up to 10 data disks.
|
|
842
924
|
*/
|
|
843
925
|
dataDisks?: DataDisk[];
|
|
844
926
|
/**
|
|
927
|
+
* @remarks
|
|
928
|
+
* 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.
|
|
929
|
+
*
|
|
845
930
|
* @example
|
|
846
931
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
847
932
|
*/
|
|
848
933
|
deploymentsetId?: string;
|
|
849
934
|
/**
|
|
850
935
|
* @remarks
|
|
851
|
-
* The
|
|
936
|
+
* The desired number of nodes in the node pool.
|
|
852
937
|
*
|
|
853
|
-
*
|
|
938
|
+
* 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.
|
|
854
939
|
*
|
|
855
|
-
* If you do not
|
|
940
|
+
* If you do not need to create nodes, set this to 0 and adjust it manually later.
|
|
856
941
|
*
|
|
857
942
|
* @example
|
|
858
943
|
* 2
|
|
859
944
|
*/
|
|
860
945
|
desiredSize?: number;
|
|
946
|
+
/**
|
|
947
|
+
* @remarks
|
|
948
|
+
* The block device initialization configuration.
|
|
949
|
+
*/
|
|
861
950
|
diskInit?: DiskInit[];
|
|
862
951
|
/**
|
|
863
952
|
* @remarks
|
|
864
|
-
* The custom image ID.
|
|
953
|
+
* The custom image ID. Query supported images using `DescribeKubernetesVersionMetadata`. By default, the latest system image is used.
|
|
865
954
|
*
|
|
866
955
|
* @example
|
|
867
|
-
*
|
|
956
|
+
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
868
957
|
*/
|
|
869
958
|
imageId?: string;
|
|
870
959
|
/**
|
|
871
960
|
* @remarks
|
|
872
|
-
* The
|
|
961
|
+
* The operating system distribution type. We recommend using this field to specify the node OS. Valid values:
|
|
962
|
+
*
|
|
963
|
+
* - `AliyunLinux`: Alibaba Cloud Linux 2 image.
|
|
964
|
+
*
|
|
965
|
+
* - `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 UEFI image.
|
|
966
|
+
*
|
|
967
|
+
* - `AliyunLinux3`: Alibaba Cloud Linux 3 image.
|
|
968
|
+
*
|
|
969
|
+
* - `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 ARM image.
|
|
970
|
+
*
|
|
971
|
+
* - `AliyunLinux3Security`: Alibaba Cloud Linux 3 UEFI image.
|
|
972
|
+
*
|
|
973
|
+
* - `CentOS`: CentOS image.
|
|
873
974
|
*
|
|
874
|
-
*
|
|
875
|
-
*
|
|
876
|
-
*
|
|
877
|
-
*
|
|
878
|
-
*
|
|
879
|
-
*
|
|
880
|
-
*
|
|
881
|
-
* * `WindowsCore`: Windows Core.
|
|
882
|
-
* * `ContainerOS`: ContainerOS.
|
|
883
|
-
* * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
|
|
975
|
+
* - `Windows`: Windows image.
|
|
976
|
+
*
|
|
977
|
+
* - `WindowsCore`: Windows Core image.
|
|
978
|
+
*
|
|
979
|
+
* - `ContainerOS`: Container-optimized image.
|
|
980
|
+
*
|
|
981
|
+
* - `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 container-optimized image.
|
|
884
982
|
*
|
|
885
983
|
* @example
|
|
886
|
-
*
|
|
984
|
+
* AliyunLinux3
|
|
887
985
|
*/
|
|
888
986
|
imageType?: string;
|
|
889
987
|
/**
|
|
890
988
|
* @remarks
|
|
891
|
-
* The billing method
|
|
989
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
892
990
|
*
|
|
893
|
-
*
|
|
894
|
-
*
|
|
991
|
+
* - `PrePaid`: Subscription.
|
|
992
|
+
*
|
|
993
|
+
* - `PostPaid`: Pay-as-you-go.
|
|
895
994
|
*
|
|
896
995
|
* Default value: `PostPaid`.
|
|
897
996
|
*
|
|
@@ -901,22 +1000,23 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
901
1000
|
instanceChargeType?: string;
|
|
902
1001
|
/**
|
|
903
1002
|
* @remarks
|
|
904
|
-
*
|
|
1003
|
+
* The instance attribute configuration.
|
|
905
1004
|
*/
|
|
906
1005
|
instancePatterns?: InstancePatterns[];
|
|
907
1006
|
/**
|
|
908
1007
|
* @remarks
|
|
909
|
-
* The instance types. You can specify multiple instance types.
|
|
1008
|
+
* 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.
|
|
910
1009
|
*
|
|
911
|
-
*
|
|
1010
|
+
* Valid values: [1, 10].
|
|
912
1011
|
*/
|
|
913
1012
|
instanceTypes?: string[];
|
|
914
1013
|
/**
|
|
915
1014
|
* @remarks
|
|
916
|
-
* The
|
|
1015
|
+
* The billing method for public IP addresses. Valid values:
|
|
1016
|
+
*
|
|
1017
|
+
* - `PayByBandwidth`: Pay by bandwidth.
|
|
917
1018
|
*
|
|
918
|
-
*
|
|
919
|
-
* * `PayByTraffic`: pay-by-data-transfer.
|
|
1019
|
+
* - `PayByTraffic`: Pay by traffic.
|
|
920
1020
|
*
|
|
921
1021
|
* @example
|
|
922
1022
|
* PayByBandwidth
|
|
@@ -924,7 +1024,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
924
1024
|
internetChargeType?: string;
|
|
925
1025
|
/**
|
|
926
1026
|
* @remarks
|
|
927
|
-
* The maximum outbound bandwidth
|
|
1027
|
+
* 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.
|
|
928
1028
|
*
|
|
929
1029
|
* @example
|
|
930
1030
|
* 5
|
|
@@ -932,7 +1032,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
932
1032
|
internetMaxBandwidthOut?: number;
|
|
933
1033
|
/**
|
|
934
1034
|
* @remarks
|
|
935
|
-
* The
|
|
1035
|
+
* The key pair name. Specify either key_pair or `login_password`. For managed node pools, only `key_pair` is supported.
|
|
936
1036
|
*
|
|
937
1037
|
* @example
|
|
938
1038
|
* pro-nodepool
|
|
@@ -940,7 +1040,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
940
1040
|
keyPair?: string;
|
|
941
1041
|
/**
|
|
942
1042
|
* @remarks
|
|
943
|
-
* The
|
|
1043
|
+
* 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.
|
|
944
1044
|
*
|
|
945
1045
|
* @example
|
|
946
1046
|
* Hello1234
|
|
@@ -948,17 +1048,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
948
1048
|
loginPassword?: string;
|
|
949
1049
|
/**
|
|
950
1050
|
* @remarks
|
|
951
|
-
* The
|
|
952
|
-
*
|
|
953
|
-
* * `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.
|
|
1051
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
954
1052
|
*
|
|
955
|
-
*
|
|
1053
|
+
* - `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.
|
|
956
1054
|
*
|
|
957
|
-
*
|
|
1055
|
+
* - `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.
|
|
958
1056
|
*
|
|
959
|
-
*
|
|
1057
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types or spot instances are configured.
|
|
960
1058
|
*
|
|
961
|
-
*
|
|
1059
|
+
* - `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).
|
|
962
1060
|
*
|
|
963
1061
|
* Default value: `PRIORITY`.
|
|
964
1062
|
*
|
|
@@ -968,7 +1066,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
968
1066
|
multiAzPolicy?: string;
|
|
969
1067
|
/**
|
|
970
1068
|
* @remarks
|
|
971
|
-
* The minimum number of
|
|
1069
|
+
* 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.
|
|
972
1070
|
*
|
|
973
1071
|
* @example
|
|
974
1072
|
* 0
|
|
@@ -976,7 +1074,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
976
1074
|
onDemandBaseCapacity?: number;
|
|
977
1075
|
/**
|
|
978
1076
|
* @remarks
|
|
979
|
-
* The percentage of
|
|
1077
|
+
* 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].
|
|
980
1078
|
*
|
|
981
1079
|
* @example
|
|
982
1080
|
* 20
|
|
@@ -984,10 +1082,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
984
1082
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
985
1083
|
/**
|
|
986
1084
|
* @remarks
|
|
987
|
-
* The subscription duration
|
|
1085
|
+
* 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.
|
|
988
1086
|
*
|
|
989
|
-
*
|
|
990
|
-
*
|
|
1087
|
+
* - When `period_unit=Week`, valid values: {1, 2, 3, 4}.
|
|
1088
|
+
*
|
|
1089
|
+
* - When `period_unit=Month`, valid values: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
991
1090
|
*
|
|
992
1091
|
* @example
|
|
993
1092
|
* 1
|
|
@@ -995,10 +1094,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
995
1094
|
period?: number;
|
|
996
1095
|
/**
|
|
997
1096
|
* @remarks
|
|
998
|
-
* The billing cycle
|
|
1097
|
+
* 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.
|
|
1098
|
+
*
|
|
1099
|
+
* - `Month`: Billed monthly.
|
|
999
1100
|
*
|
|
1000
|
-
*
|
|
1001
|
-
* * `Week`: The subscription duration is measured in weeks.
|
|
1101
|
+
* - `Week`: Billed weekly.
|
|
1002
1102
|
*
|
|
1003
1103
|
* Default value: `Month`.
|
|
1004
1104
|
*
|
|
@@ -1008,14 +1108,17 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1008
1108
|
periodUnit?: string;
|
|
1009
1109
|
/**
|
|
1010
1110
|
* @remarks
|
|
1011
|
-
*
|
|
1111
|
+
* [Deprecated] Use the `image_type` parameter instead.
|
|
1112
|
+
*
|
|
1113
|
+
* The operating system platform. Valid values:
|
|
1114
|
+
*
|
|
1115
|
+
* - `AliyunLinux`
|
|
1012
1116
|
*
|
|
1013
|
-
*
|
|
1117
|
+
* - `CentOS`
|
|
1014
1118
|
*
|
|
1015
|
-
*
|
|
1016
|
-
*
|
|
1017
|
-
*
|
|
1018
|
-
* * `WindowsCore`
|
|
1119
|
+
* - `Windows`
|
|
1120
|
+
*
|
|
1121
|
+
* - `WindowsCore`
|
|
1019
1122
|
*
|
|
1020
1123
|
* @example
|
|
1021
1124
|
* AliyunLinux
|
|
@@ -1025,30 +1128,39 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1025
1128
|
platform?: string;
|
|
1026
1129
|
/**
|
|
1027
1130
|
* @remarks
|
|
1028
|
-
* The
|
|
1131
|
+
* The private node pool configuration.
|
|
1029
1132
|
*/
|
|
1030
1133
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1031
1134
|
/**
|
|
1032
1135
|
* @remarks
|
|
1033
|
-
* The
|
|
1136
|
+
* The list of RDS instances.
|
|
1034
1137
|
*/
|
|
1035
1138
|
rdsInstances?: string[];
|
|
1139
|
+
/**
|
|
1140
|
+
* @remarks
|
|
1141
|
+
* 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.
|
|
1142
|
+
*/
|
|
1036
1143
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1037
1144
|
/**
|
|
1038
1145
|
* @remarks
|
|
1039
|
-
* The scaling mode
|
|
1146
|
+
* The scaling group mode. Valid values:
|
|
1040
1147
|
*
|
|
1041
|
-
*
|
|
1042
|
-
*
|
|
1148
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1149
|
+
*
|
|
1150
|
+
* - `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).
|
|
1043
1151
|
*
|
|
1044
1152
|
* @example
|
|
1045
1153
|
* release
|
|
1046
1154
|
*/
|
|
1047
1155
|
scalingPolicy?: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* @remarks
|
|
1158
|
+
* The list of security group IDs.
|
|
1159
|
+
*/
|
|
1048
1160
|
securityGroupIds?: string[];
|
|
1049
1161
|
/**
|
|
1050
1162
|
* @remarks
|
|
1051
|
-
* The number of instance types
|
|
1163
|
+
* 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].
|
|
1052
1164
|
*
|
|
1053
1165
|
* @example
|
|
1054
1166
|
* 5
|
|
@@ -1056,10 +1168,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1056
1168
|
spotInstancePools?: number;
|
|
1057
1169
|
/**
|
|
1058
1170
|
* @remarks
|
|
1059
|
-
*
|
|
1171
|
+
* 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:
|
|
1060
1172
|
*
|
|
1061
|
-
*
|
|
1062
|
-
*
|
|
1173
|
+
* - `true`: Enable spot instance replenishment.
|
|
1174
|
+
*
|
|
1175
|
+
* - `false`: Disable spot instance replenishment.
|
|
1063
1176
|
*
|
|
1064
1177
|
* @example
|
|
1065
1178
|
* false
|
|
@@ -1067,18 +1180,20 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1067
1180
|
spotInstanceRemedy?: boolean;
|
|
1068
1181
|
/**
|
|
1069
1182
|
* @remarks
|
|
1070
|
-
* The
|
|
1183
|
+
* The price range configuration for spot instances.
|
|
1071
1184
|
*/
|
|
1072
1185
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1073
1186
|
/**
|
|
1074
1187
|
* @remarks
|
|
1075
|
-
* The
|
|
1188
|
+
* The spot instance type. Valid values:
|
|
1189
|
+
*
|
|
1190
|
+
* - `NoSpot`: On-demand instance.
|
|
1191
|
+
*
|
|
1192
|
+
* - `SpotWithPriceLimit`: Set a price limit for spot instances.
|
|
1076
1193
|
*
|
|
1077
|
-
*
|
|
1078
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
1079
|
-
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
1194
|
+
* - `SpotAsPriceGo`: Let the system automatically bid at the current market price.
|
|
1080
1195
|
*
|
|
1081
|
-
* For more information, see [
|
|
1196
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1082
1197
|
*
|
|
1083
1198
|
* @example
|
|
1084
1199
|
* SpotWithPriceLimit
|
|
@@ -1086,12 +1201,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1086
1201
|
spotStrategy?: string;
|
|
1087
1202
|
/**
|
|
1088
1203
|
* @remarks
|
|
1089
|
-
*
|
|
1204
|
+
* Enable bursting for the system disk. Valid values:
|
|
1090
1205
|
*
|
|
1091
|
-
*
|
|
1092
|
-
* * false: disables the burst feature.
|
|
1206
|
+
* - true: Enable. During sudden spikes in read/write activity, the disk temporarily boosts performance until workloads return to normal.
|
|
1093
1207
|
*
|
|
1094
|
-
*
|
|
1208
|
+
* - false: Disable.
|
|
1209
|
+
*
|
|
1210
|
+
* 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).
|
|
1095
1211
|
*
|
|
1096
1212
|
* @example
|
|
1097
1213
|
* true
|
|
@@ -1099,18 +1215,22 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1099
1215
|
systemDiskBurstingEnabled?: boolean;
|
|
1100
1216
|
/**
|
|
1101
1217
|
* @remarks
|
|
1102
|
-
* The
|
|
1218
|
+
* The list of system disk types. If the highest-priority disk type is unavailable, the system tries the next priority disk type.
|
|
1103
1219
|
*/
|
|
1104
1220
|
systemDiskCategories?: string[];
|
|
1105
1221
|
/**
|
|
1106
1222
|
* @remarks
|
|
1107
|
-
* The
|
|
1223
|
+
* The system disk type for nodes. Valid values:
|
|
1224
|
+
*
|
|
1225
|
+
* - `cloud_efficiency`: Ultra disk.
|
|
1226
|
+
*
|
|
1227
|
+
* - `cloud_ssd`: Standard SSD.
|
|
1228
|
+
*
|
|
1229
|
+
* - `cloud_essd`: Enhanced SSD (ESSD).
|
|
1108
1230
|
*
|
|
1109
|
-
*
|
|
1110
|
-
*
|
|
1111
|
-
*
|
|
1112
|
-
* * `cloud_auto`: ESSD AutoPL disk.
|
|
1113
|
-
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
1231
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1232
|
+
*
|
|
1233
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1114
1234
|
*
|
|
1115
1235
|
* Default value: `cloud_efficiency`.
|
|
1116
1236
|
*
|
|
@@ -1120,7 +1240,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1120
1240
|
systemDiskCategory?: string;
|
|
1121
1241
|
/**
|
|
1122
1242
|
* @remarks
|
|
1123
|
-
* The encryption algorithm
|
|
1243
|
+
* The encryption algorithm for the system disk. Valid value: aes-256.
|
|
1124
1244
|
*
|
|
1125
1245
|
* @example
|
|
1126
1246
|
* aes-256
|
|
@@ -1128,10 +1248,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1128
1248
|
systemDiskEncryptAlgorithm?: string;
|
|
1129
1249
|
/**
|
|
1130
1250
|
* @remarks
|
|
1131
|
-
*
|
|
1251
|
+
* Encrypt the system disk. Valid values:
|
|
1252
|
+
*
|
|
1253
|
+
* - true: Encrypt.
|
|
1132
1254
|
*
|
|
1133
|
-
*
|
|
1134
|
-
* * false: does not encrypt the system disk.
|
|
1255
|
+
* - false: Do not encrypt.
|
|
1135
1256
|
*
|
|
1136
1257
|
* @example
|
|
1137
1258
|
* false
|
|
@@ -1139,7 +1260,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1139
1260
|
systemDiskEncrypted?: boolean;
|
|
1140
1261
|
/**
|
|
1141
1262
|
* @remarks
|
|
1142
|
-
* The
|
|
1263
|
+
* The KMS key ID for the system disk.
|
|
1143
1264
|
*
|
|
1144
1265
|
* @example
|
|
1145
1266
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1147,12 +1268,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1147
1268
|
systemDiskKmsKeyId?: string;
|
|
1148
1269
|
/**
|
|
1149
1270
|
* @remarks
|
|
1150
|
-
* The performance level
|
|
1271
|
+
* 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).
|
|
1272
|
+
*
|
|
1273
|
+
* - PL0: Moderate I/O performance with stable read/write latency.
|
|
1274
|
+
*
|
|
1275
|
+
* - PL1: Moderate I/O performance with stable read/write latency.
|
|
1151
1276
|
*
|
|
1152
|
-
*
|
|
1153
|
-
*
|
|
1154
|
-
*
|
|
1155
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1277
|
+
* - PL2: High I/O performance with stable read/write latency.
|
|
1278
|
+
*
|
|
1279
|
+
* - PL3: Extremely high I/O performance with extremely stable read/write latency.
|
|
1156
1280
|
*
|
|
1157
1281
|
* @example
|
|
1158
1282
|
* PL1
|
|
@@ -1160,11 +1284,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1160
1284
|
systemDiskPerformanceLevel?: string;
|
|
1161
1285
|
/**
|
|
1162
1286
|
* @remarks
|
|
1163
|
-
* The
|
|
1287
|
+
* The provisioned IOPS for the system disk.
|
|
1164
1288
|
*
|
|
1165
|
-
*
|
|
1289
|
+
* Possible values: 0 to min{50,000, 1000 × capacity − baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
1166
1290
|
*
|
|
1167
|
-
*
|
|
1291
|
+
* 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).
|
|
1168
1292
|
*
|
|
1169
1293
|
* @example
|
|
1170
1294
|
* 1000
|
|
@@ -1172,31 +1296,38 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1172
1296
|
systemDiskProvisionedIops?: number;
|
|
1173
1297
|
/**
|
|
1174
1298
|
* @remarks
|
|
1175
|
-
* The size of the system disk. Unit: GiB
|
|
1299
|
+
* The size of the system disk for nodes. Unit: GiB.
|
|
1176
1300
|
*
|
|
1177
|
-
* Valid values: 20
|
|
1301
|
+
* Valid values: [20, 2048].
|
|
1178
1302
|
*
|
|
1179
|
-
*
|
|
1303
|
+
* This value must be greater than or equal to max{20, ImageSize}.
|
|
1180
1304
|
*
|
|
1181
|
-
* Default value:
|
|
1305
|
+
* Default value: max{40, image size corresponding to ImageId}.
|
|
1182
1306
|
*
|
|
1183
1307
|
* @example
|
|
1184
1308
|
* 120
|
|
1185
1309
|
*/
|
|
1186
1310
|
systemDiskSize?: number;
|
|
1311
|
+
/**
|
|
1312
|
+
* @remarks
|
|
1313
|
+
* The snapshot policy for the system disk.
|
|
1314
|
+
*
|
|
1315
|
+
* @example
|
|
1316
|
+
* sp-0jl6xnmme8v7o935****
|
|
1317
|
+
*/
|
|
1187
1318
|
systemDiskSnapshotPolicyId?: string;
|
|
1188
1319
|
/**
|
|
1189
1320
|
* @remarks
|
|
1190
|
-
*
|
|
1321
|
+
* Add tags to ECS instances only.
|
|
1191
1322
|
*
|
|
1192
|
-
*
|
|
1323
|
+
* 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\\://".
|
|
1193
1324
|
*/
|
|
1194
1325
|
tags?: Tag[];
|
|
1195
1326
|
/**
|
|
1196
1327
|
* @remarks
|
|
1197
|
-
* The
|
|
1328
|
+
* The list of virtual switch IDs. Valid values: [1, 8].
|
|
1198
1329
|
*
|
|
1199
|
-
* >
|
|
1330
|
+
* > To ensure high availability, select virtual switches from different zones.
|
|
1200
1331
|
*/
|
|
1201
1332
|
vswitchIds?: string[];
|
|
1202
1333
|
static names(): { [key: string]: string } {
|
|
@@ -1343,10 +1474,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1343
1474
|
export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1344
1475
|
/**
|
|
1345
1476
|
* @remarks
|
|
1346
|
-
*
|
|
1477
|
+
* Enable the Kubernetes cluster for confidential computing. Valid values:
|
|
1478
|
+
*
|
|
1479
|
+
* - `true`: Enable.
|
|
1347
1480
|
*
|
|
1348
|
-
*
|
|
1349
|
-
* * `false`: disables confidential computing for the cluster.
|
|
1481
|
+
* - `false`: Disable.
|
|
1350
1482
|
*
|
|
1351
1483
|
* Default value: `false`.
|
|
1352
1484
|
*
|
|
@@ -1378,12 +1510,12 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1378
1510
|
export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1379
1511
|
/**
|
|
1380
1512
|
* @remarks
|
|
1381
|
-
* The
|
|
1513
|
+
* The auto scaling configuration.
|
|
1382
1514
|
*/
|
|
1383
1515
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1384
1516
|
/**
|
|
1385
1517
|
* @remarks
|
|
1386
|
-
*
|
|
1518
|
+
* Whether to run concurrently.
|
|
1387
1519
|
*
|
|
1388
1520
|
* @example
|
|
1389
1521
|
* true
|
|
@@ -1391,32 +1523,32 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1391
1523
|
concurrency?: boolean;
|
|
1392
1524
|
/**
|
|
1393
1525
|
* @remarks
|
|
1394
|
-
* The
|
|
1526
|
+
* The cluster-related configuration.
|
|
1395
1527
|
*/
|
|
1396
1528
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1397
1529
|
/**
|
|
1398
1530
|
* @remarks
|
|
1399
|
-
* The
|
|
1531
|
+
* The managed node pool configuration.
|
|
1400
1532
|
*/
|
|
1401
1533
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1402
1534
|
/**
|
|
1403
1535
|
* @remarks
|
|
1404
|
-
* The
|
|
1536
|
+
* The node pool configuration.
|
|
1405
1537
|
*/
|
|
1406
1538
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1407
1539
|
/**
|
|
1408
1540
|
* @remarks
|
|
1409
|
-
*
|
|
1541
|
+
* Node pool scaling group configuration.
|
|
1410
1542
|
*/
|
|
1411
1543
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1412
1544
|
/**
|
|
1413
1545
|
* @remarks
|
|
1414
|
-
* The
|
|
1546
|
+
* The configuration of the Kubernetes cluster for confidential computing.
|
|
1415
1547
|
*/
|
|
1416
1548
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1417
1549
|
/**
|
|
1418
1550
|
* @remarks
|
|
1419
|
-
*
|
|
1551
|
+
* Synchronously update node labels and taints.
|
|
1420
1552
|
*
|
|
1421
1553
|
* @example
|
|
1422
1554
|
* true
|