@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
|
@@ -7,6 +7,18 @@ import { KubeletConfig } from "./KubeletConfig";
|
|
|
7
7
|
import { Tag } from "./Tag";
|
|
8
8
|
import { Taint } from "./Taint";
|
|
9
9
|
export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
10
|
+
/**
|
|
11
|
+
* @remarks
|
|
12
|
+
* Specifies whether to enable the intelligent managed mode.
|
|
13
|
+
* Valid values:
|
|
14
|
+
*
|
|
15
|
+
* - true: Enables the intelligent managed mode. You can enable this mode only when the intelligent managed mode is enabled for the cluster.
|
|
16
|
+
*
|
|
17
|
+
* - false: Disables the intelligent managed mode.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* true
|
|
21
|
+
*/
|
|
10
22
|
enable?: boolean;
|
|
11
23
|
static names(): {
|
|
12
24
|
[key: string]: string;
|
|
@@ -22,78 +34,73 @@ export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
22
34
|
export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
23
35
|
/**
|
|
24
36
|
* @remarks
|
|
25
|
-
* This parameter is deprecated.
|
|
26
|
-
*
|
|
27
|
-
* The maximum bandwidth of the EIP. Unit: Mbit/s.
|
|
37
|
+
* [This parameter is deprecated] Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
|
|
28
38
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
|
|
39
|
+
* The peak bandwidth of the EIP. Unit: Mbps.
|
|
32
40
|
*
|
|
33
41
|
* @example
|
|
34
|
-
*
|
|
42
|
+
* null
|
|
35
43
|
*
|
|
36
44
|
* @deprecated
|
|
37
45
|
*/
|
|
38
46
|
eipBandwidth?: number;
|
|
39
47
|
/**
|
|
40
48
|
* @remarks
|
|
41
|
-
* This parameter is deprecated.
|
|
42
|
-
*
|
|
43
|
-
* The metering method of the EIP. Valid values:
|
|
49
|
+
* [This parameter is deprecated] Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
|
|
44
50
|
*
|
|
45
|
-
*
|
|
46
|
-
* * `PayByTraffic`: pay-by-data-transfer.
|
|
51
|
+
* The billing method of the EIP. Valid values:
|
|
47
52
|
*
|
|
48
|
-
*
|
|
53
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
49
54
|
*
|
|
50
|
-
*
|
|
55
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
51
56
|
*
|
|
52
|
-
*
|
|
57
|
+
* Default value: `PayByBandwidth`.
|
|
53
58
|
*
|
|
54
59
|
* @example
|
|
55
|
-
*
|
|
60
|
+
* null
|
|
56
61
|
*
|
|
57
62
|
* @deprecated
|
|
58
63
|
*/
|
|
59
64
|
eipInternetChargeType?: string;
|
|
60
65
|
/**
|
|
61
66
|
* @remarks
|
|
62
|
-
* Specifies whether to enable auto scaling
|
|
67
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
68
|
+
*
|
|
69
|
+
* - `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).
|
|
63
70
|
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
71
|
+
* - `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.
|
|
72
|
+
*
|
|
73
|
+
* If you set this parameter to false, other parameters in \\`auto_scaling\\` do not take effect.
|
|
66
74
|
*
|
|
67
75
|
* Default value: `false`.
|
|
68
76
|
*
|
|
69
77
|
* @example
|
|
70
|
-
*
|
|
78
|
+
* false
|
|
71
79
|
*/
|
|
72
80
|
enable?: boolean;
|
|
73
81
|
/**
|
|
74
82
|
* @remarks
|
|
75
|
-
* This parameter is deprecated.
|
|
83
|
+
* [This parameter is deprecated] This parameter is deprecated. Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
|
|
76
84
|
*
|
|
77
|
-
* Specifies whether to associate an
|
|
85
|
+
* Specifies whether to associate an EIP with the node. Valid values:
|
|
78
86
|
*
|
|
79
|
-
*
|
|
80
|
-
* * `false`: does not associate an EIP with the node pool.
|
|
87
|
+
* - `true`: associates an EIP with the node.
|
|
81
88
|
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
* **
|
|
89
|
+
* - `false`: does not associate an EIP with the node.
|
|
85
90
|
*
|
|
86
|
-
*
|
|
91
|
+
* Default value: `false`.
|
|
87
92
|
*
|
|
88
93
|
* @example
|
|
89
|
-
*
|
|
94
|
+
* null
|
|
90
95
|
*
|
|
91
96
|
* @deprecated
|
|
92
97
|
*/
|
|
93
98
|
isBondEip?: boolean;
|
|
94
99
|
/**
|
|
95
100
|
* @remarks
|
|
96
|
-
* The maximum number
|
|
101
|
+
* 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\\`.
|
|
102
|
+
*
|
|
103
|
+
* The value must be in the range of [\\`min_instances\\`, 2000]. Default value: 0.
|
|
97
104
|
*
|
|
98
105
|
* @example
|
|
99
106
|
* 10
|
|
@@ -101,7 +108,13 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
101
108
|
maxInstances?: number;
|
|
102
109
|
/**
|
|
103
110
|
* @remarks
|
|
104
|
-
* The minimum number
|
|
111
|
+
* 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\\`.
|
|
112
|
+
*
|
|
113
|
+
* The value must be in the range of [0, \\`max_instances\\`]. Default value: 0.
|
|
114
|
+
*
|
|
115
|
+
* > - If the minimum number of instances is not 0, the specified number of ECS instances are automatically created after the scaling group is created.
|
|
116
|
+
* >
|
|
117
|
+
* > - 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.
|
|
105
118
|
*
|
|
106
119
|
* @example
|
|
107
120
|
* 1
|
|
@@ -109,16 +122,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
109
122
|
minInstances?: number;
|
|
110
123
|
/**
|
|
111
124
|
* @remarks
|
|
112
|
-
* The
|
|
125
|
+
* The type of instances that are automatically scaled. This parameter takes effect only if \\`enable\\` is set to \\`true\\`. Valid values:
|
|
113
126
|
*
|
|
114
|
-
*
|
|
115
|
-
* * `gpu`: GPU-accelerated instance.
|
|
116
|
-
* * `gpushare`: shared GPU-accelerated instance.
|
|
117
|
-
* * `spot`: preemptible instance.
|
|
127
|
+
* - `cpu`: regular instance.
|
|
118
128
|
*
|
|
119
|
-
*
|
|
129
|
+
* - `gpu`: GPU-accelerated instance.
|
|
130
|
+
*
|
|
131
|
+
* - `gpushare`: shared GPU-accelerated instance.
|
|
120
132
|
*
|
|
121
|
-
*
|
|
133
|
+
* - `spot`: spot instance.
|
|
134
|
+
*
|
|
135
|
+
* Default value: `cpu`.
|
|
136
|
+
* >Notice: You cannot change the value of this parameter after the node pool is created.
|
|
122
137
|
*
|
|
123
138
|
* @example
|
|
124
139
|
* cpu
|
|
@@ -136,7 +151,21 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
136
151
|
});
|
|
137
152
|
}
|
|
138
153
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
154
|
+
/**
|
|
155
|
+
* @remarks
|
|
156
|
+
* The ID of the Lingjun cluster that you want to associate with the Lingjun node pool when you create the node pool.
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* i1169130516633730****
|
|
160
|
+
*/
|
|
139
161
|
clusterId?: string;
|
|
162
|
+
/**
|
|
163
|
+
* @remarks
|
|
164
|
+
* 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.
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* ng-ec3c96ff0aa****
|
|
168
|
+
*/
|
|
140
169
|
groupId?: string;
|
|
141
170
|
static names(): {
|
|
142
171
|
[key: string]: string;
|
|
@@ -152,52 +181,52 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
152
181
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
153
182
|
/**
|
|
154
183
|
* @remarks
|
|
155
|
-
* This parameter is deprecated
|
|
184
|
+
* [This parameter is deprecated]
|
|
156
185
|
*
|
|
157
|
-
* The bandwidth of the enhanced edge node pool. Unit:
|
|
186
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
158
187
|
*
|
|
159
188
|
* @example
|
|
160
|
-
*
|
|
189
|
+
* null
|
|
161
190
|
*/
|
|
162
191
|
bandwidth?: number;
|
|
163
192
|
/**
|
|
164
193
|
* @remarks
|
|
165
|
-
* This parameter is deprecated
|
|
194
|
+
* [This parameter is deprecated]
|
|
166
195
|
*
|
|
167
|
-
* The ID of the
|
|
196
|
+
* The ID of the CCN instance that is associated with the enhanced edge node pool.
|
|
168
197
|
*
|
|
169
198
|
* @example
|
|
170
|
-
*
|
|
199
|
+
* null
|
|
171
200
|
*/
|
|
172
201
|
ccnId?: string;
|
|
173
202
|
/**
|
|
174
203
|
* @remarks
|
|
175
|
-
* This parameter is deprecated
|
|
204
|
+
* [This parameter is deprecated]
|
|
176
205
|
*
|
|
177
|
-
* The region
|
|
206
|
+
* The region of the CCN instance that is associated with the enhanced edge node pool.
|
|
178
207
|
*
|
|
179
208
|
* @example
|
|
180
|
-
*
|
|
209
|
+
* null
|
|
181
210
|
*/
|
|
182
211
|
ccnRegionId?: string;
|
|
183
212
|
/**
|
|
184
213
|
* @remarks
|
|
185
|
-
* This parameter is deprecated
|
|
214
|
+
* [This parameter is deprecated]
|
|
186
215
|
*
|
|
187
|
-
* The ID of the
|
|
216
|
+
* The ID of the CEN instance that is associated with the enhanced edge node pool.
|
|
188
217
|
*
|
|
189
218
|
* @example
|
|
190
|
-
*
|
|
219
|
+
* null
|
|
191
220
|
*/
|
|
192
221
|
cenId?: string;
|
|
193
222
|
/**
|
|
194
223
|
* @remarks
|
|
195
|
-
* This parameter is deprecated
|
|
224
|
+
* [This parameter is deprecated]
|
|
196
225
|
*
|
|
197
|
-
* The subscription duration of the enhanced edge node pool.
|
|
226
|
+
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
198
227
|
*
|
|
199
228
|
* @example
|
|
200
|
-
*
|
|
229
|
+
* null
|
|
201
230
|
*/
|
|
202
231
|
improvedPeriod?: string;
|
|
203
232
|
static names(): {
|
|
@@ -214,23 +243,25 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
214
243
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
215
244
|
/**
|
|
216
245
|
* @remarks
|
|
217
|
-
* Specifies whether to install
|
|
246
|
+
* 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:
|
|
247
|
+
*
|
|
248
|
+
* - `true`: Installs Cloud Monitor on the ECS nodes.
|
|
218
249
|
*
|
|
219
|
-
*
|
|
220
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
250
|
+
* - `false`: Does not install Cloud Monitor on the ECS nodes.
|
|
221
251
|
*
|
|
222
|
-
* Default value: `false
|
|
252
|
+
* Default value: `false`.
|
|
223
253
|
*
|
|
224
254
|
* @example
|
|
225
|
-
*
|
|
255
|
+
* false
|
|
226
256
|
*/
|
|
227
257
|
cmsEnabled?: boolean;
|
|
228
258
|
/**
|
|
229
259
|
* @remarks
|
|
230
|
-
* The CPU management policy of
|
|
260
|
+
* 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:
|
|
231
261
|
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
262
|
+
* - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
263
|
+
*
|
|
264
|
+
* - `none`: Enables the default CPU affinity scheme.
|
|
234
265
|
*
|
|
235
266
|
* Default value: `none`.
|
|
236
267
|
*
|
|
@@ -240,25 +271,38 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
240
271
|
cpuPolicy?: string;
|
|
241
272
|
/**
|
|
242
273
|
* @remarks
|
|
243
|
-
* The labels that you want to add to the nodes in the cluster.
|
|
274
|
+
* The labels that you want to add to the nodes in the Kubernetes cluster.
|
|
244
275
|
*/
|
|
245
276
|
labels?: Tag[];
|
|
246
277
|
/**
|
|
247
278
|
* @remarks
|
|
248
|
-
*
|
|
279
|
+
* The custom node name. If you customize the node name, the node name, ECS instance name, and ECS instance hostname are changed.
|
|
280
|
+
*
|
|
281
|
+
* > 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.
|
|
282
|
+
*
|
|
283
|
+
* A node name consists of a prefix, the node IP address, and a suffix.
|
|
249
284
|
*
|
|
250
|
-
*
|
|
251
|
-
* * The node IP address in a custom node name is the private IP address of the node.
|
|
285
|
+
* - The total length must be 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
252
286
|
*
|
|
253
|
-
*
|
|
287
|
+
* - 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 (.).
|
|
288
|
+
*
|
|
289
|
+
* - The prefix is required (due to an ECS limit). The suffix is optional.
|
|
290
|
+
*
|
|
291
|
+
* - The node IP address is the complete private IP address of the node.
|
|
292
|
+
*
|
|
293
|
+
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
|
|
294
|
+
*
|
|
295
|
+
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
296
|
+
*
|
|
297
|
+
* - 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.
|
|
254
298
|
*
|
|
255
299
|
* @example
|
|
256
|
-
*
|
|
300
|
+
* aliyun.com192.XX.YY.55test
|
|
257
301
|
*/
|
|
258
302
|
nodeNameMode?: string;
|
|
259
303
|
/**
|
|
260
304
|
* @remarks
|
|
261
|
-
* The
|
|
305
|
+
* 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).
|
|
262
306
|
*
|
|
263
307
|
* @example
|
|
264
308
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -266,16 +310,18 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
266
310
|
preUserData?: string;
|
|
267
311
|
/**
|
|
268
312
|
* @remarks
|
|
269
|
-
* The name of the container runtime.
|
|
313
|
+
* The name of the container runtime. ACK supports the following three container runtimes.
|
|
314
|
+
*
|
|
315
|
+
* - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
|
|
270
316
|
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
317
|
+
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 or earlier.
|
|
318
|
+
*
|
|
319
|
+
* - docker: no longer maintained. It is supported by clusters of Kubernetes 1.22 or earlier.
|
|
274
320
|
*
|
|
275
321
|
* Default value: containerd.
|
|
276
322
|
*
|
|
277
323
|
* @example
|
|
278
|
-
*
|
|
324
|
+
* containerd
|
|
279
325
|
*/
|
|
280
326
|
runtime?: string;
|
|
281
327
|
/**
|
|
@@ -283,17 +329,21 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
283
329
|
* The version of the container runtime.
|
|
284
330
|
*
|
|
285
331
|
* @example
|
|
286
|
-
*
|
|
332
|
+
* 1.6.38
|
|
287
333
|
*/
|
|
288
334
|
runtimeVersion?: string;
|
|
289
335
|
/**
|
|
290
336
|
* @remarks
|
|
291
|
-
* The configurations
|
|
337
|
+
* The taint configurations.
|
|
292
338
|
*/
|
|
293
339
|
taints?: Taint[];
|
|
294
340
|
/**
|
|
295
341
|
* @remarks
|
|
296
|
-
* Specifies whether the
|
|
342
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
343
|
+
*
|
|
344
|
+
* - true: The nodes are unschedulable.
|
|
345
|
+
*
|
|
346
|
+
* - false: The nodes are schedulable.
|
|
297
347
|
*
|
|
298
348
|
* @example
|
|
299
349
|
* true
|
|
@@ -301,7 +351,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
301
351
|
unschedulable?: boolean;
|
|
302
352
|
/**
|
|
303
353
|
* @remarks
|
|
304
|
-
* The user
|
|
354
|
+
* 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).
|
|
305
355
|
*
|
|
306
356
|
* @example
|
|
307
357
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -319,15 +369,20 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
319
369
|
});
|
|
320
370
|
}
|
|
321
371
|
export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
372
|
+
/**
|
|
373
|
+
* @remarks
|
|
374
|
+
* Specifies whether manual approval is required for node repair.
|
|
375
|
+
*/
|
|
322
376
|
approvalRequired?: boolean;
|
|
323
377
|
/**
|
|
324
378
|
* @remarks
|
|
325
|
-
* Specifies whether to allow node restart. This parameter takes effect only
|
|
379
|
+
* Specifies whether to allow node restart. This parameter takes effect only if \\`auto_repair\\` is set to \\`true\\`. Valid values:
|
|
326
380
|
*
|
|
327
|
-
*
|
|
328
|
-
* * `false`: does not allow node restart.
|
|
381
|
+
* - `true`: Allows node restart.
|
|
329
382
|
*
|
|
330
|
-
*
|
|
383
|
+
* - `false`: Disallows node restart.
|
|
384
|
+
*
|
|
385
|
+
* Default value: `true`
|
|
331
386
|
*
|
|
332
387
|
* @example
|
|
333
388
|
* true
|
|
@@ -347,12 +402,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
347
402
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
348
403
|
/**
|
|
349
404
|
* @remarks
|
|
350
|
-
* Specifies whether to allow
|
|
405
|
+
* Specifies whether to allow auto kubelet upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
|
|
406
|
+
*
|
|
407
|
+
* - `true`: Allows auto kubelet upgrade.
|
|
351
408
|
*
|
|
352
|
-
*
|
|
353
|
-
* * `false`: does not allow the auto upgrade of the kubelet.
|
|
409
|
+
* - `false`: Disallows auto kubelet upgrade.
|
|
354
410
|
*
|
|
355
|
-
*
|
|
411
|
+
* Default value: `true`.
|
|
356
412
|
*
|
|
357
413
|
* @example
|
|
358
414
|
* true
|
|
@@ -360,10 +416,11 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
360
416
|
autoUpgradeKubelet?: boolean;
|
|
361
417
|
/**
|
|
362
418
|
* @remarks
|
|
363
|
-
* Specifies whether to allow
|
|
419
|
+
* Specifies whether to allow auto OS upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
|
|
420
|
+
*
|
|
421
|
+
* - `true`: Allows auto OS upgrade.
|
|
364
422
|
*
|
|
365
|
-
*
|
|
366
|
-
* * `false`: does not allow the auto upgrade of the OS.
|
|
423
|
+
* - `false`: Disallows auto OS upgrade.
|
|
367
424
|
*
|
|
368
425
|
* Default value: `false`.
|
|
369
426
|
*
|
|
@@ -373,12 +430,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
373
430
|
autoUpgradeOs?: boolean;
|
|
374
431
|
/**
|
|
375
432
|
* @remarks
|
|
376
|
-
* Specifies whether to allow
|
|
433
|
+
* Specifies whether to allow auto runtime upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
|
|
377
434
|
*
|
|
378
|
-
*
|
|
379
|
-
* * `false`: does not allow the auto upgrade of the runtime.
|
|
435
|
+
* - `true`: Allows auto runtime upgrade.
|
|
380
436
|
*
|
|
381
|
-
*
|
|
437
|
+
* - `false`: Disallows auto runtime upgrade.
|
|
438
|
+
*
|
|
439
|
+
* Default value: `true`.
|
|
382
440
|
*
|
|
383
441
|
* @example
|
|
384
442
|
* false
|
|
@@ -396,27 +454,41 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
396
454
|
});
|
|
397
455
|
}
|
|
398
456
|
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
457
|
+
/**
|
|
458
|
+
* @remarks
|
|
459
|
+
* The packages that should be excluded from vulnerability fixing.
|
|
460
|
+
*
|
|
461
|
+
* Default value: `kernel`.
|
|
462
|
+
*
|
|
463
|
+
* @example
|
|
464
|
+
* kernel
|
|
465
|
+
*/
|
|
399
466
|
excludePackages?: string;
|
|
400
467
|
/**
|
|
401
468
|
* @remarks
|
|
402
|
-
* Specifies whether to allow node restart. This parameter takes effect only
|
|
469
|
+
* Specifies whether to allow node restart. This parameter takes effect only if \\`auto_vul_fix\\` is set to \\`true\\`. Valid values:
|
|
470
|
+
*
|
|
471
|
+
* - `true`: Allows node restart.
|
|
403
472
|
*
|
|
404
|
-
*
|
|
405
|
-
*
|
|
473
|
+
* - `false`: Disallows node restart.
|
|
474
|
+
*
|
|
475
|
+
* Default value: `true`
|
|
406
476
|
*
|
|
407
477
|
* @example
|
|
408
|
-
*
|
|
478
|
+
* false
|
|
409
479
|
*/
|
|
410
480
|
restartNode?: boolean;
|
|
411
481
|
/**
|
|
412
482
|
* @remarks
|
|
413
|
-
* The
|
|
483
|
+
* The vulnerability levels that are allowed to be automatically fixed. Separate multiple levels with commas. Example: `asap,later`. Supported vulnerability levels:
|
|
414
484
|
*
|
|
415
|
-
*
|
|
416
|
-
* * `later`: medium.
|
|
417
|
-
* * `nntf`: low.
|
|
485
|
+
* - `asap`: high
|
|
418
486
|
*
|
|
419
|
-
*
|
|
487
|
+
* - `later`: medium
|
|
488
|
+
*
|
|
489
|
+
* - `nntf`: low
|
|
490
|
+
*
|
|
491
|
+
* Default value: `asap`.
|
|
420
492
|
*
|
|
421
493
|
* @example
|
|
422
494
|
* asap,nntf
|
|
@@ -436,24 +508,24 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
436
508
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
437
509
|
/**
|
|
438
510
|
* @remarks
|
|
439
|
-
*
|
|
511
|
+
* [This parameter is deprecated] Use the \\`auto_upgrade\\` parameter instead.
|
|
440
512
|
*
|
|
441
|
-
*
|
|
442
|
-
* * `false`: disables auto OS upgrade.
|
|
513
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
443
514
|
*
|
|
444
|
-
*
|
|
515
|
+
* - `true`: enables auto upgrade.
|
|
445
516
|
*
|
|
446
|
-
*
|
|
517
|
+
* - `false`: disables auto upgrade.
|
|
447
518
|
*
|
|
448
519
|
* @example
|
|
449
|
-
*
|
|
520
|
+
* null
|
|
450
521
|
*
|
|
451
522
|
* @deprecated
|
|
452
523
|
*/
|
|
453
524
|
autoUpgrade?: boolean;
|
|
454
525
|
/**
|
|
455
526
|
* @remarks
|
|
456
|
-
* The maximum number of nodes
|
|
527
|
+
* The maximum number of unavailable nodes.
|
|
528
|
+
* The value must be in the range of [1, 1000].
|
|
457
529
|
*
|
|
458
530
|
* Default value: 1.
|
|
459
531
|
*
|
|
@@ -463,7 +535,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
463
535
|
maxUnavailable?: number;
|
|
464
536
|
/**
|
|
465
537
|
* @remarks
|
|
466
|
-
* The number of nodes
|
|
538
|
+
* The number of extra nodes. You can specify only one of \\`surge\\` and \\`surge_percentage\\`.
|
|
539
|
+
*
|
|
540
|
+
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the load on the cluster.
|
|
541
|
+
*
|
|
542
|
+
* > We recommend that the number of extra nodes does not exceed the current number of nodes.
|
|
467
543
|
*
|
|
468
544
|
* @example
|
|
469
545
|
* 0
|
|
@@ -471,7 +547,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
471
547
|
surge?: number;
|
|
472
548
|
/**
|
|
473
549
|
* @remarks
|
|
474
|
-
* The percentage of
|
|
550
|
+
* The percentage of extra nodes. You can specify only one of \\`surge\\` and \\`surge_percentage\\`.
|
|
551
|
+
*
|
|
552
|
+
* 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.
|
|
475
553
|
*
|
|
476
554
|
* @example
|
|
477
555
|
* 0
|
|
@@ -489,17 +567,19 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
489
567
|
});
|
|
490
568
|
}
|
|
491
569
|
export declare class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
570
|
+
autoFaultDiagnosis?: boolean;
|
|
492
571
|
/**
|
|
493
572
|
* @remarks
|
|
494
|
-
* Specifies whether to enable auto node repair. This parameter takes effect only
|
|
573
|
+
* Specifies whether to enable auto node repair. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
|
|
574
|
+
*
|
|
575
|
+
* - `true`: Enables auto node repair.
|
|
495
576
|
*
|
|
496
|
-
*
|
|
497
|
-
* * `false`: disables auto node repair.
|
|
577
|
+
* - `false`: Disables auto node repair.
|
|
498
578
|
*
|
|
499
|
-
*
|
|
579
|
+
* Default value: `true`
|
|
500
580
|
*
|
|
501
581
|
* @example
|
|
502
|
-
*
|
|
582
|
+
* true
|
|
503
583
|
*/
|
|
504
584
|
autoRepair?: boolean;
|
|
505
585
|
/**
|
|
@@ -509,12 +589,13 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
509
589
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
510
590
|
/**
|
|
511
591
|
* @remarks
|
|
512
|
-
* Specifies whether to enable auto node upgrade. This parameter takes effect only
|
|
592
|
+
* Specifies whether to enable auto node upgrade. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
|
|
593
|
+
*
|
|
594
|
+
* - `true`: Enables auto node upgrade.
|
|
513
595
|
*
|
|
514
|
-
*
|
|
515
|
-
* * `false`: disables auto node upgrade.
|
|
596
|
+
* - `false`: Disables auto node upgrade.
|
|
516
597
|
*
|
|
517
|
-
*
|
|
598
|
+
* Default value: `true`.
|
|
518
599
|
*
|
|
519
600
|
* @example
|
|
520
601
|
* true
|
|
@@ -527,12 +608,13 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
527
608
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
528
609
|
/**
|
|
529
610
|
* @remarks
|
|
530
|
-
* Specifies whether to
|
|
611
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
|
|
531
612
|
*
|
|
532
|
-
*
|
|
533
|
-
* * `false`: disables auto CVE patching.
|
|
613
|
+
* - `true`: Automatically fixes CVE vulnerabilities.
|
|
534
614
|
*
|
|
535
|
-
*
|
|
615
|
+
* - `false`: Does not automatically fix CVE vulnerabilities.
|
|
616
|
+
*
|
|
617
|
+
* Default value: `true`.
|
|
536
618
|
*
|
|
537
619
|
* @example
|
|
538
620
|
* true
|
|
@@ -540,15 +622,16 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
540
622
|
autoVulFix?: boolean;
|
|
541
623
|
/**
|
|
542
624
|
* @remarks
|
|
543
|
-
* The
|
|
625
|
+
* The policy for automatically fixing CVE vulnerabilities.
|
|
544
626
|
*/
|
|
545
627
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
546
628
|
/**
|
|
547
629
|
* @remarks
|
|
548
630
|
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
549
631
|
*
|
|
550
|
-
*
|
|
551
|
-
*
|
|
632
|
+
* - `true`: Enables the managed node pool feature.
|
|
633
|
+
*
|
|
634
|
+
* - `false`: Disables the managed node pool feature. If you set this parameter to \\`false\\`, the other parameters of \\`management\\` do not take effect.
|
|
552
635
|
*
|
|
553
636
|
* Default value: false.
|
|
554
637
|
*
|
|
@@ -558,7 +641,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
558
641
|
enable?: boolean;
|
|
559
642
|
/**
|
|
560
643
|
* @remarks
|
|
561
|
-
*
|
|
644
|
+
* [This parameter is deprecated] Use the \\`auto_upgrade\\` parameter instead.
|
|
645
|
+
*
|
|
646
|
+
* The auto upgrade configurations. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
|
|
562
647
|
*
|
|
563
648
|
* @deprecated
|
|
564
649
|
*/
|
|
@@ -575,6 +660,10 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
575
660
|
});
|
|
576
661
|
}
|
|
577
662
|
export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
663
|
+
/**
|
|
664
|
+
* @remarks
|
|
665
|
+
* The custom configurations of the node component.
|
|
666
|
+
*/
|
|
578
667
|
customConfig?: {
|
|
579
668
|
[key: string]: string;
|
|
580
669
|
};
|
|
@@ -590,13 +679,23 @@ export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $d
|
|
|
590
679
|
});
|
|
591
680
|
}
|
|
592
681
|
export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
682
|
+
/**
|
|
683
|
+
* @remarks
|
|
684
|
+
* The configurations of the node component.
|
|
685
|
+
*/
|
|
593
686
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
594
687
|
/**
|
|
688
|
+
* @remarks
|
|
689
|
+
* The name of the node component.
|
|
690
|
+
*
|
|
595
691
|
* @example
|
|
596
692
|
* kubelet
|
|
597
693
|
*/
|
|
598
694
|
name?: string;
|
|
599
695
|
/**
|
|
696
|
+
* @remarks
|
|
697
|
+
* The version of the node component.
|
|
698
|
+
*
|
|
600
699
|
* @example
|
|
601
700
|
* 1.33.3-aliyun.1
|
|
602
701
|
*/
|
|
@@ -615,7 +714,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
|
|
|
615
714
|
export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
616
715
|
/**
|
|
617
716
|
* @remarks
|
|
618
|
-
* The
|
|
717
|
+
* The Kubelet parameter settings.
|
|
619
718
|
*/
|
|
620
719
|
kubeletConfiguration?: KubeletConfig;
|
|
621
720
|
static names(): {
|
|
@@ -637,12 +736,14 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
637
736
|
* This parameter is required.
|
|
638
737
|
*
|
|
639
738
|
* @example
|
|
640
|
-
*
|
|
739
|
+
* nodepool-test
|
|
641
740
|
*/
|
|
642
741
|
name?: string;
|
|
643
742
|
/**
|
|
644
743
|
* @remarks
|
|
645
|
-
* The ID of the resource group
|
|
744
|
+
* The ID of the resource group. Instances that are created in the node pool belong to this resource group.
|
|
745
|
+
*
|
|
746
|
+
* 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.
|
|
646
747
|
*
|
|
647
748
|
* @example
|
|
648
749
|
* rg-acfmyvw3wjmb****
|
|
@@ -650,11 +751,15 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
650
751
|
resourceGroupId?: string;
|
|
651
752
|
/**
|
|
652
753
|
* @remarks
|
|
653
|
-
* The type of node pool. Valid values:
|
|
754
|
+
* The type of the node pool. Valid values:
|
|
654
755
|
*
|
|
655
|
-
*
|
|
656
|
-
*
|
|
657
|
-
*
|
|
756
|
+
* - `ess`: a regular node pool. This type of node pool provides managed features and auto scaling.
|
|
757
|
+
*
|
|
758
|
+
* - `edge`: an edge node pool.
|
|
759
|
+
*
|
|
760
|
+
* - `lingjun`: a Lingjun node pool.
|
|
761
|
+
*
|
|
762
|
+
* - `hybrid`: a hybrid cloud node pool.
|
|
658
763
|
*
|
|
659
764
|
* @example
|
|
660
765
|
* ess
|
|
@@ -674,7 +779,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
674
779
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
675
780
|
/**
|
|
676
781
|
* @remarks
|
|
677
|
-
* The ID of the private
|
|
782
|
+
* The ID of the private pool. You must specify the private pool ID when \\`match_criteria\\` is set to \\`Target\\`.
|
|
678
783
|
*
|
|
679
784
|
* @example
|
|
680
785
|
* eap-bp67acfmxazb4****
|
|
@@ -682,14 +787,16 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
682
787
|
id?: string;
|
|
683
788
|
/**
|
|
684
789
|
* @remarks
|
|
685
|
-
* The type of private
|
|
790
|
+
* 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:
|
|
686
791
|
*
|
|
687
|
-
*
|
|
688
|
-
*
|
|
689
|
-
*
|
|
792
|
+
* - `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.
|
|
793
|
+
*
|
|
794
|
+
* - `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.
|
|
795
|
+
*
|
|
796
|
+
* - `None`: The instance is launched without using the capacity of a private pool.
|
|
690
797
|
*
|
|
691
798
|
* @example
|
|
692
|
-
*
|
|
799
|
+
* Target
|
|
693
800
|
*/
|
|
694
801
|
matchCriteria?: string;
|
|
695
802
|
static names(): {
|
|
@@ -704,8 +811,19 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
704
811
|
});
|
|
705
812
|
}
|
|
706
813
|
export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
814
|
+
/**
|
|
815
|
+
* @remarks
|
|
816
|
+
* 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.
|
|
817
|
+
*/
|
|
707
818
|
privatePoolIds?: string[];
|
|
708
819
|
/**
|
|
820
|
+
* @remarks
|
|
821
|
+
* 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:
|
|
822
|
+
* 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.
|
|
823
|
+
* 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.
|
|
824
|
+
* None: No resource pool policy is used.
|
|
825
|
+
* Default value: None.
|
|
826
|
+
*
|
|
709
827
|
* @example
|
|
710
828
|
* PrivatePoolFirst
|
|
711
829
|
*/
|
|
@@ -724,7 +842,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
724
842
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
725
843
|
/**
|
|
726
844
|
* @remarks
|
|
727
|
-
* The instance type of
|
|
845
|
+
* The instance type of the spot instance.
|
|
728
846
|
*
|
|
729
847
|
* @example
|
|
730
848
|
* ecs.c6.large
|
|
@@ -732,7 +850,11 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
732
850
|
instanceType?: string;
|
|
733
851
|
/**
|
|
734
852
|
* @remarks
|
|
735
|
-
* The price
|
|
853
|
+
* The maximum bid price for a single instance.
|
|
854
|
+
*
|
|
855
|
+
* <props="intl">
|
|
856
|
+
*
|
|
857
|
+
* Unit: USD/hour.
|
|
736
858
|
*
|
|
737
859
|
* @example
|
|
738
860
|
* 0.39
|
|
@@ -752,7 +874,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
752
874
|
export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
753
875
|
/**
|
|
754
876
|
* @remarks
|
|
755
|
-
* The tag
|
|
877
|
+
* The name of the tag.
|
|
756
878
|
*
|
|
757
879
|
* @example
|
|
758
880
|
* node-k-1
|
|
@@ -780,10 +902,11 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.
|
|
|
780
902
|
export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
781
903
|
/**
|
|
782
904
|
* @remarks
|
|
783
|
-
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only
|
|
905
|
+
* 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:
|
|
784
906
|
*
|
|
785
|
-
*
|
|
786
|
-
*
|
|
907
|
+
* - `true`: enables auto-renewal.
|
|
908
|
+
*
|
|
909
|
+
* - `false`: disables auto-renewal.
|
|
787
910
|
*
|
|
788
911
|
* Default value: `false`.
|
|
789
912
|
*
|
|
@@ -795,8 +918,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
795
918
|
* @remarks
|
|
796
919
|
* The auto-renewal period. Valid values:
|
|
797
920
|
*
|
|
798
|
-
*
|
|
799
|
-
*
|
|
921
|
+
* - If \\`PeriodUnit\\` is set to \\`Week\\`: 1, 2, and 3.
|
|
922
|
+
*
|
|
923
|
+
* - If \\`PeriodUnit\\` is set to \\`Month\\`: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
800
924
|
*
|
|
801
925
|
* Default value: 1.
|
|
802
926
|
*
|
|
@@ -806,20 +930,21 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
806
930
|
autoRenewPeriod?: number;
|
|
807
931
|
/**
|
|
808
932
|
* @remarks
|
|
809
|
-
*
|
|
933
|
+
* [Deprecated] Use the \\`security_hardening_os\\` parameter instead.
|
|
810
934
|
*
|
|
811
935
|
* @example
|
|
812
|
-
*
|
|
936
|
+
* null
|
|
813
937
|
*
|
|
814
938
|
* @deprecated
|
|
815
939
|
*/
|
|
816
940
|
cisEnabled?: boolean;
|
|
817
941
|
/**
|
|
818
942
|
* @remarks
|
|
819
|
-
* Specifies whether to automatically create pay-as-you-go instances to meet the
|
|
943
|
+
* 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:
|
|
820
944
|
*
|
|
821
|
-
*
|
|
822
|
-
*
|
|
945
|
+
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
946
|
+
*
|
|
947
|
+
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
823
948
|
*
|
|
824
949
|
* @example
|
|
825
950
|
* true
|
|
@@ -827,12 +952,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
827
952
|
compensateWithOnDemand?: boolean;
|
|
828
953
|
/**
|
|
829
954
|
* @remarks
|
|
830
|
-
* The configurations of the
|
|
955
|
+
* The data disk configurations of the nodes in the node pool.
|
|
831
956
|
*/
|
|
832
957
|
dataDisks?: DataDisk[];
|
|
833
958
|
/**
|
|
834
959
|
* @remarks
|
|
835
|
-
* The ID of the deployment set.
|
|
960
|
+
* 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.
|
|
961
|
+
*
|
|
962
|
+
* >Notice:
|
|
963
|
+
*
|
|
964
|
+
* 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.
|
|
836
965
|
*
|
|
837
966
|
* @example
|
|
838
967
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -842,14 +971,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
842
971
|
* @remarks
|
|
843
972
|
* The expected number of nodes in the node pool.
|
|
844
973
|
*
|
|
974
|
+
* 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.
|
|
975
|
+
*
|
|
976
|
+
* If you do not need to create nodes, set this parameter to 0. You can manually adjust the number of nodes later.
|
|
977
|
+
*
|
|
845
978
|
* @example
|
|
846
979
|
* 0
|
|
847
980
|
*/
|
|
848
981
|
desiredSize?: number;
|
|
982
|
+
/**
|
|
983
|
+
* @remarks
|
|
984
|
+
* The block device initialization configurations.
|
|
985
|
+
*/
|
|
849
986
|
diskInit?: DiskInit[];
|
|
850
987
|
/**
|
|
851
988
|
* @remarks
|
|
852
|
-
* The custom image
|
|
989
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
853
990
|
*
|
|
854
991
|
* @example
|
|
855
992
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -857,59 +994,76 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
857
994
|
imageId?: string;
|
|
858
995
|
/**
|
|
859
996
|
* @remarks
|
|
860
|
-
* The
|
|
997
|
+
* The OS image type. Valid values:
|
|
998
|
+
*
|
|
999
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1000
|
+
*
|
|
1001
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1002
|
+
*
|
|
1003
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1004
|
+
*
|
|
1005
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1006
|
+
*
|
|
1007
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1008
|
+
*
|
|
1009
|
+
* - `CentOS`: CentOS image.
|
|
1010
|
+
*
|
|
1011
|
+
* - `Windows`: Windows image.
|
|
861
1012
|
*
|
|
862
|
-
*
|
|
863
|
-
*
|
|
864
|
-
*
|
|
865
|
-
*
|
|
866
|
-
*
|
|
867
|
-
* * `CentOS`: CentOS.
|
|
868
|
-
* * `Windows`: Windows.
|
|
869
|
-
* * `WindowsCore`: Windows Core.
|
|
870
|
-
* * `ContainerOS`: ContainerOS.
|
|
871
|
-
* * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
|
|
1013
|
+
* - `WindowsCore`: WindowsCore image.
|
|
1014
|
+
*
|
|
1015
|
+
* - `ContainerOS`: Container-Optimized OS.
|
|
1016
|
+
*
|
|
1017
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 Container-Optimized OS.
|
|
872
1018
|
*
|
|
873
1019
|
* @example
|
|
874
|
-
*
|
|
1020
|
+
* AliyunLinux3
|
|
875
1021
|
*/
|
|
876
1022
|
imageType?: string;
|
|
877
1023
|
/**
|
|
878
1024
|
* @remarks
|
|
879
|
-
* The billing method of nodes in the node pool. Valid values:
|
|
1025
|
+
* The billing method of the nodes in the node pool. Valid values:
|
|
1026
|
+
*
|
|
1027
|
+
* - `PrePaid`: subscription.
|
|
880
1028
|
*
|
|
881
|
-
*
|
|
882
|
-
* * `PostPaid`: pay-as-you-go.
|
|
1029
|
+
* - `PostPaid`: pay-as-you-go.
|
|
883
1030
|
*
|
|
884
|
-
* Default value: `PostPaid
|
|
1031
|
+
* Default value: `PostPaid`.
|
|
885
1032
|
*
|
|
886
1033
|
* This parameter is required.
|
|
887
1034
|
*
|
|
888
1035
|
* @example
|
|
889
|
-
*
|
|
1036
|
+
* PostPaid
|
|
890
1037
|
*/
|
|
891
1038
|
instanceChargeType?: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* @remarks
|
|
1041
|
+
* The ECS instance metadata access configurations.
|
|
1042
|
+
*/
|
|
892
1043
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
893
1044
|
/**
|
|
894
1045
|
* @remarks
|
|
895
|
-
* The instance
|
|
1046
|
+
* The instance property configurations.
|
|
896
1047
|
*/
|
|
897
1048
|
instancePatterns?: InstancePatterns[];
|
|
898
1049
|
/**
|
|
899
1050
|
* @remarks
|
|
900
|
-
*
|
|
1051
|
+
* 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.
|
|
901
1052
|
*
|
|
902
|
-
*
|
|
1053
|
+
* The number of instance types must be in the range of [1, 10].
|
|
1054
|
+
*
|
|
1055
|
+
* > For high availability, we recommend that you select multiple instance types.
|
|
903
1056
|
*
|
|
904
1057
|
* This parameter is required.
|
|
905
1058
|
*/
|
|
906
1059
|
instanceTypes?: string[];
|
|
907
1060
|
/**
|
|
908
1061
|
* @remarks
|
|
909
|
-
* The
|
|
1062
|
+
* The billing method of the public IP address. Valid values:
|
|
1063
|
+
*
|
|
1064
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
910
1065
|
*
|
|
911
|
-
*
|
|
912
|
-
* * PayByTraffic: pay-by-data-transfer.
|
|
1066
|
+
* - PayByTraffic: pay-by-traffic.
|
|
913
1067
|
*
|
|
914
1068
|
* @example
|
|
915
1069
|
* PayByTraffic
|
|
@@ -917,7 +1071,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
917
1071
|
internetChargeType?: string;
|
|
918
1072
|
/**
|
|
919
1073
|
* @remarks
|
|
920
|
-
* The maximum outbound bandwidth of the
|
|
1074
|
+
* The maximum outbound public bandwidth of the node. Unit: Mbit/s. The value must be in the range of [1, 100].
|
|
921
1075
|
*
|
|
922
1076
|
* @example
|
|
923
1077
|
* 5
|
|
@@ -925,9 +1079,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
925
1079
|
internetMaxBandwidthOut?: number;
|
|
926
1080
|
/**
|
|
927
1081
|
* @remarks
|
|
928
|
-
* The name of the key pair
|
|
1082
|
+
* The name of the key pair that is used for passwordless logon. You must specify one of \\`key_pair\\` and \\`login_password\\`.
|
|
929
1083
|
*
|
|
930
|
-
* >
|
|
1084
|
+
* > If you select Container-Optimized OS for the node pool, you can use only \\`key_pair\\`.
|
|
931
1085
|
*
|
|
932
1086
|
* @example
|
|
933
1087
|
* np-key-name
|
|
@@ -935,7 +1089,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
935
1089
|
keyPair?: string;
|
|
936
1090
|
/**
|
|
937
1091
|
* @remarks
|
|
938
|
-
* Specifies whether to
|
|
1092
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1093
|
+
*
|
|
1094
|
+
* - true: Logs on as the ecs-user.
|
|
1095
|
+
*
|
|
1096
|
+
* - false: Logs on as the root user.
|
|
939
1097
|
*
|
|
940
1098
|
* @example
|
|
941
1099
|
* true
|
|
@@ -943,25 +1101,23 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
943
1101
|
loginAsNonRoot?: boolean;
|
|
944
1102
|
/**
|
|
945
1103
|
* @remarks
|
|
946
|
-
* The
|
|
1104
|
+
* 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.
|
|
947
1105
|
*
|
|
948
1106
|
* @example
|
|
949
|
-
*
|
|
1107
|
+
* ****
|
|
950
1108
|
*/
|
|
951
1109
|
loginPassword?: string;
|
|
952
1110
|
/**
|
|
953
1111
|
* @remarks
|
|
954
|
-
* The
|
|
955
|
-
*
|
|
956
|
-
* * `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.
|
|
1112
|
+
* The scaling policy for the ECS instances in the multi-zone scaling group. Valid values:
|
|
957
1113
|
*
|
|
958
|
-
*
|
|
1114
|
+
* - `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.
|
|
959
1115
|
*
|
|
960
|
-
*
|
|
1116
|
+
* - `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.
|
|
961
1117
|
*
|
|
962
|
-
*
|
|
1118
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are specified or the preemptible instance policy is configured.
|
|
963
1119
|
*
|
|
964
|
-
*
|
|
1120
|
+
* - `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.
|
|
965
1121
|
*
|
|
966
1122
|
* Default value: `PRIORITY`.
|
|
967
1123
|
*
|
|
@@ -971,7 +1127,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
971
1127
|
multiAzPolicy?: string;
|
|
972
1128
|
/**
|
|
973
1129
|
* @remarks
|
|
974
|
-
* The minimum number of pay-as-you-go instances that must be
|
|
1130
|
+
* 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.
|
|
975
1131
|
*
|
|
976
1132
|
* @example
|
|
977
1133
|
* 0
|
|
@@ -979,7 +1135,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
979
1135
|
onDemandBaseCapacity?: number;
|
|
980
1136
|
/**
|
|
981
1137
|
* @remarks
|
|
982
|
-
* The percentage of pay-as-you-go instances among the extra instances that
|
|
1138
|
+
* 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].
|
|
983
1139
|
*
|
|
984
1140
|
* @example
|
|
985
1141
|
* 20
|
|
@@ -987,10 +1143,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
987
1143
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
988
1144
|
/**
|
|
989
1145
|
* @remarks
|
|
990
|
-
* The subscription duration of nodes in the node pool. This parameter
|
|
1146
|
+
* 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\\`.
|
|
1147
|
+
*
|
|
1148
|
+
* - If \\`period_unit\\` is set to \\`Week\\`, the valid values of \\`period\\` are 1, 2, 3, and 4.
|
|
991
1149
|
*
|
|
992
|
-
*
|
|
993
|
-
* * 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.
|
|
1150
|
+
* - 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.
|
|
994
1151
|
*
|
|
995
1152
|
* @example
|
|
996
1153
|
* 1
|
|
@@ -998,10 +1155,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
998
1155
|
period?: number;
|
|
999
1156
|
/**
|
|
1000
1157
|
* @remarks
|
|
1001
|
-
* The billing cycle of nodes in the node pool. This parameter
|
|
1158
|
+
* 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\\`.
|
|
1002
1159
|
*
|
|
1003
|
-
*
|
|
1004
|
-
*
|
|
1160
|
+
* - `Month`: The billing cycle is measured in months.
|
|
1161
|
+
*
|
|
1162
|
+
* - `Week`: The billing cycle is measured in weeks.
|
|
1005
1163
|
*
|
|
1006
1164
|
* Default value: `Month`.
|
|
1007
1165
|
*
|
|
@@ -1011,34 +1169,42 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1011
1169
|
periodUnit?: string;
|
|
1012
1170
|
/**
|
|
1013
1171
|
* @remarks
|
|
1014
|
-
*
|
|
1172
|
+
* [This parameter is deprecated] Use the \\`image_type\\` parameter instead.
|
|
1173
|
+
*
|
|
1174
|
+
* The OS distribution. Valid values:
|
|
1175
|
+
*
|
|
1176
|
+
* - `CentOS`
|
|
1015
1177
|
*
|
|
1016
|
-
*
|
|
1017
|
-
*
|
|
1018
|
-
*
|
|
1019
|
-
*
|
|
1178
|
+
* - `AliyunLinux`
|
|
1179
|
+
*
|
|
1180
|
+
* - `Windows`
|
|
1181
|
+
*
|
|
1182
|
+
* - `WindowsCore`
|
|
1020
1183
|
*
|
|
1021
1184
|
* Default value: `AliyunLinux`.
|
|
1022
1185
|
*
|
|
1023
1186
|
* @example
|
|
1024
|
-
*
|
|
1187
|
+
* null
|
|
1025
1188
|
*
|
|
1026
1189
|
* @deprecated
|
|
1027
1190
|
*/
|
|
1028
1191
|
platform?: string;
|
|
1029
1192
|
/**
|
|
1030
1193
|
* @remarks
|
|
1031
|
-
* The
|
|
1194
|
+
* The private pool configurations.
|
|
1032
1195
|
*/
|
|
1033
1196
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1034
1197
|
/**
|
|
1035
1198
|
* @remarks
|
|
1036
1199
|
* The name of the worker RAM role.
|
|
1037
1200
|
*
|
|
1038
|
-
*
|
|
1039
|
-
*
|
|
1201
|
+
* - If this parameter is left empty, the default worker RAM role of the cluster is used.
|
|
1202
|
+
*
|
|
1203
|
+
* - 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-\\`.
|
|
1040
1204
|
*
|
|
1041
|
-
* >
|
|
1205
|
+
* >Notice:
|
|
1206
|
+
*
|
|
1207
|
+
* This parameter is supported only by ACK managed clusters of Kubernetes 1.22 or later.
|
|
1042
1208
|
*
|
|
1043
1209
|
* @example
|
|
1044
1210
|
* example-role
|
|
@@ -1046,16 +1212,23 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1046
1212
|
ramRoleName?: string;
|
|
1047
1213
|
/**
|
|
1048
1214
|
* @remarks
|
|
1049
|
-
*
|
|
1215
|
+
* A list of RDS instances.
|
|
1050
1216
|
*/
|
|
1051
1217
|
rdsInstances?: string[];
|
|
1218
|
+
/**
|
|
1219
|
+
* @remarks
|
|
1220
|
+
* The resource pool and policy used to create instances. Note:
|
|
1221
|
+
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1222
|
+
* This parameter cannot be set at the same time as \\`private_pool_options.match_criteria\\` and \\`private_pool_options.id\\`.
|
|
1223
|
+
*/
|
|
1052
1224
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1053
1225
|
/**
|
|
1054
1226
|
* @remarks
|
|
1055
1227
|
* The scaling mode of the scaling group. Valid values:
|
|
1056
1228
|
*
|
|
1057
|
-
*
|
|
1058
|
-
*
|
|
1229
|
+
* - `release`: standard mode. The system creates and releases ECS instances to scale the group.
|
|
1230
|
+
*
|
|
1231
|
+
* - `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.
|
|
1059
1232
|
*
|
|
1060
1233
|
* Default value: `release`.
|
|
1061
1234
|
*
|
|
@@ -1065,7 +1238,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1065
1238
|
scalingPolicy?: string;
|
|
1066
1239
|
/**
|
|
1067
1240
|
* @remarks
|
|
1068
|
-
* The ID of the security group
|
|
1241
|
+
* 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\\`.
|
|
1069
1242
|
*
|
|
1070
1243
|
* @example
|
|
1071
1244
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1075,15 +1248,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1075
1248
|
securityGroupId?: string;
|
|
1076
1249
|
/**
|
|
1077
1250
|
* @remarks
|
|
1078
|
-
*
|
|
1251
|
+
* 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.
|
|
1079
1252
|
*/
|
|
1080
1253
|
securityGroupIds?: string[];
|
|
1081
1254
|
/**
|
|
1082
1255
|
* @remarks
|
|
1083
|
-
*
|
|
1256
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1257
|
+
*
|
|
1258
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1084
1259
|
*
|
|
1085
|
-
*
|
|
1086
|
-
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
1260
|
+
* - `false`: Disables Alibaba Cloud OS security hardening.
|
|
1087
1261
|
*
|
|
1088
1262
|
* Default value: `false`.
|
|
1089
1263
|
*
|
|
@@ -1093,7 +1267,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1093
1267
|
securityHardeningOs?: boolean;
|
|
1094
1268
|
/**
|
|
1095
1269
|
* @remarks
|
|
1096
|
-
* Specifies whether to enable MLPS
|
|
1270
|
+
* 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.
|
|
1097
1271
|
*
|
|
1098
1272
|
* @example
|
|
1099
1273
|
* false
|
|
@@ -1101,7 +1275,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1101
1275
|
socEnabled?: boolean;
|
|
1102
1276
|
/**
|
|
1103
1277
|
* @remarks
|
|
1104
|
-
* The number of instance types that
|
|
1278
|
+
* 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].
|
|
1105
1279
|
*
|
|
1106
1280
|
* @example
|
|
1107
1281
|
* 5
|
|
@@ -1109,10 +1283,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1109
1283
|
spotInstancePools?: number;
|
|
1110
1284
|
/**
|
|
1111
1285
|
* @remarks
|
|
1112
|
-
*
|
|
1286
|
+
* 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:
|
|
1113
1287
|
*
|
|
1114
|
-
*
|
|
1115
|
-
*
|
|
1288
|
+
* - `true`: Enables the instance reclaim mode.
|
|
1289
|
+
*
|
|
1290
|
+
* - `false`: Disables the instance reclaim mode.
|
|
1116
1291
|
*
|
|
1117
1292
|
* @example
|
|
1118
1293
|
* false
|
|
@@ -1120,18 +1295,20 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1120
1295
|
spotInstanceRemedy?: boolean;
|
|
1121
1296
|
/**
|
|
1122
1297
|
* @remarks
|
|
1123
|
-
* The
|
|
1298
|
+
* The configurations of the price range for a single spot instance.
|
|
1124
1299
|
*/
|
|
1125
1300
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1126
1301
|
/**
|
|
1127
1302
|
* @remarks
|
|
1128
|
-
* The bidding policy
|
|
1303
|
+
* The bidding policy for the spot instances. Valid values:
|
|
1304
|
+
*
|
|
1305
|
+
* - `NoSpot`: The instance is not a spot instance.
|
|
1306
|
+
*
|
|
1307
|
+
* - `SpotWithPriceLimit`: Sets the maximum bid price for the spot instance.
|
|
1129
1308
|
*
|
|
1130
|
-
*
|
|
1131
|
-
* * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
|
|
1132
|
-
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
1309
|
+
* - `SpotAsPriceGo`: The system automatically bids based on the current market price.
|
|
1133
1310
|
*
|
|
1134
|
-
* For more information, see [
|
|
1311
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1135
1312
|
*
|
|
1136
1313
|
* @example
|
|
1137
1314
|
* NoSpot
|
|
@@ -1139,12 +1316,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1139
1316
|
spotStrategy?: string;
|
|
1140
1317
|
/**
|
|
1141
1318
|
* @remarks
|
|
1142
|
-
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
1319
|
+
* Specifies whether to enable the performance burst feature for the system disk of the node. Valid values:
|
|
1143
1320
|
*
|
|
1144
|
-
*
|
|
1145
|
-
* * false: disables the burst feature.
|
|
1321
|
+
* - true: Yes.
|
|
1146
1322
|
*
|
|
1147
|
-
*
|
|
1323
|
+
* - false: No.
|
|
1324
|
+
*
|
|
1325
|
+
* 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).
|
|
1148
1326
|
*
|
|
1149
1327
|
* @example
|
|
1150
1328
|
* true
|
|
@@ -1152,26 +1330,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1152
1330
|
systemDiskBurstingEnabled?: boolean;
|
|
1153
1331
|
/**
|
|
1154
1332
|
* @remarks
|
|
1155
|
-
* The
|
|
1156
|
-
*
|
|
1157
|
-
* * `cloud`: basic disk.
|
|
1158
|
-
* * `cloud_efficiency`: ultra disk.
|
|
1159
|
-
* * `cloud_ssd`: standard SSD.
|
|
1160
|
-
* * `cloud_essd`: ESSD.
|
|
1161
|
-
* * `cloud_auto`: ESSD AutoPL disk.
|
|
1162
|
-
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
1333
|
+
* 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.
|
|
1163
1334
|
*/
|
|
1164
1335
|
systemDiskCategories?: string[];
|
|
1165
1336
|
/**
|
|
1166
1337
|
* @remarks
|
|
1167
|
-
* The
|
|
1338
|
+
* The type of the system disk of the node. Valid values:
|
|
1339
|
+
*
|
|
1340
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1168
1341
|
*
|
|
1169
|
-
*
|
|
1170
|
-
*
|
|
1171
|
-
*
|
|
1172
|
-
*
|
|
1173
|
-
*
|
|
1174
|
-
*
|
|
1342
|
+
* - `cloud_ssd`: standard SSD.
|
|
1343
|
+
*
|
|
1344
|
+
* - `cloud_essd`: ESSD.
|
|
1345
|
+
*
|
|
1346
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1347
|
+
*
|
|
1348
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1175
1349
|
*
|
|
1176
1350
|
* Default value: `cloud_efficiency`.
|
|
1177
1351
|
*
|
|
@@ -1181,7 +1355,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1181
1355
|
systemDiskCategory?: string;
|
|
1182
1356
|
/**
|
|
1183
1357
|
* @remarks
|
|
1184
|
-
* The encryption algorithm that is used to encrypt the system disk.
|
|
1358
|
+
* The encryption algorithm that is used to encrypt the system disk. Valid value: aes-256.
|
|
1185
1359
|
*
|
|
1186
1360
|
* @example
|
|
1187
1361
|
* aes-256
|
|
@@ -1189,7 +1363,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1189
1363
|
systemDiskEncryptAlgorithm?: string;
|
|
1190
1364
|
/**
|
|
1191
1365
|
* @remarks
|
|
1192
|
-
* Specifies whether to encrypt the system disk.
|
|
1366
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
1367
|
+
*
|
|
1368
|
+
* - true: encrypts the system disk.
|
|
1369
|
+
*
|
|
1370
|
+
* - false: does not encrypt the system disk.
|
|
1193
1371
|
*
|
|
1194
1372
|
* @example
|
|
1195
1373
|
* false
|
|
@@ -1205,14 +1383,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1205
1383
|
systemDiskKmsKeyId?: string;
|
|
1206
1384
|
/**
|
|
1207
1385
|
* @remarks
|
|
1208
|
-
* The
|
|
1386
|
+
* 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).
|
|
1387
|
+
*
|
|
1388
|
+
* - PL0: A moderate maximum concurrent I/O performance and a relatively stable read/write latency.
|
|
1209
1389
|
*
|
|
1210
|
-
*
|
|
1211
|
-
* * PL1: moderate maximum concurrent I/O performance and low I/O latency.
|
|
1212
|
-
* * PL2: high maximum concurrent I/O performance and low I/O latency.
|
|
1213
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1390
|
+
* - PL1: A moderate maximum concurrent I/O performance and a relatively stable read/write latency.
|
|
1214
1391
|
*
|
|
1215
|
-
*
|
|
1392
|
+
* - PL2: A high maximum concurrent I/O performance and a stable read/write latency.
|
|
1393
|
+
*
|
|
1394
|
+
* - PL3: A very high maximum concurrent I/O performance and a very stable read/write latency.
|
|
1216
1395
|
*
|
|
1217
1396
|
* @example
|
|
1218
1397
|
* PL1
|
|
@@ -1220,9 +1399,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1220
1399
|
systemDiskPerformanceLevel?: string;
|
|
1221
1400
|
/**
|
|
1222
1401
|
* @remarks
|
|
1223
|
-
* The
|
|
1402
|
+
* The provisioned read/write IOPS of the system disk of the node.
|
|
1403
|
+
*
|
|
1404
|
+
* Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
1224
1405
|
*
|
|
1225
|
-
* This parameter
|
|
1406
|
+
* 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).
|
|
1226
1407
|
*
|
|
1227
1408
|
* @example
|
|
1228
1409
|
* 1000
|
|
@@ -1230,27 +1411,34 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1230
1411
|
systemDiskProvisionedIops?: number;
|
|
1231
1412
|
/**
|
|
1232
1413
|
* @remarks
|
|
1233
|
-
* The size of the system disk. Unit: GiB.
|
|
1414
|
+
* The size of the system disk of the node. Unit: GiB.
|
|
1234
1415
|
*
|
|
1235
|
-
*
|
|
1416
|
+
* The value must be in the range of [20, 2048].
|
|
1236
1417
|
*
|
|
1237
1418
|
* @example
|
|
1238
1419
|
* 120
|
|
1239
1420
|
*/
|
|
1240
1421
|
systemDiskSize?: number;
|
|
1422
|
+
/**
|
|
1423
|
+
* @remarks
|
|
1424
|
+
* The snapshot policy for the system disk.
|
|
1425
|
+
*
|
|
1426
|
+
* @example
|
|
1427
|
+
* sp-0jl6xnmme8v7o935****
|
|
1428
|
+
*/
|
|
1241
1429
|
systemDiskSnapshotPolicyId?: string;
|
|
1242
1430
|
/**
|
|
1243
1431
|
* @remarks
|
|
1244
1432
|
* The tags that you want to add only to ECS instances.
|
|
1245
1433
|
*
|
|
1246
|
-
*
|
|
1434
|
+
* 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\\://”.
|
|
1247
1435
|
*/
|
|
1248
1436
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1249
1437
|
/**
|
|
1250
1438
|
* @remarks
|
|
1251
|
-
*
|
|
1439
|
+
* A list of vSwitch IDs. The number of vSwitch IDs must be in the range of [1, 8].
|
|
1252
1440
|
*
|
|
1253
|
-
* >
|
|
1441
|
+
* > For high availability, we recommend that you select vSwitches in different zones.
|
|
1254
1442
|
*
|
|
1255
1443
|
* This parameter is required.
|
|
1256
1444
|
*/
|
|
@@ -1269,7 +1457,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1269
1457
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1270
1458
|
/**
|
|
1271
1459
|
* @remarks
|
|
1272
|
-
* Specifies whether to enable confidential computing
|
|
1460
|
+
* Specifies whether to enable the confidential computing cluster.
|
|
1461
|
+
*
|
|
1462
|
+
* - true: Enables confidential computing.
|
|
1463
|
+
*
|
|
1464
|
+
* - false: Disables confidential computing.
|
|
1273
1465
|
*
|
|
1274
1466
|
* @example
|
|
1275
1467
|
* true
|
|
@@ -1287,31 +1479,40 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1287
1479
|
});
|
|
1288
1480
|
}
|
|
1289
1481
|
export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1482
|
+
/**
|
|
1483
|
+
* @remarks
|
|
1484
|
+
* The intelligent managed node pool configurations.
|
|
1485
|
+
*/
|
|
1290
1486
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1291
1487
|
/**
|
|
1292
1488
|
* @remarks
|
|
1293
|
-
* The
|
|
1489
|
+
* The auto scaling configurations.
|
|
1294
1490
|
*/
|
|
1295
1491
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1296
1492
|
/**
|
|
1297
1493
|
* @remarks
|
|
1298
|
-
* This parameter is deprecated
|
|
1494
|
+
* [This parameter is deprecated] Use desired_size instead.
|
|
1299
1495
|
*
|
|
1300
1496
|
* The number of nodes in the node pool.
|
|
1301
1497
|
*
|
|
1302
1498
|
* @example
|
|
1303
|
-
*
|
|
1499
|
+
* null
|
|
1304
1500
|
*
|
|
1305
1501
|
* @deprecated
|
|
1306
1502
|
*/
|
|
1307
1503
|
count?: number;
|
|
1504
|
+
/**
|
|
1505
|
+
* @remarks
|
|
1506
|
+
* The Lingjun node pool configurations.
|
|
1507
|
+
*/
|
|
1308
1508
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1309
1509
|
/**
|
|
1310
1510
|
* @remarks
|
|
1311
|
-
* Specifies whether to
|
|
1511
|
+
* Specifies whether to use the host network for the pod network.
|
|
1512
|
+
*
|
|
1513
|
+
* - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
|
|
1312
1514
|
*
|
|
1313
|
-
*
|
|
1314
|
-
* * `false`: sets to container network.
|
|
1515
|
+
* - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
|
|
1315
1516
|
*
|
|
1316
1517
|
* @example
|
|
1317
1518
|
* true
|
|
@@ -1319,7 +1520,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1319
1520
|
hostNetwork?: boolean;
|
|
1320
1521
|
/**
|
|
1321
1522
|
* @remarks
|
|
1322
|
-
* This parameter is deprecated
|
|
1523
|
+
* [This parameter is deprecated]
|
|
1323
1524
|
*
|
|
1324
1525
|
* The configurations of the edge node pool.
|
|
1325
1526
|
*
|
|
@@ -1328,10 +1529,11 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1328
1529
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1329
1530
|
/**
|
|
1330
1531
|
* @remarks
|
|
1331
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
1532
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools of the \\`edge\\` type. Valid values:
|
|
1533
|
+
*
|
|
1534
|
+
* - `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.
|
|
1332
1535
|
*
|
|
1333
|
-
*
|
|
1334
|
-
* * `private`: private network.
|
|
1536
|
+
* - `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.
|
|
1335
1537
|
*
|
|
1336
1538
|
* @example
|
|
1337
1539
|
* basic
|
|
@@ -1339,10 +1541,11 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1339
1541
|
interconnectMode?: string;
|
|
1340
1542
|
/**
|
|
1341
1543
|
* @remarks
|
|
1342
|
-
* Specifies whether
|
|
1544
|
+
* Specifies whether nodes in the edge node pool can communicate with each other at Layer 3.
|
|
1343
1545
|
*
|
|
1344
|
-
*
|
|
1345
|
-
*
|
|
1546
|
+
* - `true`: All nodes in the node pool can communicate with each other at Layer 3.
|
|
1547
|
+
*
|
|
1548
|
+
* - `false`: All hosts in the node pool cannot communicate with each other at Layer 3.
|
|
1346
1549
|
*
|
|
1347
1550
|
* @example
|
|
1348
1551
|
* true
|
|
@@ -1350,7 +1553,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1350
1553
|
intranet?: boolean;
|
|
1351
1554
|
/**
|
|
1352
1555
|
* @remarks
|
|
1353
|
-
* The configurations
|
|
1556
|
+
* The cluster-related configurations.
|
|
1354
1557
|
*/
|
|
1355
1558
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1356
1559
|
/**
|
|
@@ -1360,16 +1563,20 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1360
1563
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1361
1564
|
/**
|
|
1362
1565
|
* @remarks
|
|
1363
|
-
* This parameter is deprecated
|
|
1566
|
+
* [This parameter is deprecated]
|
|
1364
1567
|
*
|
|
1365
|
-
* The maximum number of nodes that
|
|
1568
|
+
* The maximum number of nodes that the edge node pool can contain.
|
|
1366
1569
|
*
|
|
1367
1570
|
* @example
|
|
1368
|
-
*
|
|
1571
|
+
* null
|
|
1369
1572
|
*
|
|
1370
1573
|
* @deprecated
|
|
1371
1574
|
*/
|
|
1372
1575
|
maxNodes?: number;
|
|
1576
|
+
/**
|
|
1577
|
+
* @remarks
|
|
1578
|
+
* A list of node components.
|
|
1579
|
+
*/
|
|
1373
1580
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1374
1581
|
/**
|
|
1375
1582
|
* @remarks
|
|
@@ -1378,17 +1585,17 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1378
1585
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
1379
1586
|
/**
|
|
1380
1587
|
* @remarks
|
|
1381
|
-
* The
|
|
1588
|
+
* The node pool configurations.
|
|
1382
1589
|
*/
|
|
1383
1590
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
1384
1591
|
/**
|
|
1385
1592
|
* @remarks
|
|
1386
|
-
* The configurations of the scaling group
|
|
1593
|
+
* The configurations of the scaling group for the node pool.
|
|
1387
1594
|
*/
|
|
1388
1595
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
1389
1596
|
/**
|
|
1390
1597
|
* @remarks
|
|
1391
|
-
* The configurations of confidential computing
|
|
1598
|
+
* The configurations of the confidential computing cluster.
|
|
1392
1599
|
*/
|
|
1393
1600
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
1394
1601
|
static names(): {
|