@alicloud/cs20151215 7.2.2 → 7.2.3
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 +272 -272
- package/dist/client.js +272 -272
- package/dist/models/Addon.d.ts +4 -5
- package/dist/models/Addon.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +30 -36
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +7 -7
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +4 -4
- package/dist/models/CheckServiceRoleRequest.d.ts +1 -1
- package/dist/models/CheckServiceRoleResponseBody.d.ts +4 -4
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -2
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +6 -6
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +285 -304
- package/dist/models/CreateClusterNodePoolRequest.js +34 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +2 -9
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +2 -3
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +4 -4
- package/dist/models/CreateTemplateRequest.d.ts +8 -8
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/CreateTriggerRequest.d.ts +7 -7
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -5
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +4 -4
- package/dist/models/DeleteClusterRequest.d.ts +20 -19
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterShrinkRequest.d.ts +11 -10
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +3 -3
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +3 -3
- package/dist/models/DeployPolicyInstanceRequest.d.ts +4 -4
- package/dist/models/DescribeAddonRequest.d.ts +7 -17
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +7 -9
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +11 -13
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +5 -6
- package/dist/models/DescribeClusterAddonInstanceResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +13 -13
- package/dist/models/DescribeClusterEventsRequest.d.ts +8 -6
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +24 -24
- package/dist/models/DescribeClusterLogsResponse.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +255 -242
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +5 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +244 -295
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +5 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +1 -3
- package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
- package/dist/models/DescribeClusterResourcesResponse.d.ts +19 -21
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +13 -2
- package/dist/models/DescribeClusterTasksRequest.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +7 -3
- package/dist/models/DescribeClusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +5 -5
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterV2userKubeconfigRequest.d.ts +4 -0
- package/dist/models/DescribeClusterV2userKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterV2userKubeconfigResponseBody.d.ts +4 -0
- package/dist/models/DescribeClusterV2userKubeconfigResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +7 -7
- package/dist/models/DescribeClustersForRegionRequest.d.ts +19 -19
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +26 -26
- package/dist/models/DescribeClustersRequest.d.ts +8 -1
- package/dist/models/DescribeClustersRequest.js.map +1 -1
- package/dist/models/DescribeClustersResponse.d.ts +199 -0
- package/dist/models/DescribeClustersResponse.js.map +1 -1
- package/dist/models/DescribeExternalAgentRequest.d.ts +2 -2
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +1 -1
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +8 -9
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +12 -12
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +9 -0
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesResponse.d.ts +10 -10
- package/dist/models/DescribeRegionsRequest.d.ts +2 -2
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +5 -5
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +6 -6
- package/dist/models/DescribeTemplatesRequest.d.ts +6 -6
- package/dist/models/DescribeTemplatesResponseBody.d.ts +10 -10
- package/dist/models/DescribeTriggerRequest.d.ts +5 -11
- package/dist/models/DescribeTriggerRequest.js.map +1 -1
- package/dist/models/DescribeTriggerResponse.d.ts +3 -3
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/FixNodePoolVulsRequest.d.ts +2 -2
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +14 -14
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +2 -2
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.d.ts +3 -3
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +6 -6
- package/dist/models/GetClusterInspectConfigResponseBody.d.ts +1 -1
- package/dist/models/GetKubernetesTriggerRequest.d.ts +4 -4
- package/dist/models/GetKubernetesTriggerResponse.d.ts +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +10 -10
- package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/ListAddonsRequest.d.ts +6 -17
- package/dist/models/ListAddonsRequest.js.map +1 -1
- package/dist/models/ListAddonsResponseBody.d.ts +12 -17
- package/dist/models/ListAddonsResponseBody.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +6 -6
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +1 -1
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +8 -8
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +1 -1
- package/dist/models/ListNodePoolComponentsRequest.d.ts +4 -4
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +4 -4
- package/dist/models/ListTagResourcesRequest.d.ts +3 -2
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +3 -2
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +2 -2
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +7 -9
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +5 -5
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +5 -5
- package/dist/models/OpenAckServiceRequest.d.ts +3 -3
- package/dist/models/QuotasValue.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +10 -10
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +10 -10
- package/dist/models/RepairClusterNodePoolRequest.d.ts +6 -6
- package/dist/models/RunClusterCheckRequest.d.ts +1 -5
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterInspectRequest.d.ts +1 -1
- package/dist/models/RunNodeOperationRequest.d.ts +1 -1
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +7 -7
- package/dist/models/StartAlertRequest.d.ts +2 -2
- package/dist/models/StartAlertResponseBody.d.ts +1 -1
- package/dist/models/StopAlertRequest.d.ts +2 -2
- package/dist/models/StopAlertResponseBody.d.ts +1 -2
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +5 -5
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UntagResourcesRequest.d.ts +6 -6
- package/dist/models/UntagResourcesShrinkRequest.d.ts +6 -6
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +6 -7
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/UpdateContactGroupForAlertRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +4 -4
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +2 -2
- package/dist/models/UpdateKmsencryptionRequest.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +5 -5
- package/dist/models/UpdateResourcesDeleteProtectionRequest.d.ts +3 -3
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +2 -2
- package/dist/models/UpdateTemplateRequest.d.ts +7 -7
- package/dist/models/UpdateUserPermissionsRequest.d.ts +24 -25
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +6 -7
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +26 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +272 -272
- package/src/models/Addon.ts +4 -5
- package/src/models/AttachInstancesRequest.ts +30 -36
- package/src/models/AttachInstancesToNodePoolRequest.ts +7 -7
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +4 -4
- package/src/models/CheckServiceRoleRequest.ts +1 -1
- package/src/models/CheckServiceRoleResponseBody.ts +4 -4
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -2
- package/src/models/CleanUserPermissionsRequest.ts +2 -2
- package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
- package/src/models/CreateAutoRepairPolicyRequest.ts +6 -6
- package/src/models/CreateClusterDiagnosisRequest.ts +1 -1
- package/src/models/CreateClusterInspectConfigRequest.ts +1 -1
- package/src/models/CreateClusterNodePoolRequest.ts +306 -304
- package/src/models/CreateKubernetesTriggerRequest.ts +3 -10
- package/src/models/CreateKubernetesTriggerResponseBody.ts +3 -4
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +4 -4
- package/src/models/CreateTemplateRequest.ts +8 -8
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/CreateTriggerRequest.ts +7 -7
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -5
- package/src/models/DeleteClusterNodesRequest.ts +4 -4
- package/src/models/DeleteClusterRequest.ts +20 -19
- package/src/models/DeleteClusterResponseBody.ts +3 -3
- package/src/models/DeleteClusterShrinkRequest.ts +11 -10
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +3 -3
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +3 -3
- package/src/models/DeployPolicyInstanceRequest.ts +4 -4
- package/src/models/DescribeAddonRequest.ts +7 -17
- package/src/models/DescribeAddonResponseBody.ts +7 -9
- package/src/models/DescribeAddonsRequest.ts +11 -13
- package/src/models/DescribeAddonsResponseBody.ts +1 -1
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +5 -6
- package/src/models/DescribeClusterAttachScriptsRequest.ts +13 -13
- package/src/models/DescribeClusterEventsRequest.ts +8 -6
- package/src/models/DescribeClusterEventsResponseBody.ts +24 -24
- package/src/models/DescribeClusterLogsResponse.ts +1 -1
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +258 -242
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +247 -295
- package/src/models/DescribeClusterResourcesRequest.ts +1 -3
- package/src/models/DescribeClusterResourcesResponse.ts +19 -21
- package/src/models/DescribeClusterTasksRequest.ts +13 -2
- package/src/models/DescribeClusterTasksResponseBody.ts +7 -3
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +5 -5
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterV2userKubeconfigRequest.ts +4 -0
- package/src/models/DescribeClusterV2userKubeconfigResponseBody.ts +4 -0
- package/src/models/DescribeClusterVulsResponseBody.ts +7 -7
- package/src/models/DescribeClustersForRegionRequest.ts +19 -19
- package/src/models/DescribeClustersForRegionResponseBody.ts +26 -26
- package/src/models/DescribeClustersRequest.ts +8 -1
- package/src/models/DescribeClustersResponse.ts +199 -0
- package/src/models/DescribeExternalAgentRequest.ts +2 -2
- package/src/models/DescribeNodePoolVulsRequest.ts +1 -1
- package/src/models/DescribeNodePoolVulsResponseBody.ts +8 -9
- package/src/models/DescribePolicyDetailsResponseBody.ts +12 -12
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +9 -0
- package/src/models/DescribePolicyInstancesResponse.ts +10 -10
- package/src/models/DescribeRegionsRequest.ts +2 -2
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +5 -5
- package/src/models/DescribeTemplateAttributeRequest.ts +3 -3
- package/src/models/DescribeTemplateAttributeResponse.ts +6 -6
- package/src/models/DescribeTemplatesRequest.ts +6 -6
- package/src/models/DescribeTemplatesResponseBody.ts +10 -10
- package/src/models/DescribeTriggerRequest.ts +5 -11
- package/src/models/DescribeTriggerResponse.ts +3 -3
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/FixNodePoolVulsRequest.ts +2 -2
- package/src/models/GetClusterAddonInstanceResponseBody.ts +14 -14
- package/src/models/GetClusterAuditProjectResponseBody.ts +2 -2
- package/src/models/GetClusterDiagnosisCheckItemsResponseBody.ts +3 -3
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +6 -6
- package/src/models/GetClusterInspectConfigResponseBody.ts +1 -1
- package/src/models/GetKubernetesTriggerRequest.ts +4 -4
- package/src/models/GetKubernetesTriggerResponse.ts +1 -1
- package/src/models/GetUpgradeStatusResponseBody.ts +10 -10
- package/src/models/InstallClusterAddonsRequest.ts +2 -2
- package/src/models/InstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/ListAddonsRequest.ts +6 -17
- package/src/models/ListAddonsResponseBody.ts +12 -17
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +6 -6
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +1 -1
- package/src/models/ListClusterAddonInstancesResponseBody.ts +8 -8
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +1 -1
- package/src/models/ListNodePoolComponentsRequest.ts +4 -4
- package/src/models/ListNodePoolComponentsResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +4 -4
- package/src/models/ListTagResourcesRequest.ts +3 -2
- package/src/models/ListTagResourcesResponseBody.ts +2 -2
- package/src/models/ListTagResourcesShrinkRequest.ts +3 -2
- package/src/models/ListUserKubeConfigStatesRequest.ts +2 -2
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +7 -9
- package/src/models/ModifyAutoRepairPolicyRequest.ts +5 -5
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyPolicyInstanceRequest.ts +5 -5
- package/src/models/OpenAckServiceRequest.ts +3 -3
- package/src/models/QuotasValue.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +10 -10
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +10 -10
- package/src/models/RepairClusterNodePoolRequest.ts +6 -6
- package/src/models/RunClusterCheckRequest.ts +1 -5
- package/src/models/RunClusterInspectRequest.ts +1 -1
- package/src/models/RunNodeOperationRequest.ts +1 -1
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/StandardComponentsValue.ts +7 -7
- package/src/models/StartAlertRequest.ts +2 -2
- package/src/models/StartAlertResponseBody.ts +1 -1
- package/src/models/StopAlertRequest.ts +2 -2
- package/src/models/StopAlertResponseBody.ts +1 -2
- package/src/models/TagResourcesRequest.ts +5 -5
- package/src/models/UnInstallClusterAddonsRequest.ts +2 -2
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UntagResourcesRequest.ts +6 -6
- package/src/models/UntagResourcesShrinkRequest.ts +6 -6
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +6 -7
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +3 -3
- package/src/models/UpdateClusterInspectConfigRequest.ts +1 -1
- package/src/models/UpdateContactGroupForAlertRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +1 -1
- package/src/models/UpdateControlPlaneLogRequest.ts +4 -4
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +2 -2
- package/src/models/UpdateKmsencryptionRequest.ts +2 -2
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +5 -5
- package/src/models/UpdateResourcesDeleteProtectionRequest.ts +3 -3
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +2 -2
- package/src/models/UpdateTemplateRequest.ts +7 -7
- package/src/models/UpdateUserPermissionsRequest.ts +24 -25
- package/src/models/UpgradeClusterRequest.ts +6 -7
- package/src/models/model.ts +1 -0
|
@@ -4,15 +4,15 @@ import { DiskInit } from "./DiskInit";
|
|
|
4
4
|
import { InstanceMetadataOptions } from "./InstanceMetadataOptions";
|
|
5
5
|
import { InstancePatterns } from "./InstancePatterns";
|
|
6
6
|
import { KubeletConfig } from "./KubeletConfig";
|
|
7
|
+
import { Hugepage } from "./Hugepage";
|
|
7
8
|
import { Tag } from "./Tag";
|
|
8
9
|
import { Taint } from "./Taint";
|
|
9
10
|
export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
10
11
|
/**
|
|
11
12
|
* @remarks
|
|
12
|
-
* Specifies whether to enable
|
|
13
|
-
*
|
|
14
|
-
* -
|
|
15
|
-
* - false: Does not enable intelligent managed mode.
|
|
13
|
+
* Specifies whether to enable auto mode. Valid values:
|
|
14
|
+
* - true: enables auto mode. This value is valid only when auto mode is enabled for the cluster.
|
|
15
|
+
* - false: disables auto mode.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* true
|
|
@@ -32,9 +32,7 @@ export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
32
32
|
export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
36
|
-
*
|
|
37
|
-
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
35
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead. The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
38
36
|
*
|
|
39
37
|
* @example
|
|
40
38
|
* null
|
|
@@ -44,13 +42,10 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
44
42
|
eipBandwidth?: number;
|
|
45
43
|
/**
|
|
46
44
|
* @remarks
|
|
47
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
52
|
-
*
|
|
53
|
-
* Default value: `PayByBandwidth`.
|
|
45
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead. The billing method of the EIP. Valid values:
|
|
46
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
47
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
48
|
+
* Default value: PayByBandwidth.
|
|
54
49
|
*
|
|
55
50
|
* @example
|
|
56
51
|
* null
|
|
@@ -61,14 +56,10 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
61
56
|
/**
|
|
62
57
|
* @remarks
|
|
63
58
|
* Specifies whether to enable auto scaling. Valid values:
|
|
64
|
-
*
|
|
65
|
-
* -
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
70
|
-
*
|
|
71
|
-
* Default value: `false`.
|
|
59
|
+
* - true: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales the node resources based on the configured minimum and maximum numbers of instances. For clusters running Kubernetes 1.24 or later, instant node elasticity is enabled by default. For clusters running Kubernetes versions earlier than 1.24, node auto scaling is enabled by default. For more information, see [Node auto scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
60
|
+
* - false: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes and always maintains the number of nodes at the expected value.
|
|
61
|
+
* When this parameter is set to false, other configuration parameters in auto_scaling do not take effect.
|
|
62
|
+
* Default value: false.
|
|
72
63
|
*
|
|
73
64
|
* @example
|
|
74
65
|
* false
|
|
@@ -76,15 +67,10 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
76
67
|
enable?: boolean;
|
|
77
68
|
/**
|
|
78
69
|
* @remarks
|
|
79
|
-
* **[Deprecated]**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* - `true`: associates an EIP.
|
|
84
|
-
*
|
|
85
|
-
* - `false`: does not associate an EIP.
|
|
86
|
-
*
|
|
87
|
-
* Default value: `false`.
|
|
70
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead. Specifies whether to bind an EIP. Valid values:
|
|
71
|
+
* - true: binds an EIP.
|
|
72
|
+
* - false: does not bind an EIP.
|
|
73
|
+
* Default value: false.
|
|
88
74
|
*
|
|
89
75
|
* @example
|
|
90
76
|
* null
|
|
@@ -94,8 +80,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
94
80
|
isBondEip?: boolean;
|
|
95
81
|
/**
|
|
96
82
|
* @remarks
|
|
97
|
-
* The maximum number of scalable instances in the node pool, excluding
|
|
98
|
-
*
|
|
83
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when enable is set to true.
|
|
99
84
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
100
85
|
*
|
|
101
86
|
* @example
|
|
@@ -108,8 +93,8 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
108
93
|
*
|
|
109
94
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
110
95
|
*
|
|
111
|
-
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances
|
|
112
|
-
* > -
|
|
96
|
+
* > - If the minimum number of instances is not 0, the automatic creation of the corresponding number of ECS instances is triggered after the scaling group takes effect.
|
|
97
|
+
* > - We recommend that you set the maximum number of instances to a value no less than the current number of nodes in the node pool. Otherwise, the nodes in the node pool are scaled in immediately after the elastic scaling feature takes effect.
|
|
113
98
|
*
|
|
114
99
|
* @example
|
|
115
100
|
* 1
|
|
@@ -117,18 +102,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
117
102
|
minInstances?: number;
|
|
118
103
|
/**
|
|
119
104
|
* @remarks
|
|
120
|
-
* The elastic scaling
|
|
105
|
+
* The instance type for elastic scaling. This parameter takes effect only when `enable=true`. Valid values:
|
|
121
106
|
*
|
|
122
|
-
* - `cpu`: regular instance
|
|
107
|
+
* - `cpu`: regular instance.
|
|
123
108
|
*
|
|
124
|
-
* - `gpu`: GPU instance
|
|
109
|
+
* - `gpu`: GPU-accelerated instance.
|
|
125
110
|
*
|
|
126
|
-
* - `gpushare`: GPU
|
|
111
|
+
* - `gpushare`: shared GPU instance.
|
|
127
112
|
*
|
|
128
|
-
* - `spot`: spot instance
|
|
113
|
+
* - `spot`: spot instance.
|
|
129
114
|
*
|
|
130
115
|
* Default value: `cpu`.
|
|
131
|
-
* >Notice: This
|
|
116
|
+
* >Notice: This field cannot be modified after the node pool is created.</notice>
|
|
132
117
|
*
|
|
133
118
|
* @example
|
|
134
119
|
* cpu
|
|
@@ -148,12 +133,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
148
133
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
149
134
|
/**
|
|
150
135
|
* @remarks
|
|
151
|
-
* Specifies whether to enable automatic
|
|
136
|
+
* Specifies whether to enable automatic addition to the Lingjun node pool.
|
|
152
137
|
*/
|
|
153
138
|
autoAttachEnabled?: boolean;
|
|
154
139
|
/**
|
|
155
140
|
* @remarks
|
|
156
|
-
* The Lingjun cluster
|
|
141
|
+
* The ID of the Lingjun cluster to associate when you create the Lingjun node pool.
|
|
157
142
|
*
|
|
158
143
|
* @example
|
|
159
144
|
* i1169130516633730****
|
|
@@ -161,7 +146,7 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
161
146
|
clusterId?: string;
|
|
162
147
|
/**
|
|
163
148
|
* @remarks
|
|
164
|
-
* The Lingjun group
|
|
149
|
+
* The ID of the Lingjun group in the Lingjun cluster to associate when you create the Lingjun node pool.
|
|
165
150
|
*
|
|
166
151
|
* @example
|
|
167
152
|
* ng-ec3c96ff0aa****
|
|
@@ -186,9 +171,7 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
186
171
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
187
172
|
/**
|
|
188
173
|
* @remarks
|
|
189
|
-
* **[Deprecated]**
|
|
190
|
-
*
|
|
191
|
-
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
174
|
+
* **[Deprecated]** The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
192
175
|
*
|
|
193
176
|
* @example
|
|
194
177
|
* null
|
|
@@ -198,7 +181,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
198
181
|
* @remarks
|
|
199
182
|
* **[Deprecated]**
|
|
200
183
|
*
|
|
201
|
-
* The Cloud Connect Network (CCN) instance ID
|
|
184
|
+
* The Cloud Connect Network (CCN) instance ID attached to the enhanced edge node pool.
|
|
202
185
|
*
|
|
203
186
|
* @example
|
|
204
187
|
* null
|
|
@@ -206,9 +189,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
206
189
|
ccnId?: string;
|
|
207
190
|
/**
|
|
208
191
|
* @remarks
|
|
209
|
-
* **[Deprecated]**
|
|
210
|
-
*
|
|
211
|
-
* The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
|
|
192
|
+
* **[Deprecated]** The region of the CCN instance bound to the enhanced edge node pool.
|
|
212
193
|
*
|
|
213
194
|
* @example
|
|
214
195
|
* null
|
|
@@ -218,7 +199,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
218
199
|
* @remarks
|
|
219
200
|
* **[Deprecated]**
|
|
220
201
|
*
|
|
221
|
-
* The Cloud Enterprise Network (CEN) instance ID
|
|
202
|
+
* The Cloud Enterprise Network (CEN) instance ID attached to the enhanced edge node pool.
|
|
222
203
|
*
|
|
223
204
|
* @example
|
|
224
205
|
* null
|
|
@@ -226,9 +207,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
226
207
|
cenId?: string;
|
|
227
208
|
/**
|
|
228
209
|
* @remarks
|
|
229
|
-
* **[Deprecated]**
|
|
230
|
-
*
|
|
231
|
-
* The purchase duration of the enhanced edge node pool. Unit: months.
|
|
210
|
+
* **[Deprecated]** The subscription duration of the enhanced edge node pool. Unit: months.
|
|
232
211
|
*
|
|
233
212
|
* @example
|
|
234
213
|
* null
|
|
@@ -248,11 +227,11 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
248
227
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
249
228
|
/**
|
|
250
229
|
* @remarks
|
|
251
|
-
* Specifies whether to install
|
|
230
|
+
* Specifies whether to install CloudMonitor on Elastic Compute Service (ECS) nodes. After installation, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Enabling this feature is recommended. Valid values:
|
|
252
231
|
*
|
|
253
|
-
* - `true`:
|
|
232
|
+
* - `true`: installs CloudMonitor on ECS nodes.
|
|
254
233
|
*
|
|
255
|
-
* - `false`:
|
|
234
|
+
* - `false`: does not install CloudMonitor on ECS nodes.
|
|
256
235
|
*
|
|
257
236
|
* Default value: `false`.
|
|
258
237
|
*
|
|
@@ -262,10 +241,10 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
262
241
|
cmsEnabled?: boolean;
|
|
263
242
|
/**
|
|
264
243
|
* @remarks
|
|
265
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
244
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
266
245
|
*
|
|
267
|
-
* - `static`:
|
|
268
|
-
* - `none`:
|
|
246
|
+
* - `static`: allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
247
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
269
248
|
*
|
|
270
249
|
* Default value: `none`.
|
|
271
250
|
*
|
|
@@ -275,27 +254,27 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
275
254
|
cpuPolicy?: string;
|
|
276
255
|
/**
|
|
277
256
|
* @remarks
|
|
278
|
-
* The
|
|
257
|
+
* The labels added to the nodes in the Kubernetes cluster.
|
|
279
258
|
*/
|
|
280
259
|
labels?: Tag[];
|
|
281
260
|
/**
|
|
282
261
|
* @remarks
|
|
283
|
-
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are
|
|
284
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with hyphens (-) replacing
|
|
262
|
+
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are changed at the same time.
|
|
263
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address, with hyphens (-) replacing dots (.) in the IP address, and does not include prefixes or suffixes.
|
|
285
264
|
*
|
|
286
|
-
*
|
|
265
|
+
* The node name consists of three parts: a prefix, the node IP address, and a suffix:
|
|
287
266
|
*
|
|
288
|
-
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
267
|
+
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
289
268
|
*
|
|
290
|
-
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and
|
|
291
|
-
* - The prefix is required (ECS
|
|
292
|
-
* - The node IP is the
|
|
269
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and dots (.). They must start with a letter and cannot start or end with a hyphen (-) or a dot (.). Consecutive hyphens (-) or dots (.) are not allowed.
|
|
270
|
+
* - The prefix is required (due to ECS limits), and the suffix is optional.
|
|
271
|
+
* - The node IP address is the complete private IP address of the node.
|
|
293
272
|
*
|
|
294
|
-
*
|
|
273
|
+
* For example, if the node IP address is 192.XX.YY.55, the specified prefix is aliyun.com, and the suffix is test:
|
|
295
274
|
*
|
|
296
|
-
* -
|
|
275
|
+
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
297
276
|
*
|
|
298
|
-
* -
|
|
277
|
+
* - If the node is a Windows node, the ECS instance hostname is 192-XX-YY-55, and both the node name and ECS instance name are aliyun.com192.XX.YY.55test.
|
|
299
278
|
*
|
|
300
279
|
* @example
|
|
301
280
|
* aliyun.com192.XX.YY.55test
|
|
@@ -303,7 +282,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
303
282
|
nodeNameMode?: string;
|
|
304
283
|
/**
|
|
305
284
|
* @remarks
|
|
306
|
-
* The pre-
|
|
285
|
+
* The pre-custom data of the instance. Before the node joins the cluster, the specified pre-custom data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
307
286
|
*
|
|
308
287
|
* @example
|
|
309
288
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -311,11 +290,11 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
311
290
|
preUserData?: string;
|
|
312
291
|
/**
|
|
313
292
|
* @remarks
|
|
314
|
-
* The container runtime
|
|
293
|
+
* The name of the container runtime. Container Service for Kubernetes (ACK) supports the following three container runtimes:
|
|
315
294
|
*
|
|
316
|
-
* - containerd:
|
|
317
|
-
* - Sandboxed-Container.runv:
|
|
318
|
-
* - docker:
|
|
295
|
+
* - containerd: recommended. Supported by all cluster versions.
|
|
296
|
+
* - Sandboxed-Container.runv: secure sandboxed containers that provide higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
297
|
+
* - docker: no longer maintained. Supported by clusters of version 1.22 and earlier.
|
|
319
298
|
*
|
|
320
299
|
* Default value: containerd.
|
|
321
300
|
*
|
|
@@ -333,16 +312,16 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
333
312
|
runtimeVersion?: string;
|
|
334
313
|
/**
|
|
335
314
|
* @remarks
|
|
336
|
-
* The taint
|
|
315
|
+
* The taint configurations.
|
|
337
316
|
*/
|
|
338
317
|
taints?: Taint[];
|
|
339
318
|
/**
|
|
340
319
|
* @remarks
|
|
341
|
-
* Specifies whether
|
|
320
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
342
321
|
*
|
|
343
|
-
* - true:
|
|
322
|
+
* - true: unschedulable.
|
|
344
323
|
*
|
|
345
|
-
* - false:
|
|
324
|
+
* - false: schedulable.
|
|
346
325
|
*
|
|
347
326
|
* @example
|
|
348
327
|
* true
|
|
@@ -350,7 +329,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
350
329
|
unschedulable?: boolean;
|
|
351
330
|
/**
|
|
352
331
|
* @remarks
|
|
353
|
-
* The instance user data. After a node joins the cluster, the specified user data script
|
|
332
|
+
* The instance user data. After a node joins the cluster, the specified instance user data script runs. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
354
333
|
*
|
|
355
334
|
* @example
|
|
356
335
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -375,7 +354,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
375
354
|
approvalRequired?: boolean;
|
|
376
355
|
/**
|
|
377
356
|
* @remarks
|
|
378
|
-
* The maximum number of
|
|
357
|
+
* The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired at the same time. You can specify a number (such as 5, valid values: 1 to 100000) or a percentage (such as 10%, valid values: 1% to 100%). Default value on the backend: 1.
|
|
379
358
|
*
|
|
380
359
|
* @example
|
|
381
360
|
* 5
|
|
@@ -383,7 +362,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
383
362
|
maxParallelRepairingNodes?: string;
|
|
384
363
|
/**
|
|
385
364
|
* @remarks
|
|
386
|
-
* The
|
|
365
|
+
* The circuit breaker condition for auto-healing. When the number or percentage of faulty nodes exceeds this threshold, auto-healing enters the circuit breaker state and stops initiating new auto-healing repair actions. You can specify a number (such as 10, valid values: 1 to 100000) or a percentage (such as 20%, valid values: 1% to 100%). Default circuit breaker condition on the backend: 100%.
|
|
387
366
|
*
|
|
388
367
|
* @example
|
|
389
368
|
* 20%
|
|
@@ -391,10 +370,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
391
370
|
maxUnhealthyNodesThreshold?: string;
|
|
392
371
|
/**
|
|
393
372
|
* @remarks
|
|
394
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair
|
|
373
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair` is set to `true`. Valid values:
|
|
395
374
|
*
|
|
396
|
-
* - `true`:
|
|
397
|
-
* - `false`:
|
|
375
|
+
* - `true`: allows node restarts.
|
|
376
|
+
* - `false`: does not allow node restarts.
|
|
398
377
|
*
|
|
399
378
|
* Default value: `true`.
|
|
400
379
|
*
|
|
@@ -416,9 +395,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
416
395
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
417
396
|
/**
|
|
418
397
|
* @remarks
|
|
419
|
-
* Specifies whether to allow automatic kubelet
|
|
420
|
-
* - `true`:
|
|
421
|
-
* - `false`:
|
|
398
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
|
|
399
|
+
* - `true`: allows automatic kubelet upgrades.
|
|
400
|
+
* - `false`: does not allow automatic kubelet upgrades.
|
|
422
401
|
*
|
|
423
402
|
* Default value: `true`.
|
|
424
403
|
*
|
|
@@ -428,10 +407,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
428
407
|
autoUpgradeKubelet?: boolean;
|
|
429
408
|
/**
|
|
430
409
|
* @remarks
|
|
431
|
-
* Specifies whether to allow automatic operating system
|
|
432
|
-
* - `true`:
|
|
433
|
-
* - `false`:
|
|
434
|
-
*
|
|
410
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
|
|
411
|
+
* - `true`: allows automatic operating system upgrades.
|
|
412
|
+
* - `false`: does not allow automatic operating system upgrades.
|
|
435
413
|
*
|
|
436
414
|
* Default value: `false`.
|
|
437
415
|
*
|
|
@@ -441,9 +419,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
441
419
|
autoUpgradeOs?: boolean;
|
|
442
420
|
/**
|
|
443
421
|
* @remarks
|
|
444
|
-
* Specifies whether to allow automatic runtime
|
|
445
|
-
* - `true`:
|
|
446
|
-
* - `false`:
|
|
422
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
|
|
423
|
+
* - `true`: allows automatic runtime upgrades.
|
|
424
|
+
* - `false`: does not allow automatic runtime upgrades.
|
|
447
425
|
*
|
|
448
426
|
* Default value: `true`.
|
|
449
427
|
*
|
|
@@ -465,7 +443,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
465
443
|
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
466
444
|
/**
|
|
467
445
|
* @remarks
|
|
468
|
-
* The packages to
|
|
446
|
+
* The packages to be excluded during vulnerability repair.
|
|
469
447
|
*
|
|
470
448
|
* Default value: `kernel`.
|
|
471
449
|
*
|
|
@@ -475,9 +453,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
475
453
|
excludePackages?: string;
|
|
476
454
|
/**
|
|
477
455
|
* @remarks
|
|
478
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix
|
|
479
|
-
* - `true`:
|
|
480
|
-
* - `false`:
|
|
456
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix` is set to `true`. Valid values:
|
|
457
|
+
* - `true`: allows node restarts.
|
|
458
|
+
* - `false`: does not allow node restarts.
|
|
481
459
|
*
|
|
482
460
|
* Default value: `true`.
|
|
483
461
|
*
|
|
@@ -487,11 +465,11 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
487
465
|
restartNode?: boolean;
|
|
488
466
|
/**
|
|
489
467
|
* @remarks
|
|
490
|
-
* The vulnerability levels allowed for
|
|
468
|
+
* The vulnerability levels that are allowed for auto-repair, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
491
469
|
*
|
|
492
|
-
* - `asap`: high
|
|
493
|
-
* - `later`: medium
|
|
494
|
-
* - `nntf`: low
|
|
470
|
+
* - `asap`: high.
|
|
471
|
+
* - `later`: medium.
|
|
472
|
+
* - `nntf`: low.
|
|
495
473
|
*
|
|
496
474
|
* Default value: `asap`.
|
|
497
475
|
*
|
|
@@ -513,13 +491,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
513
491
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
514
492
|
/**
|
|
515
493
|
* @remarks
|
|
516
|
-
* **[Deprecated]** Use the `auto_upgrade` parameter
|
|
494
|
+
* **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
|
|
517
495
|
*
|
|
518
|
-
* Specifies whether to enable
|
|
496
|
+
* Specifies whether to enable auto-upgrade. Valid values:
|
|
519
497
|
*
|
|
520
|
-
* - `true`:
|
|
498
|
+
* - `true`: enables auto-upgrade.
|
|
521
499
|
*
|
|
522
|
-
* - `false`:
|
|
500
|
+
* - `false`: disables auto-upgrade.
|
|
523
501
|
*
|
|
524
502
|
* @example
|
|
525
503
|
* null
|
|
@@ -530,7 +508,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
530
508
|
/**
|
|
531
509
|
* @remarks
|
|
532
510
|
* The maximum number of unavailable nodes.
|
|
533
|
-
* Valid
|
|
511
|
+
* Valid values: [1, 1000].
|
|
534
512
|
*
|
|
535
513
|
* Default value: 1.
|
|
536
514
|
*
|
|
@@ -540,11 +518,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
540
518
|
maxUnavailable?: number;
|
|
541
519
|
/**
|
|
542
520
|
* @remarks
|
|
543
|
-
* The number of extra nodes.
|
|
521
|
+
* The number of extra nodes. This parameter and `surge_percentage` are mutually exclusive.
|
|
544
522
|
*
|
|
545
|
-
* Nodes become unavailable during
|
|
523
|
+
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
546
524
|
*
|
|
547
|
-
* >
|
|
525
|
+
* > Do not create more extra nodes than the current number of nodes.
|
|
548
526
|
*
|
|
549
527
|
* @example
|
|
550
528
|
* 0
|
|
@@ -552,9 +530,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
552
530
|
surge?: number;
|
|
553
531
|
/**
|
|
554
532
|
* @remarks
|
|
555
|
-
* The percentage of extra nodes.
|
|
533
|
+
* The percentage of extra nodes. This parameter and `surge` are mutually exclusive.
|
|
556
534
|
*
|
|
557
|
-
* Number of extra nodes =
|
|
535
|
+
* Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if the percentage of extra nodes is set to 50% and the number of existing nodes is 6, the number of extra nodes generated is 50% × 6 = 3.
|
|
558
536
|
*
|
|
559
537
|
* @example
|
|
560
538
|
* 0
|
|
@@ -574,16 +552,16 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
574
552
|
export declare class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
575
553
|
/**
|
|
576
554
|
* @remarks
|
|
577
|
-
* Specifies whether to enable ECS fault detection for node
|
|
555
|
+
* Specifies whether to enable ECS fault detection for node auto-healing.
|
|
578
556
|
*/
|
|
579
557
|
autoFaultDiagnosis?: boolean;
|
|
580
558
|
/**
|
|
581
559
|
* @remarks
|
|
582
|
-
* Specifies whether to
|
|
560
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable` is set to `true`.
|
|
583
561
|
*
|
|
584
|
-
* - `true`:
|
|
562
|
+
* - `true`: automatically repairs nodes.
|
|
585
563
|
*
|
|
586
|
-
* - `false`:
|
|
564
|
+
* - `false`: does not automatically repair nodes.
|
|
587
565
|
*
|
|
588
566
|
* Default value: `true`.
|
|
589
567
|
*
|
|
@@ -593,14 +571,14 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
593
571
|
autoRepair?: boolean;
|
|
594
572
|
/**
|
|
595
573
|
* @remarks
|
|
596
|
-
* The
|
|
574
|
+
* The auto-repair policy for nodes.
|
|
597
575
|
*/
|
|
598
576
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
599
577
|
/**
|
|
600
578
|
* @remarks
|
|
601
|
-
* Specifies whether to
|
|
602
|
-
* - `true`:
|
|
603
|
-
* - `false`:
|
|
579
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable` is set to `true`.
|
|
580
|
+
* - `true`: enables auto-upgrade.
|
|
581
|
+
* - `false`: disables auto-upgrade.
|
|
604
582
|
*
|
|
605
583
|
* Default value: `true`.
|
|
606
584
|
*
|
|
@@ -610,15 +588,15 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
610
588
|
autoUpgrade?: boolean;
|
|
611
589
|
/**
|
|
612
590
|
* @remarks
|
|
613
|
-
* The
|
|
591
|
+
* The auto-upgrade policy for nodes.
|
|
614
592
|
*/
|
|
615
593
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
616
594
|
/**
|
|
617
595
|
* @remarks
|
|
618
|
-
* Specifies whether to
|
|
596
|
+
* Specifies whether to automatically repair Common Vulnerabilities and Exposures (CVE) vulnerabilities. This parameter takes effect only when `enable` is set to `true`.
|
|
619
597
|
*
|
|
620
|
-
* - `true`:
|
|
621
|
-
* - `false`:
|
|
598
|
+
* - `true`: allows automatic CVE repairs.
|
|
599
|
+
* - `false`: does not allow automatic CVE repairs.
|
|
622
600
|
*
|
|
623
601
|
* Default value: `true`.
|
|
624
602
|
*
|
|
@@ -628,23 +606,23 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
628
606
|
autoVulFix?: boolean;
|
|
629
607
|
/**
|
|
630
608
|
* @remarks
|
|
631
|
-
* The
|
|
609
|
+
* The CVE auto-repair policy.
|
|
632
610
|
*/
|
|
633
611
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
634
612
|
/**
|
|
635
613
|
* @remarks
|
|
636
|
-
* Specifies whether to enable node rotation.
|
|
614
|
+
* Specifies whether to enable the node rotation capability. This feature is supported only by intelligent managed node pools and is enabled by default. It is not supported by regular node pools.
|
|
637
615
|
*/
|
|
638
616
|
driftEnabled?: boolean;
|
|
639
617
|
/**
|
|
640
618
|
* @remarks
|
|
641
|
-
* Specifies whether to enable the managed node pool
|
|
619
|
+
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
642
620
|
*
|
|
643
|
-
* - `true`:
|
|
621
|
+
* - `true`: enables the managed feature.
|
|
644
622
|
*
|
|
645
|
-
* - `false`:
|
|
623
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when `enable` is set to `true`.
|
|
646
624
|
*
|
|
647
|
-
* Default value: false
|
|
625
|
+
* Default value: `false`.
|
|
648
626
|
*
|
|
649
627
|
* @example
|
|
650
628
|
* false
|
|
@@ -652,9 +630,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
652
630
|
enable?: boolean;
|
|
653
631
|
/**
|
|
654
632
|
* @remarks
|
|
655
|
-
* **[Deprecated]** Use the `auto_upgrade` parameter
|
|
633
|
+
* **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
|
|
656
634
|
*
|
|
657
|
-
* The
|
|
635
|
+
* The auto-upgrade configurations. This parameter takes effect only when `enable` is set to `true`.
|
|
658
636
|
*
|
|
659
637
|
* @deprecated
|
|
660
638
|
*/
|
|
@@ -758,12 +736,44 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
|
|
|
758
736
|
[key: string]: any;
|
|
759
737
|
});
|
|
760
738
|
}
|
|
739
|
+
export declare class CreateClusterNodePoolRequestNodeConfigNodeOsConfig extends $dara.Model {
|
|
740
|
+
/**
|
|
741
|
+
* @remarks
|
|
742
|
+
* The Transparent HugePages configuration.
|
|
743
|
+
*/
|
|
744
|
+
hugepage?: Hugepage;
|
|
745
|
+
/**
|
|
746
|
+
* @remarks
|
|
747
|
+
* The sysctl kernel parameter settings. Only some kernel parameters are supported, and the cluster version must be 1.28 or later.
|
|
748
|
+
*
|
|
749
|
+
* @example
|
|
750
|
+
* {"fs.file-max":"1048576"}
|
|
751
|
+
*/
|
|
752
|
+
sysctl?: {
|
|
753
|
+
[key: string]: any;
|
|
754
|
+
};
|
|
755
|
+
static names(): {
|
|
756
|
+
[key: string]: string;
|
|
757
|
+
};
|
|
758
|
+
static types(): {
|
|
759
|
+
[key: string]: any;
|
|
760
|
+
};
|
|
761
|
+
validate(): void;
|
|
762
|
+
constructor(map?: {
|
|
763
|
+
[key: string]: any;
|
|
764
|
+
});
|
|
765
|
+
}
|
|
761
766
|
export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
762
767
|
/**
|
|
763
768
|
* @remarks
|
|
764
|
-
* The
|
|
769
|
+
* The Kubelet parameter settings.
|
|
765
770
|
*/
|
|
766
771
|
kubeletConfiguration?: KubeletConfig;
|
|
772
|
+
/**
|
|
773
|
+
* @remarks
|
|
774
|
+
* The operating system configuration of the node.
|
|
775
|
+
*/
|
|
776
|
+
nodeOsConfig?: CreateClusterNodePoolRequestNodeConfigNodeOsConfig;
|
|
767
777
|
static names(): {
|
|
768
778
|
[key: string]: string;
|
|
769
779
|
};
|
|
@@ -778,7 +788,7 @@ export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model
|
|
|
778
788
|
export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
779
789
|
/**
|
|
780
790
|
* @remarks
|
|
781
|
-
* The node pool
|
|
791
|
+
* The name of the node pool.
|
|
782
792
|
*
|
|
783
793
|
* This parameter is required.
|
|
784
794
|
*
|
|
@@ -788,9 +798,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
788
798
|
name?: string;
|
|
789
799
|
/**
|
|
790
800
|
* @remarks
|
|
791
|
-
* The resource group ID of the node pool.
|
|
801
|
+
* The resource group ID of the node pool. The instances created by the node pool belong to this resource group.
|
|
792
802
|
*
|
|
793
|
-
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on
|
|
803
|
+
* 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.
|
|
794
804
|
*
|
|
795
805
|
* @example
|
|
796
806
|
* rg-acfmyvw3wjmb****
|
|
@@ -800,7 +810,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
800
810
|
* @remarks
|
|
801
811
|
* The node pool type. Valid values:
|
|
802
812
|
*
|
|
803
|
-
* - `ess`:
|
|
813
|
+
* - `ess`: standard node pool (includes managed and elastic scaling features).
|
|
804
814
|
* - `edge`: edge node pool.
|
|
805
815
|
* - `lingjun`: Lingjun node pool.
|
|
806
816
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -823,7 +833,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
823
833
|
export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
824
834
|
/**
|
|
825
835
|
* @remarks
|
|
826
|
-
* Specifies whether to enable nested virtualization. Valid values: disabled
|
|
836
|
+
* Specifies whether to enable nested virtualization. Valid values: `disabled`: disables nested virtualization. `enabled`: enables nested virtualization.
|
|
827
837
|
*
|
|
828
838
|
* @example
|
|
829
839
|
* enabled
|
|
@@ -843,7 +853,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends
|
|
|
843
853
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
844
854
|
/**
|
|
845
855
|
* @remarks
|
|
846
|
-
* The private
|
|
856
|
+
* The ID of the private pool, which is the ID of the elasticity assurance or capacity reservation. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
847
857
|
*
|
|
848
858
|
* @example
|
|
849
859
|
* eap-bp67acfmxazb4****
|
|
@@ -851,10 +861,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
851
861
|
id?: string;
|
|
852
862
|
/**
|
|
853
863
|
* @remarks
|
|
854
|
-
* The private
|
|
855
|
-
* - `Open`:
|
|
856
|
-
* - `Target`:
|
|
857
|
-
* - `None`:
|
|
864
|
+
* The private pool capacity matching mode for instance startup. After an elasticity assurance or capacity reservation takes effect, private pool capacity is generated for you to select when starting instances. Valid values:
|
|
865
|
+
* - `Open`: open mode. The system automatically matches the capacity of open private pools. If no matching private pool capacity is available, public pool resources are used. In this mode, you do not need to specify the PrivatePoolOptions.Id parameter.
|
|
866
|
+
* - `Target`: targeted mode. The system uses the capacity of the specified private pool to start instances. If the specified private pool capacity is unavailable, the instances fail to start. In this mode, you must specify the private pool ID by setting the PrivatePoolOptions.Id parameter.
|
|
867
|
+
* - `None`: no private pool mode. The system does not use private pool capacity to start instances.
|
|
858
868
|
*
|
|
859
869
|
* @example
|
|
860
870
|
* Target
|
|
@@ -874,15 +884,15 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
874
884
|
export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
875
885
|
/**
|
|
876
886
|
* @remarks
|
|
877
|
-
* The list of private pool IDs, which are elasticity
|
|
887
|
+
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can only specify the IDs of private pools in Target mode. Valid values of N: 1 to 20.
|
|
878
888
|
*/
|
|
879
889
|
privatePoolIds?: string[];
|
|
880
890
|
/**
|
|
881
891
|
* @remarks
|
|
882
|
-
* The resource pool
|
|
883
|
-
* PrivatePoolFirst: Private pool first.
|
|
884
|
-
* PrivatePoolOnly: Private pool only.
|
|
885
|
-
* None: No resource pool
|
|
892
|
+
* The resource pool strategy used to create instances. Resource pools include private pools generated after elasticity assurances or capacity reservations take effect, as well as public pools. Valid values:
|
|
893
|
+
* PrivatePoolFirst: Private pool first. If you select this strategy and specify resouce_pool_options.private_pool_ids, the specified private pools are used first. If no private pool is specified or the specified private pools do not have sufficient capacity, open private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
|
|
894
|
+
* PrivatePoolOnly: Private pool only. If you select this strategy, you must specify resouce_pool_options.private_pool_ids. If the specified private pools do not have sufficient capacity, the instances fail to start.
|
|
895
|
+
* None: No resource pool strategy is used.
|
|
886
896
|
* Default value: None.
|
|
887
897
|
*
|
|
888
898
|
* @example
|
|
@@ -903,7 +913,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
903
913
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
904
914
|
/**
|
|
905
915
|
* @remarks
|
|
906
|
-
* The instance type
|
|
916
|
+
* The spot instance type.
|
|
907
917
|
*
|
|
908
918
|
* @example
|
|
909
919
|
* ecs.c6.large
|
|
@@ -911,12 +921,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
911
921
|
instanceType?: string;
|
|
912
922
|
/**
|
|
913
923
|
* @remarks
|
|
914
|
-
* The maximum price per instance.
|
|
915
|
-
* <props="china">Unit: CNY/hour.
|
|
916
|
-
*
|
|
917
|
-
*
|
|
918
|
-
*
|
|
919
|
-
* <props="intl">Unit: USD/hour.
|
|
924
|
+
* The maximum price per instance. <props="china">Unit: CNY/hour. <props="intl">Unit: USD/hour.
|
|
920
925
|
*
|
|
921
926
|
* @example
|
|
922
927
|
* 0.39
|
|
@@ -977,9 +982,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
977
982
|
autoRenew?: boolean;
|
|
978
983
|
/**
|
|
979
984
|
* @remarks
|
|
980
|
-
* The
|
|
981
|
-
* -
|
|
982
|
-
* -
|
|
985
|
+
* The duration of each auto-renewal. Valid values:
|
|
986
|
+
* - When PeriodUnit is set to Week: 1, 2, and 3.
|
|
987
|
+
* - When PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
983
988
|
*
|
|
984
989
|
* Default value: 1.
|
|
985
990
|
*
|
|
@@ -989,7 +994,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
989
994
|
autoRenewPeriod?: number;
|
|
990
995
|
/**
|
|
991
996
|
* @remarks
|
|
992
|
-
* **[Deprecated]** Use the security_hardening_os parameter instead.
|
|
997
|
+
* **[Deprecated]** Use the `security_hardening_os` parameter instead.
|
|
993
998
|
*
|
|
994
999
|
* @example
|
|
995
1000
|
* null
|
|
@@ -999,10 +1004,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
999
1004
|
cisEnabled?: boolean;
|
|
1000
1005
|
/**
|
|
1001
1006
|
* @remarks
|
|
1002
|
-
* Specifies whether to
|
|
1007
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory issues and `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
1003
1008
|
*
|
|
1004
|
-
* - `true`:
|
|
1005
|
-
* - `false`:
|
|
1009
|
+
* - `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances.
|
|
1010
|
+
* - `false`: does not automatically create pay-as-you-go instances.
|
|
1006
1011
|
*
|
|
1007
1012
|
* @example
|
|
1008
1013
|
* true
|
|
@@ -1015,15 +1020,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1015
1020
|
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
1016
1021
|
/**
|
|
1017
1022
|
* @remarks
|
|
1018
|
-
* The data cloud disk
|
|
1023
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
1019
1024
|
*/
|
|
1020
1025
|
dataDisks?: DataDisk[];
|
|
1021
1026
|
/**
|
|
1022
1027
|
* @remarks
|
|
1023
|
-
* The deployment set
|
|
1028
|
+
* The ID of the deployment set. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When creating ECS instances in a deployment set, the instances are started in a distributed manner in the specified region based on the predefined deployment policy.
|
|
1024
1029
|
*
|
|
1025
1030
|
*
|
|
1026
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited.
|
|
1031
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports up to 20 × the number of zones nodes. The number of zones is determined by the vSwitches. Proceed with caution and ensure that the quota in the deployment set is sufficient to prevent node scale-out failures.</notice>
|
|
1027
1032
|
*
|
|
1028
1033
|
* @example
|
|
1029
1034
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1031,11 +1036,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1031
1036
|
deploymentsetId?: string;
|
|
1032
1037
|
/**
|
|
1033
1038
|
* @remarks
|
|
1034
|
-
* The
|
|
1039
|
+
* The expected number of nodes in the node pool.
|
|
1035
1040
|
*
|
|
1036
|
-
*
|
|
1041
|
+
* This is the total number of nodes that the node pool should maintain. We recommend that you configure at least two nodes to ensure the normal operation of cluster components. You can scale out or scale in the node pool by adjusting the expected number of nodes.
|
|
1037
1042
|
*
|
|
1038
|
-
* If you do not need to create nodes, set this parameter to 0
|
|
1043
|
+
* If you do not need to create nodes, set this parameter to 0 and manually increase the number of nodes later.
|
|
1039
1044
|
*
|
|
1040
1045
|
* @example
|
|
1041
1046
|
* 0
|
|
@@ -1048,7 +1053,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1048
1053
|
diskInit?: DiskInit[];
|
|
1049
1054
|
/**
|
|
1050
1055
|
* @remarks
|
|
1051
|
-
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types.
|
|
1056
|
+
* Specifies whether to enable the high-density cloud disk mode. This mode is supported only when the node pool uses instance types. After this mode is enabled, the total number of system cloud disks and data cloud disks does not exceed the maximum number of high-density cloud disks supported by the instance type.
|
|
1052
1057
|
*
|
|
1053
1058
|
* @example
|
|
1054
1059
|
* false
|
|
@@ -1056,7 +1061,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1056
1061
|
enableHighDensityMode?: boolean;
|
|
1057
1062
|
/**
|
|
1058
1063
|
* @remarks
|
|
1059
|
-
* The custom image
|
|
1064
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
1060
1065
|
*
|
|
1061
1066
|
* @example
|
|
1062
1067
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1064,7 +1069,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1064
1069
|
imageId?: string;
|
|
1065
1070
|
/**
|
|
1066
1071
|
* @remarks
|
|
1067
|
-
* The type of operating system image. Valid values:
|
|
1072
|
+
* The type of the operating system image. We recommend that you use this field to specify the operating system for nodes. Valid values:
|
|
1068
1073
|
*
|
|
1069
1074
|
* - `AliyunLinux`: Alinux2 image.
|
|
1070
1075
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -1073,9 +1078,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1073
1078
|
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1074
1079
|
* - `CentOS`: CentOS image.
|
|
1075
1080
|
* - `Windows`: Windows image.
|
|
1076
|
-
* - `WindowsCore`:
|
|
1077
|
-
* - `ContainerOS`: container-
|
|
1078
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-
|
|
1081
|
+
* - `WindowsCore`: Windows Core image.
|
|
1082
|
+
* - `ContainerOS`: container-optimized image.
|
|
1083
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1079
1084
|
*
|
|
1080
1085
|
* @example
|
|
1081
1086
|
* AliyunLinux3
|
|
@@ -1083,7 +1088,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1083
1088
|
imageType?: string;
|
|
1084
1089
|
/**
|
|
1085
1090
|
* @remarks
|
|
1086
|
-
* The billing method
|
|
1091
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
1087
1092
|
*
|
|
1088
1093
|
* - `PrePaid`: subscription.
|
|
1089
1094
|
*
|
|
@@ -1099,31 +1104,32 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1099
1104
|
instanceChargeType?: string;
|
|
1100
1105
|
/**
|
|
1101
1106
|
* @remarks
|
|
1102
|
-
* The
|
|
1107
|
+
* The instance metadata access configuration for ECS instances.
|
|
1103
1108
|
*/
|
|
1104
1109
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1105
1110
|
/**
|
|
1106
1111
|
* @remarks
|
|
1107
|
-
* The instance
|
|
1112
|
+
* The instance property configuration.
|
|
1108
1113
|
*/
|
|
1109
1114
|
instancePatterns?: InstancePatterns[];
|
|
1110
1115
|
/**
|
|
1111
1116
|
* @remarks
|
|
1112
|
-
* The list of instance types for the node pool. When the node pool scales out,
|
|
1117
|
+
* The list of instance types for nodes in the node pool. When the node pool scales out nodes, it selects instance types that meet the requirements from the specified list to create instances.
|
|
1118
|
+
*
|
|
1119
|
+
* Supported number of instance types: 1 to 10.
|
|
1113
1120
|
*
|
|
1114
|
-
* The number of supported instance types ranges from 1 to 10.
|
|
1115
1121
|
*
|
|
1116
|
-
* > To ensure high availability,
|
|
1122
|
+
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
1117
1123
|
*
|
|
1118
1124
|
* This parameter is required.
|
|
1119
1125
|
*/
|
|
1120
1126
|
instanceTypes?: string[];
|
|
1121
1127
|
/**
|
|
1122
1128
|
* @remarks
|
|
1123
|
-
* The billing method for public IP
|
|
1129
|
+
* The billing method for the public IP address. Valid values:
|
|
1124
1130
|
*
|
|
1125
|
-
* - PayByBandwidth
|
|
1126
|
-
* - PayByTraffic
|
|
1131
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
1132
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
1127
1133
|
*
|
|
1128
1134
|
* @example
|
|
1129
1135
|
* PayByTraffic
|
|
@@ -1131,7 +1137,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1131
1137
|
internetChargeType?: string;
|
|
1132
1138
|
/**
|
|
1133
1139
|
* @remarks
|
|
1134
|
-
* The maximum outbound public
|
|
1140
|
+
* The maximum outbound bandwidth for the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1135
1141
|
*
|
|
1136
1142
|
* @example
|
|
1137
1143
|
* 5
|
|
@@ -1139,9 +1145,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1139
1145
|
internetMaxBandwidthOut?: number;
|
|
1140
1146
|
/**
|
|
1141
1147
|
* @remarks
|
|
1142
|
-
* The name of the key pair for
|
|
1148
|
+
* The name of the key pair for passwordless logon. This parameter and `login_password` are mutually exclusive.
|
|
1143
1149
|
*
|
|
1144
|
-
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1150
|
+
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1145
1151
|
*
|
|
1146
1152
|
* @example
|
|
1147
1153
|
* np-key-name
|
|
@@ -1149,11 +1155,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1149
1155
|
keyPair?: string;
|
|
1150
1156
|
/**
|
|
1151
1157
|
* @remarks
|
|
1152
|
-
* Specifies whether the
|
|
1158
|
+
* Specifies whether to log on to the created ECS instances as a non-root user. Valid values:
|
|
1153
1159
|
*
|
|
1154
|
-
* - true
|
|
1160
|
+
* - `true`: logs on as a non-root user (ecs-user).
|
|
1155
1161
|
*
|
|
1156
|
-
* - false
|
|
1162
|
+
* - `false`: logs on as the root user.
|
|
1157
1163
|
*
|
|
1158
1164
|
* @example
|
|
1159
1165
|
* true
|
|
@@ -1169,15 +1175,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1169
1175
|
loginPassword?: string;
|
|
1170
1176
|
/**
|
|
1171
1177
|
* @remarks
|
|
1172
|
-
* The
|
|
1178
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1173
1179
|
*
|
|
1174
|
-
* - `PRIORITY`: Scales instances based on the vSwitches (VSwitchIds.N) that you
|
|
1180
|
+
* - `PRIORITY`: Scales instances based on the vSwitches (VSwitchIds.N) that you specify. If ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1175
1181
|
*
|
|
1176
|
-
* - `COST_OPTIMIZED`: Attempts to create instances
|
|
1182
|
+
* - `COST_OPTIMIZED`: Attempts to create instances based on the vCPU unit price from low to high. When the scaling configuration specifies multiple instance types with the spot billing method, the system preferentially creates the corresponding spot instances. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory shortages or other reasons.
|
|
1177
1183
|
*
|
|
1178
|
-
*
|
|
1184
|
+
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1179
1185
|
*
|
|
1180
|
-
* - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If the
|
|
1186
|
+
* - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If the instances are unevenly distributed across zones due to inventory shortages, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to balance the resources.
|
|
1181
1187
|
*
|
|
1182
1188
|
* Default value: `PRIORITY`.
|
|
1183
1189
|
*
|
|
@@ -1187,7 +1193,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1187
1193
|
multiAzPolicy?: string;
|
|
1188
1194
|
/**
|
|
1189
1195
|
* @remarks
|
|
1190
|
-
* The minimum number of pay-as-you-go instances required
|
|
1196
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than this value, the system preferentially creates pay-as-you-go instances.
|
|
1191
1197
|
*
|
|
1192
1198
|
* @example
|
|
1193
1199
|
* 0
|
|
@@ -1195,7 +1201,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1195
1201
|
onDemandBaseCapacity?: number;
|
|
1196
1202
|
/**
|
|
1197
1203
|
* @remarks
|
|
1198
|
-
* The percentage of pay-as-you-go instances among the
|
|
1204
|
+
* The percentage of pay-as-you-go instances among the excess instances after the scaling group meets the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: 0 to 100.
|
|
1199
1205
|
*
|
|
1200
1206
|
* @example
|
|
1201
1207
|
* 20
|
|
@@ -1203,10 +1209,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1203
1209
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1204
1210
|
/**
|
|
1205
1211
|
* @remarks
|
|
1206
|
-
* The subscription duration
|
|
1212
|
+
* The subscription duration for nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1207
1213
|
*
|
|
1208
|
-
* -
|
|
1209
|
-
* -
|
|
1214
|
+
* - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
|
|
1215
|
+
* - When `period_unit` is set to `Month`, valid values for `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
1210
1216
|
*
|
|
1211
1217
|
* @example
|
|
1212
1218
|
* 1
|
|
@@ -1214,10 +1220,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1214
1220
|
period?: number;
|
|
1215
1221
|
/**
|
|
1216
1222
|
* @remarks
|
|
1217
|
-
* The billing
|
|
1223
|
+
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1218
1224
|
*
|
|
1219
|
-
* - `Month`:
|
|
1220
|
-
* - `Week`:
|
|
1225
|
+
* - `Month`: Uses month as the time unit.
|
|
1226
|
+
* - `Week`: Uses week as the time unit.
|
|
1221
1227
|
*
|
|
1222
1228
|
* Default value: `Month`.
|
|
1223
1229
|
*
|
|
@@ -1250,12 +1256,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1250
1256
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1251
1257
|
/**
|
|
1252
1258
|
* @remarks
|
|
1253
|
-
* The worker RAM role
|
|
1259
|
+
* The name of the worker RAM role.
|
|
1254
1260
|
*
|
|
1255
|
-
* * If left empty, the default worker RAM role created
|
|
1256
|
-
* * If specified, the RAM role must be a **
|
|
1261
|
+
* * If this parameter is left empty, the default worker RAM role created for the cluster is used.
|
|
1262
|
+
* * If this parameter is specified, the RAM role must be a **normal service role** and its **trusted service** must be set to **ECS**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created for the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1257
1263
|
*
|
|
1258
|
-
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22
|
|
1264
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 and later.</notice>
|
|
1259
1265
|
*
|
|
1260
1266
|
* @example
|
|
1261
1267
|
* example-role
|
|
@@ -1268,19 +1274,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1268
1274
|
rdsInstances?: string[];
|
|
1269
1275
|
/**
|
|
1270
1276
|
* @remarks
|
|
1271
|
-
* The resource pool and resource pool policy used
|
|
1272
|
-
* This parameter takes effect only when
|
|
1273
|
-
* This parameter cannot be
|
|
1277
|
+
* The resource pool and resource pool policy used for creating instances. Take note of the following items when you configure this parameter:
|
|
1278
|
+
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1279
|
+
* This parameter cannot be configured at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1274
1280
|
*/
|
|
1275
1281
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1276
1282
|
/**
|
|
1277
1283
|
* @remarks
|
|
1278
|
-
* The scaling group
|
|
1279
|
-
*
|
|
1280
|
-
* -
|
|
1281
|
-
*
|
|
1282
|
-
*
|
|
1283
|
-
* Default value: `release`.
|
|
1284
|
+
* The scaling group mode. Valid values:
|
|
1285
|
+
* - release: Standard mode. Instances are scaled by creating and releasing ECS instances based on the requested resource usage.
|
|
1286
|
+
* - recycle: Swift mode. Instances are scaled by creating, stopping, and starting instances to improve the speed of subsequent scaling operations. When an instance is stopped, you are not charged for compute resources, but you are still charged for storage resources, except for instances with local disks.
|
|
1287
|
+
* Default value: release.
|
|
1284
1288
|
*
|
|
1285
1289
|
* @example
|
|
1286
1290
|
* release
|
|
@@ -1288,7 +1292,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1288
1292
|
scalingPolicy?: string;
|
|
1289
1293
|
/**
|
|
1290
1294
|
* @remarks
|
|
1291
|
-
* The security group ID of the node pool.
|
|
1295
|
+
* The security group ID of the node pool. You can specify this parameter or security_group_ids. We recommend that you use security_group_ids.
|
|
1292
1296
|
*
|
|
1293
1297
|
* @example
|
|
1294
1298
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1298,17 +1302,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1298
1302
|
securityGroupId?: string;
|
|
1299
1303
|
/**
|
|
1300
1304
|
* @remarks
|
|
1301
|
-
* The list of security group IDs. You
|
|
1305
|
+
* The list of security group IDs. You can specify this parameter or security_group_id. We recommend that you use security_group_ids. If you specify both security_group_id and security_group_ids, security_group_ids takes precedence.
|
|
1302
1306
|
*/
|
|
1303
1307
|
securityGroupIds?: string[];
|
|
1304
1308
|
/**
|
|
1305
1309
|
* @remarks
|
|
1306
1310
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1307
|
-
*
|
|
1308
|
-
* -
|
|
1309
|
-
*
|
|
1310
|
-
*
|
|
1311
|
-
* Default value: `false`.
|
|
1311
|
+
* - true: enables Alibaba Cloud OS security hardening.
|
|
1312
|
+
* - false: does not enable Alibaba Cloud OS security hardening.
|
|
1313
|
+
* Default value: false.
|
|
1312
1314
|
*
|
|
1313
1315
|
* @example
|
|
1314
1316
|
* false
|
|
@@ -1316,7 +1318,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1316
1318
|
securityHardeningOs?: boolean;
|
|
1317
1319
|
/**
|
|
1318
1320
|
* @remarks
|
|
1319
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1321
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable this feature for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1320
1322
|
*
|
|
1321
1323
|
* @example
|
|
1322
1324
|
* false
|
|
@@ -1324,7 +1326,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1324
1326
|
socEnabled?: boolean;
|
|
1325
1327
|
/**
|
|
1326
1328
|
* @remarks
|
|
1327
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1329
|
+
* The number of available instance types. The scaling group evenly creates spot instances across multiple instance types with the lowest costs. Valid values: 1 to 10.
|
|
1328
1330
|
*
|
|
1329
1331
|
* @example
|
|
1330
1332
|
* 5
|
|
@@ -1332,10 +1334,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1332
1334
|
spotInstancePools?: number;
|
|
1333
1335
|
/**
|
|
1334
1336
|
* @remarks
|
|
1335
|
-
* Specifies whether to enable
|
|
1336
|
-
*
|
|
1337
|
-
* -
|
|
1338
|
-
* - `false`: Disables supplementation of spot instances.
|
|
1337
|
+
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance is to be reclaimed, the scaling group attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
|
|
1338
|
+
* - true: enables spot instance replenishment.
|
|
1339
|
+
* - false: does not enable spot instance replenishment.
|
|
1339
1340
|
*
|
|
1340
1341
|
* @example
|
|
1341
1342
|
* false
|
|
@@ -1343,19 +1344,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1343
1344
|
spotInstanceRemedy?: boolean;
|
|
1344
1345
|
/**
|
|
1345
1346
|
* @remarks
|
|
1346
|
-
* The price range
|
|
1347
|
+
* The market price range configuration for a single spot instance type.
|
|
1347
1348
|
*/
|
|
1348
1349
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1349
1350
|
/**
|
|
1350
1351
|
* @remarks
|
|
1351
|
-
* The
|
|
1352
|
-
*
|
|
1353
|
-
* -
|
|
1354
|
-
*
|
|
1355
|
-
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1356
|
-
*
|
|
1357
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1358
|
-
*
|
|
1352
|
+
* The spot instance strategy. Valid values:
|
|
1353
|
+
* - NoSpot: pay-as-you-go instance.
|
|
1354
|
+
* - SpotWithPriceLimit: sets the maximum price for spot instances.
|
|
1355
|
+
* - SpotAsPriceGo: uses the system\\"s automatic bidding, which follows the actual market price.
|
|
1359
1356
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1360
1357
|
*
|
|
1361
1358
|
* @example
|
|
@@ -1364,11 +1361,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1364
1361
|
spotStrategy?: string;
|
|
1365
1362
|
/**
|
|
1366
1363
|
* @remarks
|
|
1367
|
-
* Specifies whether to enable
|
|
1368
|
-
* - true:
|
|
1369
|
-
* - false:
|
|
1370
|
-
*
|
|
1371
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1364
|
+
* Specifies whether to enable performance burst for the system disk of the node. Valid values:
|
|
1365
|
+
* - true: yes.
|
|
1366
|
+
* - false: no.
|
|
1367
|
+
* This parameter is supported only when system_disk_category is set to cloud_auto. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1372
1368
|
*
|
|
1373
1369
|
* @example
|
|
1374
1370
|
* true
|
|
@@ -1376,19 +1372,18 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1376
1372
|
systemDiskBurstingEnabled?: boolean;
|
|
1377
1373
|
/**
|
|
1378
1374
|
* @remarks
|
|
1379
|
-
* The
|
|
1375
|
+
* The categories of the system disk. If the system disk cannot be created by using a disk category with a higher priority, the system automatically tries the next disk category in the priority list.
|
|
1380
1376
|
*/
|
|
1381
1377
|
systemDiskCategories?: string[];
|
|
1382
1378
|
/**
|
|
1383
1379
|
* @remarks
|
|
1384
|
-
* The
|
|
1385
|
-
* -
|
|
1386
|
-
* -
|
|
1387
|
-
* -
|
|
1388
|
-
* -
|
|
1389
|
-
* -
|
|
1390
|
-
*
|
|
1391
|
-
* Default value: `cloud_efficiency`.
|
|
1380
|
+
* The system disk category of the node. Valid values:
|
|
1381
|
+
* - cloud_efficiency: ultra disk.
|
|
1382
|
+
* - cloud_ssd: standard SSD.
|
|
1383
|
+
* - cloud_essd: ESSD.
|
|
1384
|
+
* - cloud_auto: ESSD AutoPL cloud disk.
|
|
1385
|
+
* - cloud_essd_entry: ESSD Entry cloud disk.
|
|
1386
|
+
* Default value: cloud_efficiency.
|
|
1392
1387
|
*
|
|
1393
1388
|
* @example
|
|
1394
1389
|
* cloud_efficiency
|
|
@@ -1396,7 +1391,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1396
1391
|
systemDiskCategory?: string;
|
|
1397
1392
|
/**
|
|
1398
1393
|
* @remarks
|
|
1399
|
-
* The encryption algorithm used
|
|
1394
|
+
* The encryption algorithm used for the system disk. Valid value: aes-256.
|
|
1400
1395
|
*
|
|
1401
1396
|
* @example
|
|
1402
1397
|
* aes-256
|
|
@@ -1404,11 +1399,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1404
1399
|
systemDiskEncryptAlgorithm?: string;
|
|
1405
1400
|
/**
|
|
1406
1401
|
* @remarks
|
|
1407
|
-
* Specifies whether to encrypt the system
|
|
1408
|
-
*
|
|
1409
|
-
* -
|
|
1410
|
-
*
|
|
1411
|
-
* - false: does not encrypt the system cloud disk.
|
|
1402
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
1403
|
+
* - true: encrypts the system disk.
|
|
1404
|
+
* - false: does not encrypt the system disk.
|
|
1412
1405
|
*
|
|
1413
1406
|
* @example
|
|
1414
1407
|
* false
|
|
@@ -1416,7 +1409,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1416
1409
|
systemDiskEncrypted?: boolean;
|
|
1417
1410
|
/**
|
|
1418
1411
|
* @remarks
|
|
1419
|
-
* The KMS key
|
|
1412
|
+
* The ID of the KMS key used for the system disk.
|
|
1420
1413
|
*
|
|
1421
1414
|
* @example
|
|
1422
1415
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1424,11 +1417,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1424
1417
|
systemDiskKmsKeyId?: string;
|
|
1425
1418
|
/**
|
|
1426
1419
|
* @remarks
|
|
1427
|
-
* The performance level of the
|
|
1428
|
-
* - PL0:
|
|
1429
|
-
* - PL1:
|
|
1430
|
-
* - PL2:
|
|
1431
|
-
* - PL3:
|
|
1420
|
+
* The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSDs, not standard SSD. The performance level varies based on the disk size. For more information, see [ESSD](https://help.aliyun.com/document_detail/122389.html). Valid values:
|
|
1421
|
+
* - PL0: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1422
|
+
* - PL1: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1423
|
+
* - PL2: High concurrent I/O performance and stable read/write latency.
|
|
1424
|
+
* - PL3: Ultra-high concurrent I/O performance and highly stable read/write latency.
|
|
1432
1425
|
*
|
|
1433
1426
|
* @example
|
|
1434
1427
|
* PL1
|
|
@@ -1436,11 +1429,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1436
1429
|
systemDiskPerformanceLevel?: string;
|
|
1437
1430
|
/**
|
|
1438
1431
|
* @remarks
|
|
1439
|
-
* The provisioned read/write IOPS
|
|
1440
|
-
*
|
|
1441
|
-
*
|
|
1442
|
-
*
|
|
1443
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1432
|
+
* The provisioned read/write IOPS for the system disk.
|
|
1433
|
+
* Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}. Baseline performance = min{1,800 + 50 × Capacity, 50000}.
|
|
1434
|
+
* This parameter is supported only when system_disk_category is set to cloud_auto. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1444
1435
|
*
|
|
1445
1436
|
* @example
|
|
1446
1437
|
* 1000
|
|
@@ -1448,9 +1439,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1448
1439
|
systemDiskProvisionedIops?: number;
|
|
1449
1440
|
/**
|
|
1450
1441
|
* @remarks
|
|
1451
|
-
* The size of the
|
|
1452
|
-
*
|
|
1453
|
-
* Valid values: [20,2048\\].
|
|
1442
|
+
* The size of the system disk. Unit: GiB.
|
|
1443
|
+
* Valid values: 20 to 2048.
|
|
1454
1444
|
*
|
|
1455
1445
|
* @example
|
|
1456
1446
|
* 120
|
|
@@ -1458,7 +1448,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1458
1448
|
systemDiskSize?: number;
|
|
1459
1449
|
/**
|
|
1460
1450
|
* @remarks
|
|
1461
|
-
* The snapshot policy for the system
|
|
1451
|
+
* The snapshot policy for the system disk.
|
|
1462
1452
|
*
|
|
1463
1453
|
* @example
|
|
1464
1454
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1466,16 +1456,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1466
1456
|
systemDiskSnapshotPolicyId?: string;
|
|
1467
1457
|
/**
|
|
1468
1458
|
* @remarks
|
|
1469
|
-
*
|
|
1470
|
-
*
|
|
1471
|
-
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1459
|
+
* Adds tags only to ECS instances.
|
|
1460
|
+
* Tag keys must be unique and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1472
1461
|
*/
|
|
1473
1462
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1474
1463
|
/**
|
|
1475
1464
|
* @remarks
|
|
1476
|
-
* The list of vSwitch IDs.
|
|
1477
|
-
*
|
|
1478
|
-
* > To ensure high availability, select vSwitches in different zones.
|
|
1465
|
+
* The list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
|
|
1466
|
+
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1479
1467
|
*
|
|
1480
1468
|
* This parameter is required.
|
|
1481
1469
|
*/
|
|
@@ -1494,7 +1482,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1494
1482
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1495
1483
|
/**
|
|
1496
1484
|
* @remarks
|
|
1497
|
-
* Specifies whether to enable confidential computing
|
|
1485
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1498
1486
|
*
|
|
1499
1487
|
* - true: Enables confidential computing.
|
|
1500
1488
|
*
|
|
@@ -1518,7 +1506,7 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1518
1506
|
export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1519
1507
|
/**
|
|
1520
1508
|
* @remarks
|
|
1521
|
-
* The
|
|
1509
|
+
* The auto mode configuration of the node pool.
|
|
1522
1510
|
*/
|
|
1523
1511
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1524
1512
|
/**
|
|
@@ -1528,9 +1516,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1528
1516
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1529
1517
|
/**
|
|
1530
1518
|
* @remarks
|
|
1531
|
-
* **[Deprecated]** Use desired_size instead.
|
|
1532
|
-
*
|
|
1533
|
-
* The number of nodes in the node pool.
|
|
1519
|
+
* **[Deprecated]** Use desired_size instead. The number of nodes in the node pool.
|
|
1534
1520
|
*
|
|
1535
1521
|
* @example
|
|
1536
1522
|
* null
|
|
@@ -1545,9 +1531,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1545
1531
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1546
1532
|
/**
|
|
1547
1533
|
* @remarks
|
|
1548
|
-
* Specifies whether the
|
|
1549
|
-
* -
|
|
1550
|
-
* -
|
|
1534
|
+
* Specifies whether pods in the edge node pool use the host network mode. Valid values:
|
|
1535
|
+
* - true: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
|
|
1536
|
+
* - false: container network. Pods have independent network stacks and do not occupy the network ports of the host.
|
|
1551
1537
|
*
|
|
1552
1538
|
* @example
|
|
1553
1539
|
* true
|
|
@@ -1555,19 +1541,16 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1555
1541
|
hostNetwork?: boolean;
|
|
1556
1542
|
/**
|
|
1557
1543
|
* @remarks
|
|
1558
|
-
* **[Deprecated]**
|
|
1559
|
-
*
|
|
1560
|
-
* The edge node pool configuration.
|
|
1544
|
+
* **[Deprecated]** The configuration of the edge node pool.
|
|
1561
1545
|
*
|
|
1562
1546
|
* @deprecated
|
|
1563
1547
|
*/
|
|
1564
1548
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1565
1549
|
/**
|
|
1566
1550
|
* @remarks
|
|
1567
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
1568
|
-
*
|
|
1569
|
-
* -
|
|
1570
|
-
* - `private`: Private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1551
|
+
* The network type of the edge node pool. This parameter takes effect only when type is set to edge. Valid values:
|
|
1552
|
+
* - basic: public network. Nodes in cloud node pool interact with cloud nodes over the public network. Applications in cloud node pool cannot directly access the internal network of the cloud VPC.
|
|
1553
|
+
* - private: private network. Nodes in cloud node pool connect to the cloud network over Express Connect circuits, VPNs, or CEN. This provides higher cloud-edge communication quality and more effective security protection.
|
|
1571
1554
|
*
|
|
1572
1555
|
* @example
|
|
1573
1556
|
* basic
|
|
@@ -1575,9 +1558,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1575
1558
|
interconnectMode?: string;
|
|
1576
1559
|
/**
|
|
1577
1560
|
* @remarks
|
|
1578
|
-
* Specifies whether nodes in the edge node pool
|
|
1579
|
-
* -
|
|
1580
|
-
* -
|
|
1561
|
+
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool. Valid values:
|
|
1562
|
+
* - true: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
|
|
1563
|
+
* - false: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
|
|
1581
1564
|
*
|
|
1582
1565
|
* @example
|
|
1583
1566
|
* true
|
|
@@ -1585,19 +1568,17 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1585
1568
|
intranet?: boolean;
|
|
1586
1569
|
/**
|
|
1587
1570
|
* @remarks
|
|
1588
|
-
* The cluster
|
|
1571
|
+
* The cluster configurations.
|
|
1589
1572
|
*/
|
|
1590
1573
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1591
1574
|
/**
|
|
1592
1575
|
* @remarks
|
|
1593
|
-
* The
|
|
1576
|
+
* The configurations for the managed node pool feature.
|
|
1594
1577
|
*/
|
|
1595
1578
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1596
1579
|
/**
|
|
1597
1580
|
* @remarks
|
|
1598
|
-
* **[Deprecated]**
|
|
1599
|
-
*
|
|
1600
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1581
|
+
* **[Deprecated]** The maximum number of nodes allowed in an edge node pool.
|
|
1601
1582
|
*
|
|
1602
1583
|
* @example
|
|
1603
1584
|
* null
|