@alicloud/cs20151215 6.6.4 → 6.7.0
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 +220 -124
- package/dist/client.js +247 -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 +491 -284
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +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 +464 -214
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +396 -233
- 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 +353 -216
- 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 +277 -183
- 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/RunNodeOperationRequest.d.ts +22 -0
- package/dist/models/RunNodeOperationRequest.js +63 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -0
- package/dist/models/RunNodeOperationResponse.d.ts +19 -0
- package/dist/models/RunNodeOperationResponse.js +69 -0
- package/dist/models/RunNodeOperationResponse.js.map +1 -0
- package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
- package/dist/models/RunNodeOperationResponseBody.js +62 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
- 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 +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +251 -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 +493 -284
- package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
- 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 +466 -214
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +398 -233
- 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 +356 -217
- 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 +279 -183
- 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/RunNodeOperationRequest.ts +40 -0
- package/src/models/RunNodeOperationResponse.ts +40 -0
- package/src/models/RunNodeOperationResponseBody.ts +45 -0
- 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 +3 -0
|
@@ -10,6 +10,18 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* Specifies whether to enable the intelligent managed mode.
|
|
16
|
+
* Valid values:
|
|
17
|
+
*
|
|
18
|
+
* - true: Enables the intelligent managed mode. You can enable this mode only when the intelligent managed mode is enabled for the cluster.
|
|
19
|
+
*
|
|
20
|
+
* - false: Disables the intelligent managed mode.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* true
|
|
24
|
+
*/
|
|
13
25
|
enable?: boolean;
|
|
14
26
|
static names(): { [key: string]: string } {
|
|
15
27
|
return {
|
|
@@ -35,78 +47,73 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
35
47
|
export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
36
48
|
/**
|
|
37
49
|
* @remarks
|
|
38
|
-
* This parameter is deprecated.
|
|
39
|
-
*
|
|
40
|
-
* The maximum bandwidth of the EIP. Unit: Mbit/s.
|
|
50
|
+
* [This parameter is deprecated] Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
|
|
41
51
|
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
|
|
52
|
+
* The peak bandwidth of the EIP. Unit: Mbps.
|
|
45
53
|
*
|
|
46
54
|
* @example
|
|
47
|
-
*
|
|
55
|
+
* null
|
|
48
56
|
*
|
|
49
57
|
* @deprecated
|
|
50
58
|
*/
|
|
51
59
|
eipBandwidth?: number;
|
|
52
60
|
/**
|
|
53
61
|
* @remarks
|
|
54
|
-
* This parameter is deprecated.
|
|
55
|
-
*
|
|
56
|
-
* The metering method of the EIP. Valid values:
|
|
62
|
+
* [This parameter is deprecated] Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
|
|
57
63
|
*
|
|
58
|
-
*
|
|
59
|
-
* * `PayByTraffic`: pay-by-data-transfer.
|
|
64
|
+
* The billing method of the EIP. Valid values:
|
|
60
65
|
*
|
|
61
|
-
*
|
|
66
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
62
67
|
*
|
|
63
|
-
*
|
|
68
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
64
69
|
*
|
|
65
|
-
*
|
|
70
|
+
* Default value: `PayByBandwidth`.
|
|
66
71
|
*
|
|
67
72
|
* @example
|
|
68
|
-
*
|
|
73
|
+
* null
|
|
69
74
|
*
|
|
70
75
|
* @deprecated
|
|
71
76
|
*/
|
|
72
77
|
eipInternetChargeType?: string;
|
|
73
78
|
/**
|
|
74
79
|
* @remarks
|
|
75
|
-
* Specifies whether to enable auto scaling
|
|
80
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
81
|
+
*
|
|
82
|
+
* - `true`: Enables auto scaling for the node pool. If the resources planned for the cluster cannot meet the scheduling requirements of pods, Container Service for Kubernetes (ACK) automatically scales out or scales in nodes based on the configured minimum and maximum numbers of instances. For clusters of Kubernetes 1.24 or later, instant scaling is enabled by default. For clusters of a Kubernetes version earlier than 1.24, node autoscaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
76
83
|
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
84
|
+
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the value of \\`desired_size\\` to maintain a specific number of nodes.
|
|
85
|
+
*
|
|
86
|
+
* If you set this parameter to false, other parameters in \\`auto_scaling\\` do not take effect.
|
|
79
87
|
*
|
|
80
88
|
* Default value: `false`.
|
|
81
89
|
*
|
|
82
90
|
* @example
|
|
83
|
-
*
|
|
91
|
+
* false
|
|
84
92
|
*/
|
|
85
93
|
enable?: boolean;
|
|
86
94
|
/**
|
|
87
95
|
* @remarks
|
|
88
|
-
* This parameter is deprecated.
|
|
96
|
+
* [This parameter is deprecated] This parameter is deprecated. Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
|
|
89
97
|
*
|
|
90
|
-
* Specifies whether to associate an
|
|
98
|
+
* Specifies whether to associate an EIP with the node. Valid values:
|
|
91
99
|
*
|
|
92
|
-
*
|
|
93
|
-
* * `false`: does not associate an EIP with the node pool.
|
|
100
|
+
* - `true`: associates an EIP with the node.
|
|
94
101
|
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* **
|
|
102
|
+
* - `false`: does not associate an EIP with the node.
|
|
98
103
|
*
|
|
99
|
-
*
|
|
104
|
+
* Default value: `false`.
|
|
100
105
|
*
|
|
101
106
|
* @example
|
|
102
|
-
*
|
|
107
|
+
* null
|
|
103
108
|
*
|
|
104
109
|
* @deprecated
|
|
105
110
|
*/
|
|
106
111
|
isBondEip?: boolean;
|
|
107
112
|
/**
|
|
108
113
|
* @remarks
|
|
109
|
-
* The maximum number
|
|
114
|
+
* The maximum number of instances that can be created in the node pool. This does not include existing instances. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
|
|
115
|
+
*
|
|
116
|
+
* The value must be in the range of [\\`min_instances\\`, 2000]. Default value: 0.
|
|
110
117
|
*
|
|
111
118
|
* @example
|
|
112
119
|
* 10
|
|
@@ -114,7 +121,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
114
121
|
maxInstances?: number;
|
|
115
122
|
/**
|
|
116
123
|
* @remarks
|
|
117
|
-
* The minimum number
|
|
124
|
+
* The minimum number of instances that can be created in the node pool. This does not include existing instances. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
|
|
125
|
+
*
|
|
126
|
+
* The value must be in the range of [0, \\`max_instances\\`]. Default value: 0.
|
|
127
|
+
*
|
|
128
|
+
* > - If the minimum number of instances is not 0, the specified number of ECS instances are automatically created after the scaling group is created.
|
|
129
|
+
* >
|
|
130
|
+
* > - We recommend that you set the maximum number of instances to a value that is not smaller than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after auto scaling is enabled.
|
|
118
131
|
*
|
|
119
132
|
* @example
|
|
120
133
|
* 1
|
|
@@ -122,16 +135,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
122
135
|
minInstances?: number;
|
|
123
136
|
/**
|
|
124
137
|
* @remarks
|
|
125
|
-
* The
|
|
138
|
+
* The type of instances that are automatically scaled. This parameter takes effect only if \\`enable\\` is set to \\`true\\`. Valid values:
|
|
126
139
|
*
|
|
127
|
-
*
|
|
128
|
-
* * `gpu`: GPU-accelerated instance.
|
|
129
|
-
* * `gpushare`: shared GPU-accelerated instance.
|
|
130
|
-
* * `spot`: preemptible instance.
|
|
140
|
+
* - `cpu`: regular instance.
|
|
131
141
|
*
|
|
132
|
-
*
|
|
142
|
+
* - `gpu`: GPU-accelerated instance.
|
|
143
|
+
*
|
|
144
|
+
* - `gpushare`: shared GPU-accelerated instance.
|
|
133
145
|
*
|
|
134
|
-
*
|
|
146
|
+
* - `spot`: spot instance.
|
|
147
|
+
*
|
|
148
|
+
* Default value: `cpu`.
|
|
149
|
+
* >Notice: You cannot change the value of this parameter after the node pool is created.
|
|
135
150
|
*
|
|
136
151
|
* @example
|
|
137
152
|
* cpu
|
|
@@ -171,7 +186,21 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
171
186
|
}
|
|
172
187
|
|
|
173
188
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
189
|
+
/**
|
|
190
|
+
* @remarks
|
|
191
|
+
* The ID of the Lingjun cluster that you want to associate with the Lingjun node pool when you create the node pool.
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* i1169130516633730****
|
|
195
|
+
*/
|
|
174
196
|
clusterId?: string;
|
|
197
|
+
/**
|
|
198
|
+
* @remarks
|
|
199
|
+
* The ID of the Lingjun group in the Lingjun cluster that you want to associate with the Lingjun node pool when you create the node pool.
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* ng-ec3c96ff0aa****
|
|
203
|
+
*/
|
|
175
204
|
groupId?: string;
|
|
176
205
|
static names(): { [key: string]: string } {
|
|
177
206
|
return {
|
|
@@ -199,52 +228,52 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
199
228
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
200
229
|
/**
|
|
201
230
|
* @remarks
|
|
202
|
-
* This parameter is deprecated
|
|
231
|
+
* [This parameter is deprecated]
|
|
203
232
|
*
|
|
204
|
-
* The bandwidth of the enhanced edge node pool. Unit:
|
|
233
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
205
234
|
*
|
|
206
235
|
* @example
|
|
207
|
-
*
|
|
236
|
+
* null
|
|
208
237
|
*/
|
|
209
238
|
bandwidth?: number;
|
|
210
239
|
/**
|
|
211
240
|
* @remarks
|
|
212
|
-
* This parameter is deprecated
|
|
241
|
+
* [This parameter is deprecated]
|
|
213
242
|
*
|
|
214
|
-
* The ID of the
|
|
243
|
+
* The ID of the CCN instance that is associated with the enhanced edge node pool.
|
|
215
244
|
*
|
|
216
245
|
* @example
|
|
217
|
-
*
|
|
246
|
+
* null
|
|
218
247
|
*/
|
|
219
248
|
ccnId?: string;
|
|
220
249
|
/**
|
|
221
250
|
* @remarks
|
|
222
|
-
* This parameter is deprecated
|
|
251
|
+
* [This parameter is deprecated]
|
|
223
252
|
*
|
|
224
|
-
* The region
|
|
253
|
+
* The region of the CCN instance that is associated with the enhanced edge node pool.
|
|
225
254
|
*
|
|
226
255
|
* @example
|
|
227
|
-
*
|
|
256
|
+
* null
|
|
228
257
|
*/
|
|
229
258
|
ccnRegionId?: string;
|
|
230
259
|
/**
|
|
231
260
|
* @remarks
|
|
232
|
-
* This parameter is deprecated
|
|
261
|
+
* [This parameter is deprecated]
|
|
233
262
|
*
|
|
234
|
-
* The ID of the
|
|
263
|
+
* The ID of the CEN instance that is associated with the enhanced edge node pool.
|
|
235
264
|
*
|
|
236
265
|
* @example
|
|
237
|
-
*
|
|
266
|
+
* null
|
|
238
267
|
*/
|
|
239
268
|
cenId?: string;
|
|
240
269
|
/**
|
|
241
270
|
* @remarks
|
|
242
|
-
* This parameter is deprecated
|
|
271
|
+
* [This parameter is deprecated]
|
|
243
272
|
*
|
|
244
|
-
* The subscription duration of the enhanced edge node pool.
|
|
273
|
+
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
245
274
|
*
|
|
246
275
|
* @example
|
|
247
|
-
*
|
|
276
|
+
* null
|
|
248
277
|
*/
|
|
249
278
|
improvedPeriod?: string;
|
|
250
279
|
static names(): { [key: string]: string } {
|
|
@@ -279,23 +308,25 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
279
308
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
280
309
|
/**
|
|
281
310
|
* @remarks
|
|
282
|
-
* Specifies whether to install
|
|
311
|
+
* Specifies whether to install Cloud Monitor on the ECS nodes. After Cloud Monitor is installed, you can view the monitoring information of the created ECS instances in the Cloud Monitor console. We recommend that you enable this feature. Valid values:
|
|
312
|
+
*
|
|
313
|
+
* - `true`: Installs Cloud Monitor on the ECS nodes.
|
|
283
314
|
*
|
|
284
|
-
*
|
|
285
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
315
|
+
* - `false`: Does not install Cloud Monitor on the ECS nodes.
|
|
286
316
|
*
|
|
287
|
-
* Default value: `false
|
|
317
|
+
* Default value: `false`.
|
|
288
318
|
*
|
|
289
319
|
* @example
|
|
290
|
-
*
|
|
320
|
+
* false
|
|
291
321
|
*/
|
|
292
322
|
cmsEnabled?: boolean;
|
|
293
323
|
/**
|
|
294
324
|
* @remarks
|
|
295
|
-
* The CPU management policy of
|
|
325
|
+
* The CPU management policy of the node. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
296
326
|
*
|
|
297
|
-
*
|
|
298
|
-
*
|
|
327
|
+
* - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
328
|
+
*
|
|
329
|
+
* - `none`: Enables the default CPU affinity scheme.
|
|
299
330
|
*
|
|
300
331
|
* Default value: `none`.
|
|
301
332
|
*
|
|
@@ -305,25 +336,38 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
305
336
|
cpuPolicy?: string;
|
|
306
337
|
/**
|
|
307
338
|
* @remarks
|
|
308
|
-
* The labels that you want to add to the nodes in the cluster.
|
|
339
|
+
* The labels that you want to add to the nodes in the Kubernetes cluster.
|
|
309
340
|
*/
|
|
310
341
|
labels?: Tag[];
|
|
311
342
|
/**
|
|
312
343
|
* @remarks
|
|
313
|
-
*
|
|
344
|
+
* The custom node name. If you customize the node name, the node name, ECS instance name, and ECS instance hostname are changed.
|
|
345
|
+
*
|
|
346
|
+
* > For Windows instances for which custom node names are enabled, the hostname is fixed as the IP address. Hyphens (-) are used to replace periods (.) in the IP address. The hostname does not contain a prefix or a suffix.
|
|
347
|
+
*
|
|
348
|
+
* A node name consists of a prefix, the node IP address, and a suffix.
|
|
314
349
|
*
|
|
315
|
-
*
|
|
316
|
-
* * The node IP address in a custom node name is the private IP address of the node.
|
|
350
|
+
* - The total length must be 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
317
351
|
*
|
|
318
|
-
*
|
|
352
|
+
* - The prefix and suffix can contain uppercase letters, lowercase letters, digits, hyphens (-), and periods (.). They must start with an uppercase or lowercase letter. They cannot start or end with a hyphen (-) or a period (.). You cannot use consecutive hyphens (-)or periods (.). You cannot use consecutive hyphens (-) or periods (.).
|
|
353
|
+
*
|
|
354
|
+
* - The prefix is required (due to an ECS limit). The suffix is optional.
|
|
355
|
+
*
|
|
356
|
+
* - The node IP address is the complete private IP address of the node.
|
|
357
|
+
*
|
|
358
|
+
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
|
|
359
|
+
*
|
|
360
|
+
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
361
|
+
*
|
|
362
|
+
* - If the node is a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
319
363
|
*
|
|
320
364
|
* @example
|
|
321
|
-
*
|
|
365
|
+
* aliyun.com192.XX.YY.55test
|
|
322
366
|
*/
|
|
323
367
|
nodeNameMode?: string;
|
|
324
368
|
/**
|
|
325
369
|
* @remarks
|
|
326
|
-
* The
|
|
370
|
+
* The pre-join instance user data. The specified user data script is run before the node joins the cluster. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
327
371
|
*
|
|
328
372
|
* @example
|
|
329
373
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -331,16 +375,18 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
331
375
|
preUserData?: string;
|
|
332
376
|
/**
|
|
333
377
|
* @remarks
|
|
334
|
-
* The name of the container runtime.
|
|
378
|
+
* The name of the container runtime. ACK supports the following three container runtimes.
|
|
379
|
+
*
|
|
380
|
+
* - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
|
|
335
381
|
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
*
|
|
382
|
+
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 or earlier.
|
|
383
|
+
*
|
|
384
|
+
* - docker: no longer maintained. It is supported by clusters of Kubernetes 1.22 or earlier.
|
|
339
385
|
*
|
|
340
386
|
* Default value: containerd.
|
|
341
387
|
*
|
|
342
388
|
* @example
|
|
343
|
-
*
|
|
389
|
+
* containerd
|
|
344
390
|
*/
|
|
345
391
|
runtime?: string;
|
|
346
392
|
/**
|
|
@@ -348,17 +394,21 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
348
394
|
* The version of the container runtime.
|
|
349
395
|
*
|
|
350
396
|
* @example
|
|
351
|
-
*
|
|
397
|
+
* 1.6.38
|
|
352
398
|
*/
|
|
353
399
|
runtimeVersion?: string;
|
|
354
400
|
/**
|
|
355
401
|
* @remarks
|
|
356
|
-
* The configurations
|
|
402
|
+
* The taint configurations.
|
|
357
403
|
*/
|
|
358
404
|
taints?: Taint[];
|
|
359
405
|
/**
|
|
360
406
|
* @remarks
|
|
361
|
-
* Specifies whether the
|
|
407
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
408
|
+
*
|
|
409
|
+
* - true: The nodes are unschedulable.
|
|
410
|
+
*
|
|
411
|
+
* - false: The nodes are schedulable.
|
|
362
412
|
*
|
|
363
413
|
* @example
|
|
364
414
|
* true
|
|
@@ -366,7 +416,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
366
416
|
unschedulable?: boolean;
|
|
367
417
|
/**
|
|
368
418
|
* @remarks
|
|
369
|
-
* The user
|
|
419
|
+
* The instance user data. After the node joins the cluster, the specified user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
370
420
|
*
|
|
371
421
|
* @example
|
|
372
422
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -418,15 +468,20 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
418
468
|
}
|
|
419
469
|
|
|
420
470
|
export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
471
|
+
/**
|
|
472
|
+
* @remarks
|
|
473
|
+
* Specifies whether manual approval is required for node repair.
|
|
474
|
+
*/
|
|
421
475
|
approvalRequired?: boolean;
|
|
422
476
|
/**
|
|
423
477
|
* @remarks
|
|
424
|
-
* Specifies whether to allow node restart. This parameter takes effect only
|
|
478
|
+
* Specifies whether to allow node restart. This parameter takes effect only if \\`auto_repair\\` is set to \\`true\\`. Valid values:
|
|
425
479
|
*
|
|
426
|
-
*
|
|
427
|
-
* * `false`: does not allow node restart.
|
|
480
|
+
* - `true`: Allows node restart.
|
|
428
481
|
*
|
|
429
|
-
*
|
|
482
|
+
* - `false`: Disallows node restart.
|
|
483
|
+
*
|
|
484
|
+
* Default value: `true`
|
|
430
485
|
*
|
|
431
486
|
* @example
|
|
432
487
|
* true
|
|
@@ -458,12 +513,13 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
458
513
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
459
514
|
/**
|
|
460
515
|
* @remarks
|
|
461
|
-
* Specifies whether to allow
|
|
516
|
+
* Specifies whether to allow auto kubelet upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
|
|
517
|
+
*
|
|
518
|
+
* - `true`: Allows auto kubelet upgrade.
|
|
462
519
|
*
|
|
463
|
-
*
|
|
464
|
-
* * `false`: does not allow the auto upgrade of the kubelet.
|
|
520
|
+
* - `false`: Disallows auto kubelet upgrade.
|
|
465
521
|
*
|
|
466
|
-
*
|
|
522
|
+
* Default value: `true`.
|
|
467
523
|
*
|
|
468
524
|
* @example
|
|
469
525
|
* true
|
|
@@ -471,10 +527,11 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
471
527
|
autoUpgradeKubelet?: boolean;
|
|
472
528
|
/**
|
|
473
529
|
* @remarks
|
|
474
|
-
* Specifies whether to allow
|
|
530
|
+
* Specifies whether to allow auto OS upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
|
|
531
|
+
*
|
|
532
|
+
* - `true`: Allows auto OS upgrade.
|
|
475
533
|
*
|
|
476
|
-
*
|
|
477
|
-
* * `false`: does not allow the auto upgrade of the OS.
|
|
534
|
+
* - `false`: Disallows auto OS upgrade.
|
|
478
535
|
*
|
|
479
536
|
* Default value: `false`.
|
|
480
537
|
*
|
|
@@ -484,12 +541,13 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
484
541
|
autoUpgradeOs?: boolean;
|
|
485
542
|
/**
|
|
486
543
|
* @remarks
|
|
487
|
-
* Specifies whether to allow
|
|
544
|
+
* Specifies whether to allow auto runtime upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
|
|
488
545
|
*
|
|
489
|
-
*
|
|
490
|
-
* * `false`: does not allow the auto upgrade of the runtime.
|
|
546
|
+
* - `true`: Allows auto runtime upgrade.
|
|
491
547
|
*
|
|
492
|
-
*
|
|
548
|
+
* - `false`: Disallows auto runtime upgrade.
|
|
549
|
+
*
|
|
550
|
+
* Default value: `true`.
|
|
493
551
|
*
|
|
494
552
|
* @example
|
|
495
553
|
* false
|
|
@@ -521,27 +579,41 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
521
579
|
}
|
|
522
580
|
|
|
523
581
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
582
|
+
/**
|
|
583
|
+
* @remarks
|
|
584
|
+
* The packages that should be excluded from vulnerability fixing.
|
|
585
|
+
*
|
|
586
|
+
* Default value: `kernel`.
|
|
587
|
+
*
|
|
588
|
+
* @example
|
|
589
|
+
* kernel
|
|
590
|
+
*/
|
|
524
591
|
excludePackages?: string;
|
|
525
592
|
/**
|
|
526
593
|
* @remarks
|
|
527
|
-
* Specifies whether to allow node restart. This parameter takes effect only
|
|
594
|
+
* Specifies whether to allow node restart. This parameter takes effect only if \\`auto_vul_fix\\` is set to \\`true\\`. Valid values:
|
|
595
|
+
*
|
|
596
|
+
* - `true`: Allows node restart.
|
|
528
597
|
*
|
|
529
|
-
*
|
|
530
|
-
*
|
|
598
|
+
* - `false`: Disallows node restart.
|
|
599
|
+
*
|
|
600
|
+
* Default value: `true`
|
|
531
601
|
*
|
|
532
602
|
* @example
|
|
533
|
-
*
|
|
603
|
+
* false
|
|
534
604
|
*/
|
|
535
605
|
restartNode?: boolean;
|
|
536
606
|
/**
|
|
537
607
|
* @remarks
|
|
538
|
-
* The
|
|
608
|
+
* The vulnerability levels that are allowed to be automatically fixed. Separate multiple levels with commas. Example: `asap,later`. Supported vulnerability levels:
|
|
539
609
|
*
|
|
540
|
-
*
|
|
541
|
-
* * `later`: medium.
|
|
542
|
-
* * `nntf`: low.
|
|
610
|
+
* - `asap`: high
|
|
543
611
|
*
|
|
544
|
-
*
|
|
612
|
+
* - `later`: medium
|
|
613
|
+
*
|
|
614
|
+
* - `nntf`: low
|
|
615
|
+
*
|
|
616
|
+
* Default value: `asap`.
|
|
545
617
|
*
|
|
546
618
|
* @example
|
|
547
619
|
* asap,nntf
|
|
@@ -575,24 +647,24 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
575
647
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
576
648
|
/**
|
|
577
649
|
* @remarks
|
|
578
|
-
*
|
|
650
|
+
* [This parameter is deprecated] Use the \\`auto_upgrade\\` parameter instead.
|
|
579
651
|
*
|
|
580
|
-
*
|
|
581
|
-
* * `false`: disables auto OS upgrade.
|
|
652
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
582
653
|
*
|
|
583
|
-
*
|
|
654
|
+
* - `true`: enables auto upgrade.
|
|
584
655
|
*
|
|
585
|
-
*
|
|
656
|
+
* - `false`: disables auto upgrade.
|
|
586
657
|
*
|
|
587
658
|
* @example
|
|
588
|
-
*
|
|
659
|
+
* null
|
|
589
660
|
*
|
|
590
661
|
* @deprecated
|
|
591
662
|
*/
|
|
592
663
|
autoUpgrade?: boolean;
|
|
593
664
|
/**
|
|
594
665
|
* @remarks
|
|
595
|
-
* The maximum number of nodes
|
|
666
|
+
* The maximum number of unavailable nodes.
|
|
667
|
+
* The value must be in the range of [1, 1000].
|
|
596
668
|
*
|
|
597
669
|
* Default value: 1.
|
|
598
670
|
*
|
|
@@ -602,7 +674,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
602
674
|
maxUnavailable?: number;
|
|
603
675
|
/**
|
|
604
676
|
* @remarks
|
|
605
|
-
* The number of nodes
|
|
677
|
+
* The number of extra nodes. You can specify only one of \\`surge\\` and \\`surge_percentage\\`.
|
|
678
|
+
*
|
|
679
|
+
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the load on the cluster.
|
|
680
|
+
*
|
|
681
|
+
* > We recommend that the number of extra nodes does not exceed the current number of nodes.
|
|
606
682
|
*
|
|
607
683
|
* @example
|
|
608
684
|
* 0
|
|
@@ -610,7 +686,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
610
686
|
surge?: number;
|
|
611
687
|
/**
|
|
612
688
|
* @remarks
|
|
613
|
-
* The percentage of
|
|
689
|
+
* The percentage of extra nodes. You can specify only one of \\`surge\\` and \\`surge_percentage\\`.
|
|
690
|
+
*
|
|
691
|
+
* Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if you set the percentage of extra nodes to 50% and the number of existing nodes is 6, three extra nodes are created.
|
|
614
692
|
*
|
|
615
693
|
* @example
|
|
616
694
|
* 0
|
|
@@ -644,17 +722,19 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
644
722
|
}
|
|
645
723
|
|
|
646
724
|
export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
725
|
+
autoFaultDiagnosis?: boolean;
|
|
647
726
|
/**
|
|
648
727
|
* @remarks
|
|
649
|
-
* Specifies whether to enable auto node repair. This parameter takes effect only
|
|
728
|
+
* Specifies whether to enable auto node repair. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
|
|
729
|
+
*
|
|
730
|
+
* - `true`: Enables auto node repair.
|
|
650
731
|
*
|
|
651
|
-
*
|
|
652
|
-
* * `false`: disables auto node repair.
|
|
732
|
+
* - `false`: Disables auto node repair.
|
|
653
733
|
*
|
|
654
|
-
*
|
|
734
|
+
* Default value: `true`
|
|
655
735
|
*
|
|
656
736
|
* @example
|
|
657
|
-
*
|
|
737
|
+
* true
|
|
658
738
|
*/
|
|
659
739
|
autoRepair?: boolean;
|
|
660
740
|
/**
|
|
@@ -664,12 +744,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
664
744
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
665
745
|
/**
|
|
666
746
|
* @remarks
|
|
667
|
-
* Specifies whether to enable auto node upgrade. This parameter takes effect only
|
|
747
|
+
* Specifies whether to enable auto node upgrade. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
|
|
748
|
+
*
|
|
749
|
+
* - `true`: Enables auto node upgrade.
|
|
668
750
|
*
|
|
669
|
-
*
|
|
670
|
-
* * `false`: disables auto node upgrade.
|
|
751
|
+
* - `false`: Disables auto node upgrade.
|
|
671
752
|
*
|
|
672
|
-
*
|
|
753
|
+
* Default value: `true`.
|
|
673
754
|
*
|
|
674
755
|
* @example
|
|
675
756
|
* true
|
|
@@ -682,12 +763,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
682
763
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
683
764
|
/**
|
|
684
765
|
* @remarks
|
|
685
|
-
* Specifies whether to
|
|
766
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
|
|
686
767
|
*
|
|
687
|
-
*
|
|
688
|
-
* * `false`: disables auto CVE patching.
|
|
768
|
+
* - `true`: Automatically fixes CVE vulnerabilities.
|
|
689
769
|
*
|
|
690
|
-
*
|
|
770
|
+
* - `false`: Does not automatically fix CVE vulnerabilities.
|
|
771
|
+
*
|
|
772
|
+
* Default value: `true`.
|
|
691
773
|
*
|
|
692
774
|
* @example
|
|
693
775
|
* true
|
|
@@ -695,15 +777,16 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
695
777
|
autoVulFix?: boolean;
|
|
696
778
|
/**
|
|
697
779
|
* @remarks
|
|
698
|
-
* The
|
|
780
|
+
* The policy for automatically fixing CVE vulnerabilities.
|
|
699
781
|
*/
|
|
700
782
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
701
783
|
/**
|
|
702
784
|
* @remarks
|
|
703
785
|
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
704
786
|
*
|
|
705
|
-
*
|
|
706
|
-
*
|
|
787
|
+
* - `true`: Enables the managed node pool feature.
|
|
788
|
+
*
|
|
789
|
+
* - `false`: Disables the managed node pool feature. If you set this parameter to \\`false\\`, the other parameters of \\`management\\` do not take effect.
|
|
707
790
|
*
|
|
708
791
|
* Default value: false.
|
|
709
792
|
*
|
|
@@ -713,13 +796,16 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
713
796
|
enable?: boolean;
|
|
714
797
|
/**
|
|
715
798
|
* @remarks
|
|
716
|
-
*
|
|
799
|
+
* [This parameter is deprecated] Use the \\`auto_upgrade\\` parameter instead.
|
|
800
|
+
*
|
|
801
|
+
* The auto upgrade configurations. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
|
|
717
802
|
*
|
|
718
803
|
* @deprecated
|
|
719
804
|
*/
|
|
720
805
|
upgradeConfig?: CreateClusterNodePoolRequestManagementUpgradeConfig;
|
|
721
806
|
static names(): { [key: string]: string } {
|
|
722
807
|
return {
|
|
808
|
+
autoFaultDiagnosis: 'auto_fault_diagnosis',
|
|
723
809
|
autoRepair: 'auto_repair',
|
|
724
810
|
autoRepairPolicy: 'auto_repair_policy',
|
|
725
811
|
autoUpgrade: 'auto_upgrade',
|
|
@@ -733,6 +819,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
733
819
|
|
|
734
820
|
static types(): { [key: string]: any } {
|
|
735
821
|
return {
|
|
822
|
+
autoFaultDiagnosis: 'boolean',
|
|
736
823
|
autoRepair: 'boolean',
|
|
737
824
|
autoRepairPolicy: CreateClusterNodePoolRequestManagementAutoRepairPolicy,
|
|
738
825
|
autoUpgrade: 'boolean',
|
|
@@ -766,6 +853,10 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
766
853
|
}
|
|
767
854
|
|
|
768
855
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
856
|
+
/**
|
|
857
|
+
* @remarks
|
|
858
|
+
* The custom configurations of the node component.
|
|
859
|
+
*/
|
|
769
860
|
customConfig?: { [key: string]: string };
|
|
770
861
|
static names(): { [key: string]: string } {
|
|
771
862
|
return {
|
|
@@ -792,13 +883,23 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
792
883
|
}
|
|
793
884
|
|
|
794
885
|
export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
886
|
+
/**
|
|
887
|
+
* @remarks
|
|
888
|
+
* The configurations of the node component.
|
|
889
|
+
*/
|
|
795
890
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
796
891
|
/**
|
|
892
|
+
* @remarks
|
|
893
|
+
* The name of the node component.
|
|
894
|
+
*
|
|
797
895
|
* @example
|
|
798
896
|
* kubelet
|
|
799
897
|
*/
|
|
800
898
|
name?: string;
|
|
801
899
|
/**
|
|
900
|
+
* @remarks
|
|
901
|
+
* The version of the node component.
|
|
902
|
+
*
|
|
802
903
|
* @example
|
|
803
904
|
* 1.33.3-aliyun.1
|
|
804
905
|
*/
|
|
@@ -834,7 +935,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
834
935
|
export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
835
936
|
/**
|
|
836
937
|
* @remarks
|
|
837
|
-
* The
|
|
938
|
+
* The Kubelet parameter settings.
|
|
838
939
|
*/
|
|
839
940
|
kubeletConfiguration?: KubeletConfig;
|
|
840
941
|
static names(): { [key: string]: string } {
|
|
@@ -869,12 +970,14 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
869
970
|
* This parameter is required.
|
|
870
971
|
*
|
|
871
972
|
* @example
|
|
872
|
-
*
|
|
973
|
+
* nodepool-test
|
|
873
974
|
*/
|
|
874
975
|
name?: string;
|
|
875
976
|
/**
|
|
876
977
|
* @remarks
|
|
877
|
-
* The ID of the resource group
|
|
978
|
+
* The ID of the resource group. Instances that are created in the node pool belong to this resource group.
|
|
979
|
+
*
|
|
980
|
+
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
|
|
878
981
|
*
|
|
879
982
|
* @example
|
|
880
983
|
* rg-acfmyvw3wjmb****
|
|
@@ -882,11 +985,15 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
882
985
|
resourceGroupId?: string;
|
|
883
986
|
/**
|
|
884
987
|
* @remarks
|
|
885
|
-
* The type of node pool. Valid values:
|
|
988
|
+
* The type of the node pool. Valid values:
|
|
886
989
|
*
|
|
887
|
-
*
|
|
888
|
-
*
|
|
889
|
-
*
|
|
990
|
+
* - `ess`: a regular node pool. This type of node pool provides managed features and auto scaling.
|
|
991
|
+
*
|
|
992
|
+
* - `edge`: an edge node pool.
|
|
993
|
+
*
|
|
994
|
+
* - `lingjun`: a Lingjun node pool.
|
|
995
|
+
*
|
|
996
|
+
* - `hybrid`: a hybrid cloud node pool.
|
|
890
997
|
*
|
|
891
998
|
* @example
|
|
892
999
|
* ess
|
|
@@ -920,7 +1027,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
920
1027
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
921
1028
|
/**
|
|
922
1029
|
* @remarks
|
|
923
|
-
* The ID of the private
|
|
1030
|
+
* The ID of the private pool. You must specify the private pool ID when \\`match_criteria\\` is set to \\`Target\\`.
|
|
924
1031
|
*
|
|
925
1032
|
* @example
|
|
926
1033
|
* eap-bp67acfmxazb4****
|
|
@@ -928,14 +1035,16 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
928
1035
|
id?: string;
|
|
929
1036
|
/**
|
|
930
1037
|
* @remarks
|
|
931
|
-
* The type of private
|
|
1038
|
+
* The type of the private pool. This parameter specifies the capacity of the private pool that you want to use to launch instances. An elastic assurance service or a capacity reservation service takes effect after it is generated. You can select a capacity type when you launch an instance. Valid values:
|
|
932
1039
|
*
|
|
933
|
-
*
|
|
934
|
-
*
|
|
935
|
-
*
|
|
1040
|
+
* - `Open`: Open mode. The system automatically matches the capacity of open private pools. If no matching private pool is found, the instance is launched using public pool resources.
|
|
1041
|
+
*
|
|
1042
|
+
* - `Target`: Target mode. The instance is launched using the capacity of the specified private pool. If the capacity of the private pool is unavailable, the instance fails to be launched.
|
|
1043
|
+
*
|
|
1044
|
+
* - `None`: The instance is launched without using the capacity of a private pool.
|
|
936
1045
|
*
|
|
937
1046
|
* @example
|
|
938
|
-
*
|
|
1047
|
+
* Target
|
|
939
1048
|
*/
|
|
940
1049
|
matchCriteria?: string;
|
|
941
1050
|
static names(): { [key: string]: string } {
|
|
@@ -962,8 +1071,19 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
962
1071
|
}
|
|
963
1072
|
|
|
964
1073
|
export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1074
|
+
/**
|
|
1075
|
+
* @remarks
|
|
1076
|
+
* A list of private pool IDs. These are the IDs of elastic assurance services or capacity reservation services. You can only specify the IDs of private pools in Target mode. The number of IDs must be in the range of 1 to 20.
|
|
1077
|
+
*/
|
|
965
1078
|
privatePoolIds?: string[];
|
|
966
1079
|
/**
|
|
1080
|
+
* @remarks
|
|
1081
|
+
* 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:
|
|
1082
|
+
* PrivatePoolFirst: Prioritizes private pools. If you specify \\`resouce_pool_options.private_pool_ids\\`, the specified private pools are used first. If no private pool is specified or the specified pools have insufficient capacity, the system automatically tries to use open private pools. If no suitable private pool is found, the public pool is used.
|
|
1083
|
+
* PrivatePoolOnly: Uses only private pools. You must specify \\`resouce_pool_options.private_pool_ids\\`. If the specified private pools have insufficient capacity, the instance fails to launch.
|
|
1084
|
+
* None: No resource pool policy is used.
|
|
1085
|
+
* Default value: None.
|
|
1086
|
+
*
|
|
967
1087
|
* @example
|
|
968
1088
|
* PrivatePoolFirst
|
|
969
1089
|
*/
|
|
@@ -997,7 +1117,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
997
1117
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
998
1118
|
/**
|
|
999
1119
|
* @remarks
|
|
1000
|
-
* The instance type of
|
|
1120
|
+
* The instance type of the spot instance.
|
|
1001
1121
|
*
|
|
1002
1122
|
* @example
|
|
1003
1123
|
* ecs.c6.large
|
|
@@ -1005,7 +1125,11 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1005
1125
|
instanceType?: string;
|
|
1006
1126
|
/**
|
|
1007
1127
|
* @remarks
|
|
1008
|
-
* The price
|
|
1128
|
+
* The maximum bid price for a single instance.
|
|
1129
|
+
*
|
|
1130
|
+
* <props="intl">
|
|
1131
|
+
*
|
|
1132
|
+
* Unit: USD/hour.
|
|
1009
1133
|
*
|
|
1010
1134
|
* @example
|
|
1011
1135
|
* 0.39
|
|
@@ -1037,7 +1161,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1037
1161
|
export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
1038
1162
|
/**
|
|
1039
1163
|
* @remarks
|
|
1040
|
-
* The tag
|
|
1164
|
+
* The name of the tag.
|
|
1041
1165
|
*
|
|
1042
1166
|
* @example
|
|
1043
1167
|
* node-k-1
|
|
@@ -1077,10 +1201,11 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1077
1201
|
export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
1078
1202
|
/**
|
|
1079
1203
|
* @remarks
|
|
1080
|
-
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only
|
|
1204
|
+
* Specifies whether to enable auto-renewal for the nodes in the node pool. This parameter takes effect only if \\`instance_charge_type\\` is set to \\`PrePaid\\`. Valid values:
|
|
1081
1205
|
*
|
|
1082
|
-
*
|
|
1083
|
-
*
|
|
1206
|
+
* - `true`: enables auto-renewal.
|
|
1207
|
+
*
|
|
1208
|
+
* - `false`: disables auto-renewal.
|
|
1084
1209
|
*
|
|
1085
1210
|
* Default value: `false`.
|
|
1086
1211
|
*
|
|
@@ -1092,8 +1217,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1092
1217
|
* @remarks
|
|
1093
1218
|
* The auto-renewal period. Valid values:
|
|
1094
1219
|
*
|
|
1095
|
-
*
|
|
1096
|
-
*
|
|
1220
|
+
* - If \\`PeriodUnit\\` is set to \\`Week\\`: 1, 2, and 3.
|
|
1221
|
+
*
|
|
1222
|
+
* - If \\`PeriodUnit\\` is set to \\`Month\\`: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1097
1223
|
*
|
|
1098
1224
|
* Default value: 1.
|
|
1099
1225
|
*
|
|
@@ -1103,20 +1229,21 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1103
1229
|
autoRenewPeriod?: number;
|
|
1104
1230
|
/**
|
|
1105
1231
|
* @remarks
|
|
1106
|
-
*
|
|
1232
|
+
* [Deprecated] Use the \\`security_hardening_os\\` parameter instead.
|
|
1107
1233
|
*
|
|
1108
1234
|
* @example
|
|
1109
|
-
*
|
|
1235
|
+
* null
|
|
1110
1236
|
*
|
|
1111
1237
|
* @deprecated
|
|
1112
1238
|
*/
|
|
1113
1239
|
cisEnabled?: boolean;
|
|
1114
1240
|
/**
|
|
1115
1241
|
* @remarks
|
|
1116
|
-
* Specifies whether to automatically create pay-as-you-go instances to meet the
|
|
1242
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the instance quantity requirement when \\`multi_az_policy\\` is set to \\`COST_OPTIMIZED\\` and spot instances cannot be created due to issues such as price or insufficient inventory. Valid values:
|
|
1117
1243
|
*
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1244
|
+
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
1245
|
+
*
|
|
1246
|
+
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
1120
1247
|
*
|
|
1121
1248
|
* @example
|
|
1122
1249
|
* true
|
|
@@ -1124,12 +1251,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1124
1251
|
compensateWithOnDemand?: boolean;
|
|
1125
1252
|
/**
|
|
1126
1253
|
* @remarks
|
|
1127
|
-
* The configurations of the
|
|
1254
|
+
* The data disk configurations of the nodes in the node pool.
|
|
1128
1255
|
*/
|
|
1129
1256
|
dataDisks?: DataDisk[];
|
|
1130
1257
|
/**
|
|
1131
1258
|
* @remarks
|
|
1132
|
-
* The ID of the deployment set.
|
|
1259
|
+
* The ID of the deployment set. You can use a deployment set to distribute the ECS instances created in the node pool across different physical servers to ensure high availability and underlying disaster recovery. When you create ECS instances in a deployment set, the instances are launched in the specified region based on the deployment strategy that you set.
|
|
1260
|
+
*
|
|
1261
|
+
* >Notice:
|
|
1262
|
+
*
|
|
1263
|
+
* After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports a maximum of 20 × Number of zones (the number of zones is determined by the vSwitches) nodes. Select a deployment set with sufficient quota to prevent node creation failures.
|
|
1133
1264
|
*
|
|
1134
1265
|
* @example
|
|
1135
1266
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1139,14 +1270,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1139
1270
|
* @remarks
|
|
1140
1271
|
* The expected number of nodes in the node pool.
|
|
1141
1272
|
*
|
|
1273
|
+
* The total number of nodes that the node pool should maintain. We recommend that you configure at least two nodes to ensure that cluster components run as expected. You can adjust the expected number of nodes to scale out or scale in the node pool.
|
|
1274
|
+
*
|
|
1275
|
+
* If you do not need to create nodes, set this parameter to 0. You can manually adjust the number of nodes later.
|
|
1276
|
+
*
|
|
1142
1277
|
* @example
|
|
1143
1278
|
* 0
|
|
1144
1279
|
*/
|
|
1145
1280
|
desiredSize?: number;
|
|
1281
|
+
/**
|
|
1282
|
+
* @remarks
|
|
1283
|
+
* The block device initialization configurations.
|
|
1284
|
+
*/
|
|
1146
1285
|
diskInit?: DiskInit[];
|
|
1147
1286
|
/**
|
|
1148
1287
|
* @remarks
|
|
1149
|
-
* The custom image
|
|
1288
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
1150
1289
|
*
|
|
1151
1290
|
* @example
|
|
1152
1291
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1154,59 +1293,76 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1154
1293
|
imageId?: string;
|
|
1155
1294
|
/**
|
|
1156
1295
|
* @remarks
|
|
1157
|
-
* The
|
|
1296
|
+
* The OS image type. Valid values:
|
|
1297
|
+
*
|
|
1298
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1299
|
+
*
|
|
1300
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1301
|
+
*
|
|
1302
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1303
|
+
*
|
|
1304
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1305
|
+
*
|
|
1306
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1307
|
+
*
|
|
1308
|
+
* - `CentOS`: CentOS image.
|
|
1309
|
+
*
|
|
1310
|
+
* - `Windows`: Windows image.
|
|
1158
1311
|
*
|
|
1159
|
-
*
|
|
1160
|
-
*
|
|
1161
|
-
*
|
|
1162
|
-
*
|
|
1163
|
-
*
|
|
1164
|
-
* * `CentOS`: CentOS.
|
|
1165
|
-
* * `Windows`: Windows.
|
|
1166
|
-
* * `WindowsCore`: Windows Core.
|
|
1167
|
-
* * `ContainerOS`: ContainerOS.
|
|
1168
|
-
* * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
|
|
1312
|
+
* - `WindowsCore`: WindowsCore image.
|
|
1313
|
+
*
|
|
1314
|
+
* - `ContainerOS`: Container-Optimized OS.
|
|
1315
|
+
*
|
|
1316
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 Container-Optimized OS.
|
|
1169
1317
|
*
|
|
1170
1318
|
* @example
|
|
1171
|
-
*
|
|
1319
|
+
* AliyunLinux3
|
|
1172
1320
|
*/
|
|
1173
1321
|
imageType?: string;
|
|
1174
1322
|
/**
|
|
1175
1323
|
* @remarks
|
|
1176
|
-
* The billing method of nodes in the node pool. Valid values:
|
|
1324
|
+
* The billing method of the nodes in the node pool. Valid values:
|
|
1325
|
+
*
|
|
1326
|
+
* - `PrePaid`: subscription.
|
|
1177
1327
|
*
|
|
1178
|
-
*
|
|
1179
|
-
* * `PostPaid`: pay-as-you-go.
|
|
1328
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1180
1329
|
*
|
|
1181
|
-
* Default value: `PostPaid
|
|
1330
|
+
* Default value: `PostPaid`.
|
|
1182
1331
|
*
|
|
1183
1332
|
* This parameter is required.
|
|
1184
1333
|
*
|
|
1185
1334
|
* @example
|
|
1186
|
-
*
|
|
1335
|
+
* PostPaid
|
|
1187
1336
|
*/
|
|
1188
1337
|
instanceChargeType?: string;
|
|
1338
|
+
/**
|
|
1339
|
+
* @remarks
|
|
1340
|
+
* The ECS instance metadata access configurations.
|
|
1341
|
+
*/
|
|
1189
1342
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1190
1343
|
/**
|
|
1191
1344
|
* @remarks
|
|
1192
|
-
* The instance
|
|
1345
|
+
* The instance property configurations.
|
|
1193
1346
|
*/
|
|
1194
1347
|
instancePatterns?: InstancePatterns[];
|
|
1195
1348
|
/**
|
|
1196
1349
|
* @remarks
|
|
1197
|
-
*
|
|
1350
|
+
* A list of instance types for the nodes in the node pool. When the system creates nodes in the node pool, it selects an instance type from the list that meets the requirements.
|
|
1198
1351
|
*
|
|
1199
|
-
*
|
|
1352
|
+
* The number of instance types must be in the range of [1, 10].
|
|
1353
|
+
*
|
|
1354
|
+
* > For high availability, we recommend that you select multiple instance types.
|
|
1200
1355
|
*
|
|
1201
1356
|
* This parameter is required.
|
|
1202
1357
|
*/
|
|
1203
1358
|
instanceTypes?: string[];
|
|
1204
1359
|
/**
|
|
1205
1360
|
* @remarks
|
|
1206
|
-
* The
|
|
1361
|
+
* The billing method of the public IP address. Valid values:
|
|
1362
|
+
*
|
|
1363
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
1207
1364
|
*
|
|
1208
|
-
*
|
|
1209
|
-
* * PayByTraffic: pay-by-data-transfer.
|
|
1365
|
+
* - PayByTraffic: pay-by-traffic.
|
|
1210
1366
|
*
|
|
1211
1367
|
* @example
|
|
1212
1368
|
* PayByTraffic
|
|
@@ -1214,7 +1370,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1214
1370
|
internetChargeType?: string;
|
|
1215
1371
|
/**
|
|
1216
1372
|
* @remarks
|
|
1217
|
-
* The maximum outbound bandwidth of the
|
|
1373
|
+
* The maximum outbound public bandwidth of the node. Unit: Mbit/s. The value must be in the range of [1, 100].
|
|
1218
1374
|
*
|
|
1219
1375
|
* @example
|
|
1220
1376
|
* 5
|
|
@@ -1222,9 +1378,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1222
1378
|
internetMaxBandwidthOut?: number;
|
|
1223
1379
|
/**
|
|
1224
1380
|
* @remarks
|
|
1225
|
-
* The name of the key pair
|
|
1381
|
+
* The name of the key pair that is used for passwordless logon. You must specify one of \\`key_pair\\` and \\`login_password\\`.
|
|
1226
1382
|
*
|
|
1227
|
-
* >
|
|
1383
|
+
* > If you select Container-Optimized OS for the node pool, you can use only \\`key_pair\\`.
|
|
1228
1384
|
*
|
|
1229
1385
|
* @example
|
|
1230
1386
|
* np-key-name
|
|
@@ -1232,7 +1388,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1232
1388
|
keyPair?: string;
|
|
1233
1389
|
/**
|
|
1234
1390
|
* @remarks
|
|
1235
|
-
* Specifies whether to
|
|
1391
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1392
|
+
*
|
|
1393
|
+
* - true: Logs on as the ecs-user.
|
|
1394
|
+
*
|
|
1395
|
+
* - false: Logs on as the root user.
|
|
1236
1396
|
*
|
|
1237
1397
|
* @example
|
|
1238
1398
|
* true
|
|
@@ -1240,25 +1400,23 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1240
1400
|
loginAsNonRoot?: boolean;
|
|
1241
1401
|
/**
|
|
1242
1402
|
* @remarks
|
|
1243
|
-
* The
|
|
1403
|
+
* The SSH logon password. You must specify one of \\`key_pair\\` and \\`login_password\\`. The password must be 8 to 30 characters in length, and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1244
1404
|
*
|
|
1245
1405
|
* @example
|
|
1246
|
-
*
|
|
1406
|
+
* ****
|
|
1247
1407
|
*/
|
|
1248
1408
|
loginPassword?: string;
|
|
1249
1409
|
/**
|
|
1250
1410
|
* @remarks
|
|
1251
|
-
* The
|
|
1252
|
-
*
|
|
1253
|
-
* * `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.
|
|
1411
|
+
* The scaling policy for the ECS instances in the multi-zone scaling group. Valid values:
|
|
1254
1412
|
*
|
|
1255
|
-
*
|
|
1413
|
+
* - `PRIORITY`: Scales instances based on the vSwitch priority. The system scales instances based on the order of vSwitches that you specify in \\`VSwitchIds.N\\`. If the system fails to create an ECS instance in the zone where the vSwitch with the highest priority resides, it automatically uses the vSwitch with the next highest priority to create the instance.
|
|
1256
1414
|
*
|
|
1257
|
-
*
|
|
1415
|
+
* - `COST_OPTIMIZED`: Creates instances based on the vCPU unit price in ascending order. When multiple instance types are specified and the preemptible instance policy is configured, the system gives priority to creating the lowest-cost instance type. You can also use the \\`CompensateWithOnDemand\\` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
1258
1416
|
*
|
|
1259
|
-
*
|
|
1417
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are specified or the preemptible instance policy is configured.
|
|
1260
1418
|
*
|
|
1261
|
-
*
|
|
1419
|
+
* - `BALANCE`: Evenly distributes ECS instances across the specified zones. If the distribution of ECS instances becomes unbalanced due to insufficient inventory, you can call the API [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation to balance the resource distribution.
|
|
1262
1420
|
*
|
|
1263
1421
|
* Default value: `PRIORITY`.
|
|
1264
1422
|
*
|
|
@@ -1268,7 +1426,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1268
1426
|
multiAzPolicy?: string;
|
|
1269
1427
|
/**
|
|
1270
1428
|
* @remarks
|
|
1271
|
-
* The minimum number of pay-as-you-go instances that must be
|
|
1429
|
+
* The minimum number of pay-as-you-go instances that must be included in the scaling group. The value must be in the range of [0, 1000]. If the number of pay-as-you-go instances is less than this value, the system gives priority to creating pay-as-you-go instances.
|
|
1272
1430
|
*
|
|
1273
1431
|
* @example
|
|
1274
1432
|
* 0
|
|
@@ -1276,7 +1434,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1276
1434
|
onDemandBaseCapacity?: number;
|
|
1277
1435
|
/**
|
|
1278
1436
|
* @remarks
|
|
1279
|
-
* The percentage of pay-as-you-go instances among the extra instances that
|
|
1437
|
+
* The percentage of pay-as-you-go instances among the extra instances that are created after the minimum number of pay-as-you-go instances (\\`on_demand_base_capacity\\`) is met. The value must be in the range of [0, 100].
|
|
1280
1438
|
*
|
|
1281
1439
|
* @example
|
|
1282
1440
|
* 20
|
|
@@ -1284,10 +1442,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1284
1442
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1285
1443
|
/**
|
|
1286
1444
|
* @remarks
|
|
1287
|
-
* The subscription duration of nodes in the node pool. This parameter
|
|
1445
|
+
* The subscription duration of the nodes in the node pool. This parameter is required and takes effect only if \\`instance_charge_type\\` is set to \\`PrePaid\\`.
|
|
1446
|
+
*
|
|
1447
|
+
* - If \\`period_unit\\` is set to \\`Week\\`, the valid values of \\`period\\` are 1, 2, 3, and 4.
|
|
1288
1448
|
*
|
|
1289
|
-
*
|
|
1290
|
-
* * If `period_unit` is set to Month, the valid values of `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
1449
|
+
* - If \\`period_unit\\` is set to \\`Month\\`, the valid values of \\`period\\` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
1291
1450
|
*
|
|
1292
1451
|
* @example
|
|
1293
1452
|
* 1
|
|
@@ -1295,10 +1454,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1295
1454
|
period?: number;
|
|
1296
1455
|
/**
|
|
1297
1456
|
* @remarks
|
|
1298
|
-
* The billing cycle of nodes in the node pool. This parameter
|
|
1457
|
+
* The billing cycle of the nodes in the node pool. This parameter is required and takes effect only if \\`instance_charge_type\\` is set to \\`PrePaid\\`.
|
|
1299
1458
|
*
|
|
1300
|
-
*
|
|
1301
|
-
*
|
|
1459
|
+
* - `Month`: The billing cycle is measured in months.
|
|
1460
|
+
*
|
|
1461
|
+
* - `Week`: The billing cycle is measured in weeks.
|
|
1302
1462
|
*
|
|
1303
1463
|
* Default value: `Month`.
|
|
1304
1464
|
*
|
|
@@ -1308,34 +1468,42 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1308
1468
|
periodUnit?: string;
|
|
1309
1469
|
/**
|
|
1310
1470
|
* @remarks
|
|
1311
|
-
*
|
|
1471
|
+
* [This parameter is deprecated] Use the \\`image_type\\` parameter instead.
|
|
1472
|
+
*
|
|
1473
|
+
* The OS distribution. Valid values:
|
|
1474
|
+
*
|
|
1475
|
+
* - `CentOS`
|
|
1312
1476
|
*
|
|
1313
|
-
*
|
|
1314
|
-
*
|
|
1315
|
-
*
|
|
1316
|
-
*
|
|
1477
|
+
* - `AliyunLinux`
|
|
1478
|
+
*
|
|
1479
|
+
* - `Windows`
|
|
1480
|
+
*
|
|
1481
|
+
* - `WindowsCore`
|
|
1317
1482
|
*
|
|
1318
1483
|
* Default value: `AliyunLinux`.
|
|
1319
1484
|
*
|
|
1320
1485
|
* @example
|
|
1321
|
-
*
|
|
1486
|
+
* null
|
|
1322
1487
|
*
|
|
1323
1488
|
* @deprecated
|
|
1324
1489
|
*/
|
|
1325
1490
|
platform?: string;
|
|
1326
1491
|
/**
|
|
1327
1492
|
* @remarks
|
|
1328
|
-
* The
|
|
1493
|
+
* The private pool configurations.
|
|
1329
1494
|
*/
|
|
1330
1495
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1331
1496
|
/**
|
|
1332
1497
|
* @remarks
|
|
1333
1498
|
* The name of the worker RAM role.
|
|
1334
1499
|
*
|
|
1335
|
-
*
|
|
1336
|
-
*
|
|
1500
|
+
* - If this parameter is left empty, the default worker RAM role of the cluster is used.
|
|
1501
|
+
*
|
|
1502
|
+
* - If this parameter is not empty, the specified RAM role must be a **service role**, and its **trusted service** must be **Elastic Compute Service**. For more information, see [Create a service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role of the cluster, the name of the role cannot start with \\`KubernetesMasterRole-\\` or \\`KubernetesWorkerRole-\\`.
|
|
1337
1503
|
*
|
|
1338
|
-
* >
|
|
1504
|
+
* >Notice:
|
|
1505
|
+
*
|
|
1506
|
+
* This parameter is supported only by ACK managed clusters of Kubernetes 1.22 or later.
|
|
1339
1507
|
*
|
|
1340
1508
|
* @example
|
|
1341
1509
|
* example-role
|
|
@@ -1343,16 +1511,23 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1343
1511
|
ramRoleName?: string;
|
|
1344
1512
|
/**
|
|
1345
1513
|
* @remarks
|
|
1346
|
-
*
|
|
1514
|
+
* A list of RDS instances.
|
|
1347
1515
|
*/
|
|
1348
1516
|
rdsInstances?: string[];
|
|
1517
|
+
/**
|
|
1518
|
+
* @remarks
|
|
1519
|
+
* The resource pool and policy used to create instances. Note:
|
|
1520
|
+
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1521
|
+
* This parameter cannot be set at the same time as \\`private_pool_options.match_criteria\\` and \\`private_pool_options.id\\`.
|
|
1522
|
+
*/
|
|
1349
1523
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1350
1524
|
/**
|
|
1351
1525
|
* @remarks
|
|
1352
1526
|
* The scaling mode of the scaling group. Valid values:
|
|
1353
1527
|
*
|
|
1354
|
-
*
|
|
1355
|
-
*
|
|
1528
|
+
* - `release`: standard mode. The system creates and releases ECS instances to scale the group.
|
|
1529
|
+
*
|
|
1530
|
+
* - `recycle`: accelerated mode. The system creates, stops, and starts ECS instances to scale the group. This improves the scaling speed. When an instance is stopped, its computing resources are not billed, but its storage resources are. This does not apply to instances with local disks.
|
|
1356
1531
|
*
|
|
1357
1532
|
* Default value: `release`.
|
|
1358
1533
|
*
|
|
@@ -1362,7 +1537,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1362
1537
|
scalingPolicy?: string;
|
|
1363
1538
|
/**
|
|
1364
1539
|
* @remarks
|
|
1365
|
-
* The ID of the security group
|
|
1540
|
+
* The ID of the security group for the node pool. You must specify one of \\`security_group_ids\\` and \\`security_group_id\\`. We recommend that you specify \\`security_group_ids\\`.
|
|
1366
1541
|
*
|
|
1367
1542
|
* @example
|
|
1368
1543
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1372,15 +1547,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1372
1547
|
securityGroupId?: string;
|
|
1373
1548
|
/**
|
|
1374
1549
|
* @remarks
|
|
1375
|
-
*
|
|
1550
|
+
* A list of security group IDs. You must specify one of \\`security_group_ids\\` and \\`security_group_id\\`. We recommend that you specify \\`security_group_ids\\`. If you specify both \\`security_group_id\\` and \\`security_group_ids\\`, \\`security_group_ids\\` takes precedence.
|
|
1376
1551
|
*/
|
|
1377
1552
|
securityGroupIds?: string[];
|
|
1378
1553
|
/**
|
|
1379
1554
|
* @remarks
|
|
1380
|
-
*
|
|
1555
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1556
|
+
*
|
|
1557
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1381
1558
|
*
|
|
1382
|
-
*
|
|
1383
|
-
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
1559
|
+
* - `false`: Disables Alibaba Cloud OS security hardening.
|
|
1384
1560
|
*
|
|
1385
1561
|
* Default value: `false`.
|
|
1386
1562
|
*
|
|
@@ -1390,7 +1566,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1390
1566
|
securityHardeningOs?: boolean;
|
|
1391
1567
|
/**
|
|
1392
1568
|
* @remarks
|
|
1393
|
-
* Specifies whether to enable MLPS
|
|
1569
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when you select Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 for the OS image. Alibaba Cloud provides baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 Level 3 of MLPS 2.0 to ensure classified protection compliance.
|
|
1394
1570
|
*
|
|
1395
1571
|
* @example
|
|
1396
1572
|
* false
|
|
@@ -1398,7 +1574,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1398
1574
|
socEnabled?: boolean;
|
|
1399
1575
|
/**
|
|
1400
1576
|
* @remarks
|
|
1401
|
-
* The number of instance types that
|
|
1577
|
+
* The number of instance types that you can specify. The scaling group creates preemptible instances of multiple instance types that are available at the lowest cost. The value must be in the range of [1, 10].
|
|
1402
1578
|
*
|
|
1403
1579
|
* @example
|
|
1404
1580
|
* 5
|
|
@@ -1406,10 +1582,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1406
1582
|
spotInstancePools?: number;
|
|
1407
1583
|
/**
|
|
1408
1584
|
* @remarks
|
|
1409
|
-
*
|
|
1585
|
+
* Specifies whether to enable the instance reclaim mode. After this mode is enabled, when the system receives a message that a spot instance is about to be reclaimed, the scaling group attempts to create a new instance to replace the instance that is about to be reclaimed. Valid values:
|
|
1410
1586
|
*
|
|
1411
|
-
*
|
|
1412
|
-
*
|
|
1587
|
+
* - `true`: Enables the instance reclaim mode.
|
|
1588
|
+
*
|
|
1589
|
+
* - `false`: Disables the instance reclaim mode.
|
|
1413
1590
|
*
|
|
1414
1591
|
* @example
|
|
1415
1592
|
* false
|
|
@@ -1417,18 +1594,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1417
1594
|
spotInstanceRemedy?: boolean;
|
|
1418
1595
|
/**
|
|
1419
1596
|
* @remarks
|
|
1420
|
-
* The
|
|
1597
|
+
* The configurations of the price range for a single spot instance.
|
|
1421
1598
|
*/
|
|
1422
1599
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1423
1600
|
/**
|
|
1424
1601
|
* @remarks
|
|
1425
|
-
* The bidding policy
|
|
1602
|
+
* The bidding policy for the spot instances. Valid values:
|
|
1603
|
+
*
|
|
1604
|
+
* - `NoSpot`: The instance is not a spot instance.
|
|
1605
|
+
*
|
|
1606
|
+
* - `SpotWithPriceLimit`: Sets the maximum bid price for the spot instance.
|
|
1426
1607
|
*
|
|
1427
|
-
*
|
|
1428
|
-
* * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
|
|
1429
|
-
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
1608
|
+
* - `SpotAsPriceGo`: The system automatically bids based on the current market price.
|
|
1430
1609
|
*
|
|
1431
|
-
* For more information, see [
|
|
1610
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1432
1611
|
*
|
|
1433
1612
|
* @example
|
|
1434
1613
|
* NoSpot
|
|
@@ -1436,12 +1615,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1436
1615
|
spotStrategy?: string;
|
|
1437
1616
|
/**
|
|
1438
1617
|
* @remarks
|
|
1439
|
-
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
1618
|
+
* Specifies whether to enable the performance burst feature for the system disk of the node. Valid values:
|
|
1440
1619
|
*
|
|
1441
|
-
*
|
|
1442
|
-
* * false: disables the burst feature.
|
|
1620
|
+
* - true: Yes.
|
|
1443
1621
|
*
|
|
1444
|
-
*
|
|
1622
|
+
* - false: No.
|
|
1623
|
+
*
|
|
1624
|
+
* This parameter can be set only when \\`system_disk_category\\` is set to \\`cloud_auto\\`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1445
1625
|
*
|
|
1446
1626
|
* @example
|
|
1447
1627
|
* true
|
|
@@ -1449,26 +1629,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1449
1629
|
systemDiskBurstingEnabled?: boolean;
|
|
1450
1630
|
/**
|
|
1451
1631
|
* @remarks
|
|
1452
|
-
* The
|
|
1453
|
-
*
|
|
1454
|
-
* * `cloud`: basic disk.
|
|
1455
|
-
* * `cloud_efficiency`: ultra disk.
|
|
1456
|
-
* * `cloud_ssd`: standard SSD.
|
|
1457
|
-
* * `cloud_essd`: ESSD.
|
|
1458
|
-
* * `cloud_auto`: ESSD AutoPL disk.
|
|
1459
|
-
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
1632
|
+
* The types of system disks. If a disk of a high-priority type is unavailable, the system automatically uses a disk of the next priority type to create the system disk.
|
|
1460
1633
|
*/
|
|
1461
1634
|
systemDiskCategories?: string[];
|
|
1462
1635
|
/**
|
|
1463
1636
|
* @remarks
|
|
1464
|
-
* The
|
|
1637
|
+
* The type of the system disk of the node. Valid values:
|
|
1638
|
+
*
|
|
1639
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1465
1640
|
*
|
|
1466
|
-
*
|
|
1467
|
-
*
|
|
1468
|
-
*
|
|
1469
|
-
*
|
|
1470
|
-
*
|
|
1471
|
-
*
|
|
1641
|
+
* - `cloud_ssd`: standard SSD.
|
|
1642
|
+
*
|
|
1643
|
+
* - `cloud_essd`: ESSD.
|
|
1644
|
+
*
|
|
1645
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1646
|
+
*
|
|
1647
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1472
1648
|
*
|
|
1473
1649
|
* Default value: `cloud_efficiency`.
|
|
1474
1650
|
*
|
|
@@ -1478,7 +1654,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1478
1654
|
systemDiskCategory?: string;
|
|
1479
1655
|
/**
|
|
1480
1656
|
* @remarks
|
|
1481
|
-
* The encryption algorithm that is used to encrypt the system disk.
|
|
1657
|
+
* The encryption algorithm that is used to encrypt the system disk. Valid value: aes-256.
|
|
1482
1658
|
*
|
|
1483
1659
|
* @example
|
|
1484
1660
|
* aes-256
|
|
@@ -1486,7 +1662,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1486
1662
|
systemDiskEncryptAlgorithm?: string;
|
|
1487
1663
|
/**
|
|
1488
1664
|
* @remarks
|
|
1489
|
-
* Specifies whether to encrypt the system disk.
|
|
1665
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
1666
|
+
*
|
|
1667
|
+
* - true: encrypts the system disk.
|
|
1668
|
+
*
|
|
1669
|
+
* - false: does not encrypt the system disk.
|
|
1490
1670
|
*
|
|
1491
1671
|
* @example
|
|
1492
1672
|
* false
|
|
@@ -1502,14 +1682,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1502
1682
|
systemDiskKmsKeyId?: string;
|
|
1503
1683
|
/**
|
|
1504
1684
|
* @remarks
|
|
1505
|
-
* The
|
|
1685
|
+
* The performance level of the system disk for each node. This parameter applies only to Enhanced SSD (ESSD) disks. The performance level of an ESSD is determined by its size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1686
|
+
*
|
|
1687
|
+
* - PL0: A moderate maximum concurrent I/O performance and a relatively stable read/write latency.
|
|
1506
1688
|
*
|
|
1507
|
-
*
|
|
1508
|
-
* * PL1: moderate maximum concurrent I/O performance and low I/O latency.
|
|
1509
|
-
* * PL2: high maximum concurrent I/O performance and low I/O latency.
|
|
1510
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1689
|
+
* - PL1: A moderate maximum concurrent I/O performance and a relatively stable read/write latency.
|
|
1511
1690
|
*
|
|
1512
|
-
*
|
|
1691
|
+
* - PL2: A high maximum concurrent I/O performance and a stable read/write latency.
|
|
1692
|
+
*
|
|
1693
|
+
* - PL3: A very high maximum concurrent I/O performance and a very stable read/write latency.
|
|
1513
1694
|
*
|
|
1514
1695
|
* @example
|
|
1515
1696
|
* PL1
|
|
@@ -1517,9 +1698,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1517
1698
|
systemDiskPerformanceLevel?: string;
|
|
1518
1699
|
/**
|
|
1519
1700
|
* @remarks
|
|
1520
|
-
* The
|
|
1701
|
+
* The provisioned read/write IOPS of the system disk of the node.
|
|
1702
|
+
*
|
|
1703
|
+
* Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
1521
1704
|
*
|
|
1522
|
-
* This parameter
|
|
1705
|
+
* This parameter can be set only when \\`system_disk_category\\` is set to \\`cloud_auto\\`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1523
1706
|
*
|
|
1524
1707
|
* @example
|
|
1525
1708
|
* 1000
|
|
@@ -1527,27 +1710,34 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1527
1710
|
systemDiskProvisionedIops?: number;
|
|
1528
1711
|
/**
|
|
1529
1712
|
* @remarks
|
|
1530
|
-
* The size of the system disk. Unit: GiB.
|
|
1713
|
+
* The size of the system disk of the node. Unit: GiB.
|
|
1531
1714
|
*
|
|
1532
|
-
*
|
|
1715
|
+
* The value must be in the range of [20, 2048].
|
|
1533
1716
|
*
|
|
1534
1717
|
* @example
|
|
1535
1718
|
* 120
|
|
1536
1719
|
*/
|
|
1537
1720
|
systemDiskSize?: number;
|
|
1721
|
+
/**
|
|
1722
|
+
* @remarks
|
|
1723
|
+
* The snapshot policy for the system disk.
|
|
1724
|
+
*
|
|
1725
|
+
* @example
|
|
1726
|
+
* sp-0jl6xnmme8v7o935****
|
|
1727
|
+
*/
|
|
1538
1728
|
systemDiskSnapshotPolicyId?: string;
|
|
1539
1729
|
/**
|
|
1540
1730
|
* @remarks
|
|
1541
1731
|
* The tags that you want to add only to ECS instances.
|
|
1542
1732
|
*
|
|
1543
|
-
*
|
|
1733
|
+
* A tag key cannot be repeated. The tag key can be up to 128 characters in length. The tag key and the tag value cannot start with “aliyun” or “acs:”, and cannot contain “https\\://” or “http\\://”.
|
|
1544
1734
|
*/
|
|
1545
1735
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1546
1736
|
/**
|
|
1547
1737
|
* @remarks
|
|
1548
|
-
*
|
|
1738
|
+
* A list of vSwitch IDs. The number of vSwitch IDs must be in the range of [1, 8].
|
|
1549
1739
|
*
|
|
1550
|
-
* >
|
|
1740
|
+
* > For high availability, we recommend that you select vSwitches in different zones.
|
|
1551
1741
|
*
|
|
1552
1742
|
* This parameter is required.
|
|
1553
1743
|
*/
|
|
@@ -1713,7 +1903,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1713
1903
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1714
1904
|
/**
|
|
1715
1905
|
* @remarks
|
|
1716
|
-
* Specifies whether to enable confidential computing
|
|
1906
|
+
* Specifies whether to enable the confidential computing cluster.
|
|
1907
|
+
*
|
|
1908
|
+
* - true: Enables confidential computing.
|
|
1909
|
+
*
|
|
1910
|
+
* - false: Disables confidential computing.
|
|
1717
1911
|
*
|
|
1718
1912
|
* @example
|
|
1719
1913
|
* true
|
|
@@ -1741,31 +1935,40 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1741
1935
|
}
|
|
1742
1936
|
|
|
1743
1937
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1938
|
+
/**
|
|
1939
|
+
* @remarks
|
|
1940
|
+
* The intelligent managed node pool configurations.
|
|
1941
|
+
*/
|
|
1744
1942
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1745
1943
|
/**
|
|
1746
1944
|
* @remarks
|
|
1747
|
-
* The
|
|
1945
|
+
* The auto scaling configurations.
|
|
1748
1946
|
*/
|
|
1749
1947
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1750
1948
|
/**
|
|
1751
1949
|
* @remarks
|
|
1752
|
-
* This parameter is deprecated
|
|
1950
|
+
* [This parameter is deprecated] Use desired_size instead.
|
|
1753
1951
|
*
|
|
1754
1952
|
* The number of nodes in the node pool.
|
|
1755
1953
|
*
|
|
1756
1954
|
* @example
|
|
1757
|
-
*
|
|
1955
|
+
* null
|
|
1758
1956
|
*
|
|
1759
1957
|
* @deprecated
|
|
1760
1958
|
*/
|
|
1761
1959
|
count?: number;
|
|
1960
|
+
/**
|
|
1961
|
+
* @remarks
|
|
1962
|
+
* The Lingjun node pool configurations.
|
|
1963
|
+
*/
|
|
1762
1964
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1763
1965
|
/**
|
|
1764
1966
|
* @remarks
|
|
1765
|
-
* Specifies whether to
|
|
1967
|
+
* Specifies whether to use the host network for the pod network.
|
|
1968
|
+
*
|
|
1969
|
+
* - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
|
|
1766
1970
|
*
|
|
1767
|
-
*
|
|
1768
|
-
* * `false`: sets to container network.
|
|
1971
|
+
* - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
|
|
1769
1972
|
*
|
|
1770
1973
|
* @example
|
|
1771
1974
|
* true
|
|
@@ -1773,7 +1976,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1773
1976
|
hostNetwork?: boolean;
|
|
1774
1977
|
/**
|
|
1775
1978
|
* @remarks
|
|
1776
|
-
* This parameter is deprecated
|
|
1979
|
+
* [This parameter is deprecated]
|
|
1777
1980
|
*
|
|
1778
1981
|
* The configurations of the edge node pool.
|
|
1779
1982
|
*
|
|
@@ -1782,10 +1985,11 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1782
1985
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1783
1986
|
/**
|
|
1784
1987
|
* @remarks
|
|
1785
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
1988
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools of the \\`edge\\` type. Valid values:
|
|
1989
|
+
*
|
|
1990
|
+
* - `basic`: public network. Nodes in the node pool interact with cloud nodes over the Internet. Applications in the node pool cannot directly access the VPC in the cloud.
|
|
1786
1991
|
*
|
|
1787
|
-
*
|
|
1788
|
-
* * `private`: private network.
|
|
1992
|
+
* - `private`: private network. Nodes in the node pool connect to the cloud over a leased line, VPN, or CEN to achieve higher communication quality and better security.
|
|
1789
1993
|
*
|
|
1790
1994
|
* @example
|
|
1791
1995
|
* basic
|
|
@@ -1793,10 +1997,11 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1793
1997
|
interconnectMode?: string;
|
|
1794
1998
|
/**
|
|
1795
1999
|
* @remarks
|
|
1796
|
-
* Specifies whether
|
|
2000
|
+
* Specifies whether nodes in the edge node pool can communicate with each other at Layer 3.
|
|
1797
2001
|
*
|
|
1798
|
-
*
|
|
1799
|
-
*
|
|
2002
|
+
* - `true`: All nodes in the node pool can communicate with each other at Layer 3.
|
|
2003
|
+
*
|
|
2004
|
+
* - `false`: All hosts in the node pool cannot communicate with each other at Layer 3.
|
|
1800
2005
|
*
|
|
1801
2006
|
* @example
|
|
1802
2007
|
* true
|
|
@@ -1804,7 +2009,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1804
2009
|
intranet?: boolean;
|
|
1805
2010
|
/**
|
|
1806
2011
|
* @remarks
|
|
1807
|
-
* The configurations
|
|
2012
|
+
* The cluster-related configurations.
|
|
1808
2013
|
*/
|
|
1809
2014
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1810
2015
|
/**
|
|
@@ -1814,16 +2019,20 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1814
2019
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1815
2020
|
/**
|
|
1816
2021
|
* @remarks
|
|
1817
|
-
* This parameter is deprecated
|
|
2022
|
+
* [This parameter is deprecated]
|
|
1818
2023
|
*
|
|
1819
|
-
* The maximum number of nodes that
|
|
2024
|
+
* The maximum number of nodes that the edge node pool can contain.
|
|
1820
2025
|
*
|
|
1821
2026
|
* @example
|
|
1822
|
-
*
|
|
2027
|
+
* null
|
|
1823
2028
|
*
|
|
1824
2029
|
* @deprecated
|
|
1825
2030
|
*/
|
|
1826
2031
|
maxNodes?: number;
|
|
2032
|
+
/**
|
|
2033
|
+
* @remarks
|
|
2034
|
+
* A list of node components.
|
|
2035
|
+
*/
|
|
1827
2036
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1828
2037
|
/**
|
|
1829
2038
|
* @remarks
|
|
@@ -1832,17 +2041,17 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1832
2041
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
1833
2042
|
/**
|
|
1834
2043
|
* @remarks
|
|
1835
|
-
* The
|
|
2044
|
+
* The node pool configurations.
|
|
1836
2045
|
*/
|
|
1837
2046
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
1838
2047
|
/**
|
|
1839
2048
|
* @remarks
|
|
1840
|
-
* The configurations of the scaling group
|
|
2049
|
+
* The configurations of the scaling group for the node pool.
|
|
1841
2050
|
*/
|
|
1842
2051
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
1843
2052
|
/**
|
|
1844
2053
|
* @remarks
|
|
1845
|
-
* The configurations of confidential computing
|
|
2054
|
+
* The configurations of the confidential computing cluster.
|
|
1846
2055
|
*/
|
|
1847
2056
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
1848
2057
|
static names(): { [key: string]: string } {
|