@alicloud/cs20151215 7.0.4 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +120 -42
- package/dist/client.js +332 -71
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +119 -621
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsRequest.js +73 -0
- package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentsResponse.js +69 -0
- package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +70 -195
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +63 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +366 -71
- package/src/models/CreateClusterNodePoolRequest.ts +126 -367
- package/src/models/CreateClusterRequest.ts +119 -621
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
- package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
- package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
- package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
- package/src/models/ListNodePoolComponentsRequest.ts +76 -0
- package/src/models/ListNodePoolComponentsResponse.ts +40 -0
- package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +70 -195
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
- package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +25 -0
package/dist/client.d.ts
CHANGED
|
@@ -250,16 +250,10 @@ export default class Client extends OpenApi {
|
|
|
250
250
|
*/
|
|
251
251
|
createAutoscalingConfig(ClusterId: string, request: $_model.CreateAutoscalingConfigRequest): Promise<$_model.CreateAutoscalingConfigResponse>;
|
|
252
252
|
/**
|
|
253
|
-
* Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When
|
|
253
|
+
* Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
|
|
254
254
|
*
|
|
255
255
|
* @remarks
|
|
256
|
-
* ### Generate OpenAPI request parameters
|
|
257
|
-
* When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations from the console. Perform the following steps:
|
|
258
|
-
* 1. Log on to the [Container Service console](https://csnew.console.aliyun.com) and choose **Cluster List** in the left-side navigation pane.
|
|
259
|
-
* 1. On the **Cluster List** page, click **Cluster Template**.
|
|
260
|
-
* 1. In the dialog box, select the cluster type that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
|
|
261
|
-
* 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter combinations required to create the cluster, which you can copy and use.
|
|
262
|
-
* >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For details about the changes and override parameter descriptions, see [Notice on changes to OpenAPI parameters and offline of OpenAPIs for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
256
|
+
* ### Generate OpenAPI request parameters by using the console.
|
|
263
257
|
*
|
|
264
258
|
* @param request - CreateClusterRequest
|
|
265
259
|
* @param headers - map
|
|
@@ -270,16 +264,10 @@ export default class Client extends OpenApi {
|
|
|
270
264
|
[key: string]: string;
|
|
271
265
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterResponse>;
|
|
272
266
|
/**
|
|
273
|
-
* Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When
|
|
267
|
+
* Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
|
|
274
268
|
*
|
|
275
269
|
* @remarks
|
|
276
|
-
* ### Generate OpenAPI request parameters
|
|
277
|
-
* When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations from the console. Perform the following steps:
|
|
278
|
-
* 1. Log on to the [Container Service console](https://csnew.console.aliyun.com) and choose **Cluster List** in the left-side navigation pane.
|
|
279
|
-
* 1. On the **Cluster List** page, click **Cluster Template**.
|
|
280
|
-
* 1. In the dialog box, select the cluster type that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
|
|
281
|
-
* 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter combinations required to create the cluster, which you can copy and use.
|
|
282
|
-
* >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For details about the changes and override parameter descriptions, see [Notice on changes to OpenAPI parameters and offline of OpenAPIs for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
270
|
+
* ### Generate OpenAPI request parameters by using the console.
|
|
283
271
|
*
|
|
284
272
|
* @param request - CreateClusterRequest
|
|
285
273
|
* @returns CreateClusterResponse
|
|
@@ -322,7 +310,7 @@ export default class Client extends OpenApi {
|
|
|
322
310
|
*/
|
|
323
311
|
createClusterInspectConfig(clusterId: string, request: $_model.CreateClusterInspectConfigRequest): Promise<$_model.CreateClusterInspectConfigResponse>;
|
|
324
312
|
/**
|
|
325
|
-
*
|
|
313
|
+
* A node pool is a logical collection of nodes that share the same attributes, allowing unified management and O&M operations such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
|
|
326
314
|
*
|
|
327
315
|
* @param request - CreateClusterNodePoolRequest
|
|
328
316
|
* @param headers - map
|
|
@@ -333,7 +321,7 @@ export default class Client extends OpenApi {
|
|
|
333
321
|
[key: string]: string;
|
|
334
322
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterNodePoolResponse>;
|
|
335
323
|
/**
|
|
336
|
-
*
|
|
324
|
+
* A node pool is a logical collection of nodes that share the same attributes, allowing unified management and O&M operations such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
|
|
337
325
|
*
|
|
338
326
|
* @param request - CreateClusterNodePoolRequest
|
|
339
327
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -361,6 +349,24 @@ export default class Client extends OpenApi {
|
|
|
361
349
|
* @returns CreateKubernetesTriggerResponse
|
|
362
350
|
*/
|
|
363
351
|
createKubernetesTrigger(request: $_model.CreateKubernetesTriggerRequest): Promise<$_model.CreateKubernetesTriggerResponse>;
|
|
352
|
+
/**
|
|
353
|
+
* 安装节点组件
|
|
354
|
+
*
|
|
355
|
+
* @param request - CreateNodePoolComponentInstancesRequest
|
|
356
|
+
* @param headers - map
|
|
357
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
358
|
+
* @returns CreateNodePoolComponentInstancesResponse
|
|
359
|
+
*/
|
|
360
|
+
createNodePoolComponentInstancesWithOptions(clusterId: string, nodepoolId: string, request: $_model.CreateNodePoolComponentInstancesRequest, headers: {
|
|
361
|
+
[key: string]: string;
|
|
362
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateNodePoolComponentInstancesResponse>;
|
|
363
|
+
/**
|
|
364
|
+
* 安装节点组件
|
|
365
|
+
*
|
|
366
|
+
* @param request - CreateNodePoolComponentInstancesRequest
|
|
367
|
+
* @returns CreateNodePoolComponentInstancesResponse
|
|
368
|
+
*/
|
|
369
|
+
createNodePoolComponentInstances(clusterId: string, nodepoolId: string, request: $_model.CreateNodePoolComponentInstancesRequest): Promise<$_model.CreateNodePoolComponentInstancesResponse>;
|
|
364
370
|
/**
|
|
365
371
|
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. You can use these templates to automate the deployment and cluster management of resources, such as Pods, Services, Deployments, ConfigMaps, and PersistentVolumes. You can invoke the CreateTemplate operation to create an orchestration template.
|
|
366
372
|
*
|
|
@@ -580,6 +586,24 @@ export default class Client extends OpenApi {
|
|
|
580
586
|
* @returns DeleteKubernetesTriggerResponse
|
|
581
587
|
*/
|
|
582
588
|
deleteKubernetesTrigger(Id: string): Promise<$_model.DeleteKubernetesTriggerResponse>;
|
|
589
|
+
/**
|
|
590
|
+
* 卸载节点组件
|
|
591
|
+
*
|
|
592
|
+
* @param tmpReq - DeleteNodePoolComponentInstanceRequest
|
|
593
|
+
* @param headers - map
|
|
594
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
595
|
+
* @returns DeleteNodePoolComponentInstanceResponse
|
|
596
|
+
*/
|
|
597
|
+
deleteNodePoolComponentInstanceWithOptions(clusterId: string, nodepoolId: string, name: string, tmpReq: $_model.DeleteNodePoolComponentInstanceRequest, headers: {
|
|
598
|
+
[key: string]: string;
|
|
599
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteNodePoolComponentInstanceResponse>;
|
|
600
|
+
/**
|
|
601
|
+
* 卸载节点组件
|
|
602
|
+
*
|
|
603
|
+
* @param request - DeleteNodePoolComponentInstanceRequest
|
|
604
|
+
* @returns DeleteNodePoolComponentInstanceResponse
|
|
605
|
+
*/
|
|
606
|
+
deleteNodePoolComponentInstance(clusterId: string, nodepoolId: string, name: string, request: $_model.DeleteNodePoolComponentInstanceRequest): Promise<$_model.DeleteNodePoolComponentInstanceResponse>;
|
|
583
607
|
/**
|
|
584
608
|
* Deletes a policy rule instance from a specified cluster.
|
|
585
609
|
*
|
|
@@ -647,7 +671,7 @@ export default class Client extends OpenApi {
|
|
|
647
671
|
*/
|
|
648
672
|
deployPolicyInstance(clusterId: string, policyName: string, request: $_model.DeployPolicyInstanceRequest): Promise<$_model.DeployPolicyInstanceResponse>;
|
|
649
673
|
/**
|
|
650
|
-
*
|
|
674
|
+
* Invokes the DescribeAddon operation to perform a parameter query for information about a specified component based on parameters such as region, cluster type, cluster child class (profile), cluster version, and component name. The returned information includes whether the component is managed, the component categorization, the schema of supported custom parameters, compatible operating system architectures, and the minimum cluster version required by the component version.
|
|
651
675
|
*
|
|
652
676
|
* @param request - DescribeAddonRequest
|
|
653
677
|
* @param headers - map
|
|
@@ -658,7 +682,7 @@ export default class Client extends OpenApi {
|
|
|
658
682
|
[key: string]: string;
|
|
659
683
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAddonResponse>;
|
|
660
684
|
/**
|
|
661
|
-
*
|
|
685
|
+
* Invokes the DescribeAddon operation to perform a parameter query for information about a specified component based on parameters such as region, cluster type, cluster child class (profile), cluster version, and component name. The returned information includes whether the component is managed, the component categorization, the schema of supported custom parameters, compatible operating system architectures, and the minimum cluster version required by the component version.
|
|
662
686
|
*
|
|
663
687
|
* @param request - DescribeAddonRequest
|
|
664
688
|
* @returns DescribeAddonResponse
|
|
@@ -894,11 +918,11 @@ export default class Client extends OpenApi {
|
|
|
894
918
|
*
|
|
895
919
|
* @remarks
|
|
896
920
|
* - When removing nodes, perform standardized operations through this API or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by using `kubectl delete node`.
|
|
897
|
-
* - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance expires
|
|
898
|
-
* - If the node pool has a desired
|
|
921
|
+
* - Do not directly release nodes, remove instances in the ECS or ESS console (or through related APIs), or allow nodes to be passively released due to subscription instance expires. In these cases, nodes are directly stopped and automatically removed from the Container Service console.
|
|
922
|
+
* - If the node pool has a desired number of nodes configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
|
|
899
923
|
* - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up relevant data in advance.
|
|
900
|
-
* - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application
|
|
901
|
-
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not
|
|
924
|
+
* - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application pods being unable to be scheduling.
|
|
925
|
+
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not unschedulable on other nodes after the node is removed.
|
|
902
926
|
*
|
|
903
927
|
* @param request - DescribeClusterNodePoolsRequest
|
|
904
928
|
* @param headers - map
|
|
@@ -913,11 +937,11 @@ export default class Client extends OpenApi {
|
|
|
913
937
|
*
|
|
914
938
|
* @remarks
|
|
915
939
|
* - When removing nodes, perform standardized operations through this API or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by using `kubectl delete node`.
|
|
916
|
-
* - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance expires
|
|
917
|
-
* - If the node pool has a desired
|
|
940
|
+
* - Do not directly release nodes, remove instances in the ECS or ESS console (or through related APIs), or allow nodes to be passively released due to subscription instance expires. In these cases, nodes are directly stopped and automatically removed from the Container Service console.
|
|
941
|
+
* - If the node pool has a desired number of nodes configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
|
|
918
942
|
* - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up relevant data in advance.
|
|
919
|
-
* - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application
|
|
920
|
-
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not
|
|
943
|
+
* - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application pods being unable to be scheduling.
|
|
944
|
+
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not unschedulable on other nodes after the node is removed.
|
|
921
945
|
*
|
|
922
946
|
* @param request - DescribeClusterNodePoolsRequest
|
|
923
947
|
* @returns DescribeClusterNodePoolsResponse
|
|
@@ -1686,7 +1710,7 @@ export default class Client extends OpenApi {
|
|
|
1686
1710
|
*/
|
|
1687
1711
|
installClusterAddons(ClusterId: string, request: $_model.InstallClusterAddonsRequest): Promise<$_model.InstallClusterAddonsResponse>;
|
|
1688
1712
|
/**
|
|
1689
|
-
* Installs components
|
|
1713
|
+
* Installs node components. You can configure and specify nodes on which to install components.
|
|
1690
1714
|
*
|
|
1691
1715
|
* @param request - InstallNodePoolComponentsRequest
|
|
1692
1716
|
* @param headers - map
|
|
@@ -1697,7 +1721,7 @@ export default class Client extends OpenApi {
|
|
|
1697
1721
|
[key: string]: string;
|
|
1698
1722
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.InstallNodePoolComponentsResponse>;
|
|
1699
1723
|
/**
|
|
1700
|
-
* Installs components
|
|
1724
|
+
* Installs node components. You can configure and specify nodes on which to install components.
|
|
1701
1725
|
*
|
|
1702
1726
|
* @param request - InstallNodePoolComponentsRequest
|
|
1703
1727
|
* @returns InstallNodePoolComponentsResponse
|
|
@@ -1834,6 +1858,42 @@ export default class Client extends OpenApi {
|
|
|
1834
1858
|
* @returns ListClusterKubeconfigStatesResponse
|
|
1835
1859
|
*/
|
|
1836
1860
|
listClusterKubeconfigStates(ClusterId: string, request: $_model.ListClusterKubeconfigStatesRequest): Promise<$_model.ListClusterKubeconfigStatesResponse>;
|
|
1861
|
+
/**
|
|
1862
|
+
* 查询节点组件实例列表
|
|
1863
|
+
*
|
|
1864
|
+
* @param request - ListNodePoolComponentInstancesRequest
|
|
1865
|
+
* @param headers - map
|
|
1866
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1867
|
+
* @returns ListNodePoolComponentInstancesResponse
|
|
1868
|
+
*/
|
|
1869
|
+
listNodePoolComponentInstancesWithOptions(clusterId: string, nodepoolId: string, request: $_model.ListNodePoolComponentInstancesRequest, headers: {
|
|
1870
|
+
[key: string]: string;
|
|
1871
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListNodePoolComponentInstancesResponse>;
|
|
1872
|
+
/**
|
|
1873
|
+
* 查询节点组件实例列表
|
|
1874
|
+
*
|
|
1875
|
+
* @param request - ListNodePoolComponentInstancesRequest
|
|
1876
|
+
* @returns ListNodePoolComponentInstancesResponse
|
|
1877
|
+
*/
|
|
1878
|
+
listNodePoolComponentInstances(clusterId: string, nodepoolId: string, request: $_model.ListNodePoolComponentInstancesRequest): Promise<$_model.ListNodePoolComponentInstancesResponse>;
|
|
1879
|
+
/**
|
|
1880
|
+
* 查询节点池可安装的节点组件
|
|
1881
|
+
*
|
|
1882
|
+
* @param tmpReq - ListNodePoolComponentsRequest
|
|
1883
|
+
* @param headers - map
|
|
1884
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1885
|
+
* @returns ListNodePoolComponentsResponse
|
|
1886
|
+
*/
|
|
1887
|
+
listNodePoolComponentsWithOptions(clusterId: string, tmpReq: $_model.ListNodePoolComponentsRequest, headers: {
|
|
1888
|
+
[key: string]: string;
|
|
1889
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListNodePoolComponentsResponse>;
|
|
1890
|
+
/**
|
|
1891
|
+
* 查询节点池可安装的节点组件
|
|
1892
|
+
*
|
|
1893
|
+
* @param request - ListNodePoolComponentsRequest
|
|
1894
|
+
* @returns ListNodePoolComponentsResponse
|
|
1895
|
+
*/
|
|
1896
|
+
listNodePoolComponents(clusterId: string, request: $_model.ListNodePoolComponentsRequest): Promise<$_model.ListNodePoolComponentsResponse>;
|
|
1837
1897
|
/**
|
|
1838
1898
|
* Retrieves a list of automated O&M execution plans.
|
|
1839
1899
|
*
|
|
@@ -2015,10 +2075,10 @@ export default class Client extends OpenApi {
|
|
|
2015
2075
|
*/
|
|
2016
2076
|
modifyClusterAddon(clusterId: string, componentId: string, request: $_model.ModifyClusterAddonRequest): Promise<$_model.ModifyClusterAddonResponse>;
|
|
2017
2077
|
/**
|
|
2018
|
-
*
|
|
2078
|
+
* Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
|
|
2019
2079
|
*
|
|
2020
2080
|
* @remarks
|
|
2021
|
-
* <notice>Starting
|
|
2081
|
+
* <notice>Starting July 04, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to input and output parameters of OpenAPI operations related to ACK cluster management and the deprecation of specific OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
2022
2082
|
*
|
|
2023
2083
|
* @param request - ModifyClusterNodePoolRequest
|
|
2024
2084
|
* @param headers - map
|
|
@@ -2029,10 +2089,10 @@ export default class Client extends OpenApi {
|
|
|
2029
2089
|
[key: string]: string;
|
|
2030
2090
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterNodePoolResponse>;
|
|
2031
2091
|
/**
|
|
2032
|
-
*
|
|
2092
|
+
* Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
|
|
2033
2093
|
*
|
|
2034
2094
|
* @remarks
|
|
2035
|
-
* <notice>Starting
|
|
2095
|
+
* <notice>Starting July 04, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to input and output parameters of OpenAPI operations related to ACK cluster management and the deprecation of specific OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
2036
2096
|
*
|
|
2037
2097
|
* @param request - ModifyClusterNodePoolRequest
|
|
2038
2098
|
* @returns ModifyClusterNodePoolResponse
|
|
@@ -2066,7 +2126,7 @@ export default class Client extends OpenApi {
|
|
|
2066
2126
|
* Modifies the node configurations in a cluster node pool, such as kubelet configurations and rolling update configurations. Modifying node configurations applies changes in batches and restarts kubelet, which may affect node operations and workload execution. Perform this operation during off-peak hours.
|
|
2067
2127
|
*
|
|
2068
2128
|
* @remarks
|
|
2069
|
-
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the
|
|
2129
|
+
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification is complete, the configurations automatically take effect on existing nodes in the node pool, and new nodes added to the node pool also use the new configurations.
|
|
2070
2130
|
*
|
|
2071
2131
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
2072
2132
|
* @param headers - map
|
|
@@ -2080,7 +2140,7 @@ export default class Client extends OpenApi {
|
|
|
2080
2140
|
* Modifies the node configurations in a cluster node pool, such as kubelet configurations and rolling update configurations. Modifying node configurations applies changes in batches and restarts kubelet, which may affect node operations and workload execution. Perform this operation during off-peak hours.
|
|
2081
2141
|
*
|
|
2082
2142
|
* @remarks
|
|
2083
|
-
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the
|
|
2143
|
+
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification is complete, the configurations automatically take effect on existing nodes in the node pool, and new nodes added to the node pool also use the new configurations.
|
|
2084
2144
|
*
|
|
2085
2145
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
2086
2146
|
* @returns ModifyNodePoolNodeConfigResponse
|
|
@@ -2683,6 +2743,24 @@ export default class Client extends OpenApi {
|
|
|
2683
2743
|
* @returns UpdateNodePoolComponentResponse
|
|
2684
2744
|
*/
|
|
2685
2745
|
updateNodePoolComponent(clusterId: string, nodepoolId: string, request: $_model.UpdateNodePoolComponentRequest): Promise<$_model.UpdateNodePoolComponentResponse>;
|
|
2746
|
+
/**
|
|
2747
|
+
* 更新节点组件
|
|
2748
|
+
*
|
|
2749
|
+
* @param request - UpdateNodePoolComponentInstanceRequest
|
|
2750
|
+
* @param headers - map
|
|
2751
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2752
|
+
* @returns UpdateNodePoolComponentInstanceResponse
|
|
2753
|
+
*/
|
|
2754
|
+
updateNodePoolComponentInstanceWithOptions(clusterId: string, nodepoolId: string, name: string, request: $_model.UpdateNodePoolComponentInstanceRequest, headers: {
|
|
2755
|
+
[key: string]: string;
|
|
2756
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateNodePoolComponentInstanceResponse>;
|
|
2757
|
+
/**
|
|
2758
|
+
* 更新节点组件
|
|
2759
|
+
*
|
|
2760
|
+
* @param request - UpdateNodePoolComponentInstanceRequest
|
|
2761
|
+
* @returns UpdateNodePoolComponentInstanceResponse
|
|
2762
|
+
*/
|
|
2763
|
+
updateNodePoolComponentInstance(clusterId: string, nodepoolId: string, name: string, request: $_model.UpdateNodePoolComponentInstanceRequest): Promise<$_model.UpdateNodePoolComponentInstanceResponse>;
|
|
2686
2764
|
/**
|
|
2687
2765
|
* Updates the deletion protection status of a specified resource. Currently supported resource types include namespaces and services.
|
|
2688
2766
|
* You can call this operation to enable deletion protection for namespaces or services that involve critical business or sensitive data to avoid maintenance costs caused by accidental deletion.
|
|
@@ -2814,14 +2892,14 @@ export default class Client extends OpenApi {
|
|
|
2814
2892
|
*/
|
|
2815
2893
|
upgradeClusterAddons(ClusterId: string, request: $_model.UpgradeClusterAddonsRequest): Promise<$_model.UpgradeClusterAddonsResponse>;
|
|
2816
2894
|
/**
|
|
2817
|
-
* Upgrades the kubelet version (
|
|
2895
|
+
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
2818
2896
|
*
|
|
2819
2897
|
* @remarks
|
|
2820
|
-
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you call the UpgradeClusterNodepool operation, the API returns a task_id for the upgrade task. You can manage the task by calling the following task API operations:
|
|
2898
|
+
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you successfully call the UpgradeClusterNodepool operation, the API returns a `task_id` for the upgrade task. You can manage the task by calling the following task-related API operations:
|
|
2821
2899
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
2822
2900
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
2823
2901
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
2824
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
2902
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
2825
2903
|
*
|
|
2826
2904
|
* @param request - UpgradeClusterNodepoolRequest
|
|
2827
2905
|
* @param headers - map
|
|
@@ -2832,14 +2910,14 @@ export default class Client extends OpenApi {
|
|
|
2832
2910
|
[key: string]: string;
|
|
2833
2911
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterNodepoolResponse>;
|
|
2834
2912
|
/**
|
|
2835
|
-
* Upgrades the kubelet version (
|
|
2913
|
+
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
2836
2914
|
*
|
|
2837
2915
|
* @remarks
|
|
2838
|
-
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you call the UpgradeClusterNodepool operation, the API returns a task_id for the upgrade task. You can manage the task by calling the following task API operations:
|
|
2916
|
+
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you successfully call the UpgradeClusterNodepool operation, the API returns a `task_id` for the upgrade task. You can manage the task by calling the following task-related API operations:
|
|
2839
2917
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
2840
2918
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
2841
2919
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
2842
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
2920
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
2843
2921
|
*
|
|
2844
2922
|
* @param request - UpgradeClusterNodepoolRequest
|
|
2845
2923
|
* @returns UpgradeClusterNodepoolResponse
|