@alicloud/cs20151215 7.0.4 → 7.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +30 -42
- package/dist/client.js +61 -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/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/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/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/package.json +1 -1
- package/src/client.ts +61 -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/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/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/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
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
|
|
@@ -647,7 +635,7 @@ export default class Client extends OpenApi {
|
|
|
647
635
|
*/
|
|
648
636
|
deployPolicyInstance(clusterId: string, policyName: string, request: $_model.DeployPolicyInstanceRequest): Promise<$_model.DeployPolicyInstanceResponse>;
|
|
649
637
|
/**
|
|
650
|
-
*
|
|
638
|
+
* 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
639
|
*
|
|
652
640
|
* @param request - DescribeAddonRequest
|
|
653
641
|
* @param headers - map
|
|
@@ -658,7 +646,7 @@ export default class Client extends OpenApi {
|
|
|
658
646
|
[key: string]: string;
|
|
659
647
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAddonResponse>;
|
|
660
648
|
/**
|
|
661
|
-
*
|
|
649
|
+
* 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
650
|
*
|
|
663
651
|
* @param request - DescribeAddonRequest
|
|
664
652
|
* @returns DescribeAddonResponse
|
|
@@ -894,11 +882,11 @@ export default class Client extends OpenApi {
|
|
|
894
882
|
*
|
|
895
883
|
* @remarks
|
|
896
884
|
* - 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
|
|
885
|
+
* - 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.
|
|
886
|
+
* - 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
887
|
* - 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
|
|
888
|
+
* - 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.
|
|
889
|
+
* - 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
890
|
*
|
|
903
891
|
* @param request - DescribeClusterNodePoolsRequest
|
|
904
892
|
* @param headers - map
|
|
@@ -913,11 +901,11 @@ export default class Client extends OpenApi {
|
|
|
913
901
|
*
|
|
914
902
|
* @remarks
|
|
915
903
|
* - 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
|
|
904
|
+
* - 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.
|
|
905
|
+
* - 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
906
|
* - 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
|
|
907
|
+
* - 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.
|
|
908
|
+
* - 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
909
|
*
|
|
922
910
|
* @param request - DescribeClusterNodePoolsRequest
|
|
923
911
|
* @returns DescribeClusterNodePoolsResponse
|
|
@@ -1686,7 +1674,7 @@ export default class Client extends OpenApi {
|
|
|
1686
1674
|
*/
|
|
1687
1675
|
installClusterAddons(ClusterId: string, request: $_model.InstallClusterAddonsRequest): Promise<$_model.InstallClusterAddonsResponse>;
|
|
1688
1676
|
/**
|
|
1689
|
-
* Installs components
|
|
1677
|
+
* Installs node components. You can configure and specify nodes on which to install components.
|
|
1690
1678
|
*
|
|
1691
1679
|
* @param request - InstallNodePoolComponentsRequest
|
|
1692
1680
|
* @param headers - map
|
|
@@ -1697,7 +1685,7 @@ export default class Client extends OpenApi {
|
|
|
1697
1685
|
[key: string]: string;
|
|
1698
1686
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.InstallNodePoolComponentsResponse>;
|
|
1699
1687
|
/**
|
|
1700
|
-
* Installs components
|
|
1688
|
+
* Installs node components. You can configure and specify nodes on which to install components.
|
|
1701
1689
|
*
|
|
1702
1690
|
* @param request - InstallNodePoolComponentsRequest
|
|
1703
1691
|
* @returns InstallNodePoolComponentsResponse
|
|
@@ -2015,10 +2003,10 @@ export default class Client extends OpenApi {
|
|
|
2015
2003
|
*/
|
|
2016
2004
|
modifyClusterAddon(clusterId: string, componentId: string, request: $_model.ModifyClusterAddonRequest): Promise<$_model.ModifyClusterAddonResponse>;
|
|
2017
2005
|
/**
|
|
2018
|
-
*
|
|
2006
|
+
* Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
|
|
2019
2007
|
*
|
|
2020
2008
|
* @remarks
|
|
2021
|
-
* <notice>Starting
|
|
2009
|
+
* <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
2010
|
*
|
|
2023
2011
|
* @param request - ModifyClusterNodePoolRequest
|
|
2024
2012
|
* @param headers - map
|
|
@@ -2029,10 +2017,10 @@ export default class Client extends OpenApi {
|
|
|
2029
2017
|
[key: string]: string;
|
|
2030
2018
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterNodePoolResponse>;
|
|
2031
2019
|
/**
|
|
2032
|
-
*
|
|
2020
|
+
* Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
|
|
2033
2021
|
*
|
|
2034
2022
|
* @remarks
|
|
2035
|
-
* <notice>Starting
|
|
2023
|
+
* <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
2024
|
*
|
|
2037
2025
|
* @param request - ModifyClusterNodePoolRequest
|
|
2038
2026
|
* @returns ModifyClusterNodePoolResponse
|
|
@@ -2066,7 +2054,7 @@ export default class Client extends OpenApi {
|
|
|
2066
2054
|
* 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
2055
|
*
|
|
2068
2056
|
* @remarks
|
|
2069
|
-
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the
|
|
2057
|
+
* > 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
2058
|
*
|
|
2071
2059
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
2072
2060
|
* @param headers - map
|
|
@@ -2080,7 +2068,7 @@ export default class Client extends OpenApi {
|
|
|
2080
2068
|
* 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
2069
|
*
|
|
2082
2070
|
* @remarks
|
|
2083
|
-
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the
|
|
2071
|
+
* > 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
2072
|
*
|
|
2085
2073
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
2086
2074
|
* @returns ModifyNodePoolNodeConfigResponse
|
|
@@ -2814,14 +2802,14 @@ export default class Client extends OpenApi {
|
|
|
2814
2802
|
*/
|
|
2815
2803
|
upgradeClusterAddons(ClusterId: string, request: $_model.UpgradeClusterAddonsRequest): Promise<$_model.UpgradeClusterAddonsResponse>;
|
|
2816
2804
|
/**
|
|
2817
|
-
* Upgrades the kubelet version (
|
|
2805
|
+
* 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
2806
|
*
|
|
2819
2807
|
* @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:
|
|
2808
|
+
* 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
2809
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
2822
2810
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
2823
2811
|
* - [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)
|
|
2812
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
2825
2813
|
*
|
|
2826
2814
|
* @param request - UpgradeClusterNodepoolRequest
|
|
2827
2815
|
* @param headers - map
|
|
@@ -2832,14 +2820,14 @@ export default class Client extends OpenApi {
|
|
|
2832
2820
|
[key: string]: string;
|
|
2833
2821
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterNodepoolResponse>;
|
|
2834
2822
|
/**
|
|
2835
|
-
* Upgrades the kubelet version (
|
|
2823
|
+
* 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
2824
|
*
|
|
2837
2825
|
* @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:
|
|
2826
|
+
* 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
2827
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
2840
2828
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
2841
2829
|
* - [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)
|
|
2830
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
2843
2831
|
*
|
|
2844
2832
|
* @param request - UpgradeClusterNodepoolRequest
|
|
2845
2833
|
* @returns UpgradeClusterNodepoolResponse
|
package/dist/client.js
CHANGED
|
@@ -80,44 +80,46 @@ class Client extends openapi_core_1.default {
|
|
|
80
80
|
'cn-zhengzhou-nebula-1': "cs.aliyuncs.com",
|
|
81
81
|
'eu-west-1-oxs': "cs.aliyuncs.com",
|
|
82
82
|
'rus-west-1-pop': "cs.aliyuncs.com",
|
|
83
|
-
'
|
|
84
|
-
'us-southeast-1': "cs.us-southeast-1.aliyuncs.com",
|
|
85
|
-
'us-east-1': "cs.us-east-1.aliyuncs.com",
|
|
86
|
-
'na-south-1': "cs.na-south-1.aliyuncs.com",
|
|
87
|
-
'me-east-1': "cs.me-east-1.aliyuncs.com",
|
|
88
|
-
'me-central-1': "cs.me-central-1.aliyuncs.com",
|
|
89
|
-
'eu-west-1': "cs.eu-west-1.aliyuncs.com",
|
|
90
|
-
'eu-central-1': "cs.eu-central-1.aliyuncs.com",
|
|
83
|
+
'cn-beijing': "cs.cn-beijing.aliyuncs.com",
|
|
91
84
|
'cn-zhengzhou-jva': "cs.cn-zhengzhou-jva.aliyuncs.com",
|
|
85
|
+
'cn-heyuan': "cs.cn-heyuan.aliyuncs.com",
|
|
92
86
|
'cn-zhangjiakou': "cs.cn-zhangjiakou.aliyuncs.com",
|
|
93
|
-
'
|
|
87
|
+
'ap-northeast-2': "cs.ap-northeast-2.aliyuncs.com",
|
|
88
|
+
'ap-northeast-1': "cs.ap-northeast-1.aliyuncs.com",
|
|
89
|
+
'ap-southeast-1': "cs.ap-southeast-1.aliyuncs.com",
|
|
90
|
+
'ap-southeast-3': "cs.ap-southeast-3.aliyuncs.com",
|
|
91
|
+
'ap-southeast-5': "cs.ap-southeast-5.aliyuncs.com",
|
|
92
|
+
'ap-southeast-7': "cs.ap-southeast-7.aliyuncs.com",
|
|
94
93
|
'cn-wulanchabu': "cs.cn-wulanchabu.aliyuncs.com",
|
|
94
|
+
'cn-qingdao': "cs.cn-qingdao.aliyuncs.com",
|
|
95
95
|
'cn-wuhan-lr': "cs.cn-wuhan-lr.aliyuncs.com",
|
|
96
|
-
'cn-shenzhen-finance-1': "cs.cn-shenzhen-finance-1.aliyuncs.com",
|
|
97
|
-
'cn-shenzhen': "cs.cn-shenzhen.aliyuncs.com",
|
|
98
|
-
'cn-shanghai-finance-1': "cs.cn-shanghai-finance-1.aliyuncs.com",
|
|
99
96
|
'cn-shanghai': "cs.cn-shanghai.aliyuncs.com",
|
|
100
|
-
'cn-qingdao': "cs.cn-qingdao.aliyuncs.com",
|
|
101
|
-
'cn-nanjing': "cs.cn-nanjing.aliyuncs.com",
|
|
102
|
-
'cn-huhehaote': "cs.cn-huhehaote.aliyuncs.com",
|
|
103
97
|
'cn-hongkong': "cs.cn-hongkong.aliyuncs.com",
|
|
104
|
-
'cn-
|
|
105
|
-
'cn-
|
|
106
|
-
'cn-hangzhou-finance': "cs.cn-hangzhou-finance.aliyuncs.com",
|
|
107
|
-
'cn-hangzhou': "cs.cn-hangzhou.aliyuncs.com",
|
|
108
|
-
'cn-guangzhou': "cs.cn-guangzhou.aliyuncs.com",
|
|
98
|
+
'cn-shenzhen': "cs.cn-shenzhen.aliyuncs.com",
|
|
99
|
+
'cn-nanjing': "cs.cn-nanjing.aliyuncs.com",
|
|
109
100
|
'cn-fuzhou': "cs.cn-fuzhou.aliyuncs.com",
|
|
110
101
|
'cn-chengdu': "cs.cn-chengdu.aliyuncs.com",
|
|
102
|
+
'cn-guangzhou': "cs.cn-guangzhou.aliyuncs.com",
|
|
103
|
+
'cn-huhehaote': "cs.cn-huhehaote.aliyuncs.com",
|
|
104
|
+
'cn-hangzhou': "cs.cn-hangzhou.aliyuncs.com",
|
|
105
|
+
'ap-southeast-8': "cs.ap-southeast-8.aliyuncs.com",
|
|
106
|
+
'cn-zhongwei': "cs.cn-zhongwei.aliyuncs.com",
|
|
107
|
+
'eu-west-2': "cs.eu-west-2.aliyuncs.com",
|
|
108
|
+
'na-south-1': "cs.na-south-1.aliyuncs.com",
|
|
109
|
+
'us-west-1': "cs.us-west-1.aliyuncs.com",
|
|
110
|
+
'us-east-1': "cs.us-east-1.aliyuncs.com",
|
|
111
|
+
'eu-central-1': "cs.eu-central-1.aliyuncs.com",
|
|
112
|
+
'eu-west-1': "cs.eu-west-1.aliyuncs.com",
|
|
113
|
+
'us-southeast-1': "cs.us-southeast-1.aliyuncs.com",
|
|
114
|
+
'me-central-1': "cs.me-central-1.aliyuncs.com",
|
|
115
|
+
'me-east-1': "cs.me-east-1.aliyuncs.com",
|
|
116
|
+
'cn-north-2-gov-1': "cs.cn-north-2-gov-1.aliyuncs.com",
|
|
117
|
+
'cn-heyuan-acdr-1': "cs.cn-heyuan-acdr-1.aliyuncs.com",
|
|
118
|
+
'cn-wulanchabu-gic-1': "cs.cn-wulanchabu-gic-1.aliyuncs.com",
|
|
119
|
+
'cn-shanghai-finance-1': "cs.cn-shanghai-finance-1.aliyuncs.com",
|
|
111
120
|
'cn-beijing-finance-1': "cs.cn-beijing-finance-1.aliyuncs.com",
|
|
112
|
-
'cn-
|
|
113
|
-
'
|
|
114
|
-
'ap-southeast-5': "cs.ap-southeast-5.aliyuncs.com",
|
|
115
|
-
'ap-southeast-3': "cs.ap-southeast-3.aliyuncs.com",
|
|
116
|
-
'ap-southeast-2': "cs.ap-southeast-2.aliyuncs.com",
|
|
117
|
-
'ap-southeast-1': "cs.ap-southeast-1.aliyuncs.com",
|
|
118
|
-
'ap-south-1': "cs.ap-south-1.aliyuncs.com",
|
|
119
|
-
'ap-northeast-2': "cs.ap-northeast-2.aliyuncs.com",
|
|
120
|
-
'ap-northeast-1': "cs.ap-northeast-1.aliyuncs.com",
|
|
121
|
+
'cn-shenzhen-finance-1': "cs.cn-shenzhen-finance-1.aliyuncs.com",
|
|
122
|
+
'cn-hangzhou-finance': "cs.cn-hangzhou-finance.aliyuncs.com",
|
|
121
123
|
};
|
|
122
124
|
this.checkConfig(config);
|
|
123
125
|
this._endpoint = this.getEndpoint("cs", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -740,16 +742,10 @@ class Client extends openapi_core_1.default {
|
|
|
740
742
|
return await this.createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime);
|
|
741
743
|
}
|
|
742
744
|
/**
|
|
743
|
-
* Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When
|
|
745
|
+
* 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.
|
|
744
746
|
*
|
|
745
747
|
* @remarks
|
|
746
|
-
* ### Generate OpenAPI request parameters
|
|
747
|
-
* 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:
|
|
748
|
-
* 1. Log on to the [Container Service console](https://csnew.console.aliyun.com) and choose **Cluster List** in the left-side navigation pane.
|
|
749
|
-
* 1. On the **Cluster List** page, click **Cluster Template**.
|
|
750
|
-
* 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.
|
|
751
|
-
* 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.
|
|
752
|
-
* >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>
|
|
748
|
+
* ### Generate OpenAPI request parameters by using the console.
|
|
753
749
|
*
|
|
754
750
|
* @param request - CreateClusterRequest
|
|
755
751
|
* @param headers - map
|
|
@@ -1086,16 +1082,10 @@ class Client extends openapi_core_1.default {
|
|
|
1086
1082
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterResponse({}));
|
|
1087
1083
|
}
|
|
1088
1084
|
/**
|
|
1089
|
-
* Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When
|
|
1085
|
+
* 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.
|
|
1090
1086
|
*
|
|
1091
1087
|
* @remarks
|
|
1092
|
-
* ### Generate OpenAPI request parameters
|
|
1093
|
-
* 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:
|
|
1094
|
-
* 1. Log on to the [Container Service console](https://csnew.console.aliyun.com) and choose **Cluster List** in the left-side navigation pane.
|
|
1095
|
-
* 1. On the **Cluster List** page, click **Cluster Template**.
|
|
1096
|
-
* 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.
|
|
1097
|
-
* 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.
|
|
1098
|
-
* >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>
|
|
1088
|
+
* ### Generate OpenAPI request parameters by using the console.
|
|
1099
1089
|
*
|
|
1100
1090
|
* @param request - CreateClusterRequest
|
|
1101
1091
|
* @returns CreateClusterResponse
|
|
@@ -1199,7 +1189,7 @@ class Client extends openapi_core_1.default {
|
|
|
1199
1189
|
return await this.createClusterInspectConfigWithOptions(clusterId, request, headers, runtime);
|
|
1200
1190
|
}
|
|
1201
1191
|
/**
|
|
1202
|
-
*
|
|
1192
|
+
* 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.
|
|
1203
1193
|
*
|
|
1204
1194
|
* @param request - CreateClusterNodePoolRequest
|
|
1205
1195
|
* @param headers - map
|
|
@@ -1275,7 +1265,7 @@ class Client extends openapi_core_1.default {
|
|
|
1275
1265
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterNodePoolResponse({}));
|
|
1276
1266
|
}
|
|
1277
1267
|
/**
|
|
1278
|
-
*
|
|
1268
|
+
* 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.
|
|
1279
1269
|
*
|
|
1280
1270
|
* @param request - CreateClusterNodePoolRequest
|
|
1281
1271
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -1994,7 +1984,7 @@ class Client extends openapi_core_1.default {
|
|
|
1994
1984
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
1995
1985
|
}
|
|
1996
1986
|
/**
|
|
1997
|
-
*
|
|
1987
|
+
* 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.
|
|
1998
1988
|
*
|
|
1999
1989
|
* @param request - DescribeAddonRequest
|
|
2000
1990
|
* @param headers - map
|
|
@@ -2043,7 +2033,7 @@ class Client extends openapi_core_1.default {
|
|
|
2043
2033
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAddonResponse({}));
|
|
2044
2034
|
}
|
|
2045
2035
|
/**
|
|
2046
|
-
*
|
|
2036
|
+
* 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.
|
|
2047
2037
|
*
|
|
2048
2038
|
* @param request - DescribeAddonRequest
|
|
2049
2039
|
* @returns DescribeAddonResponse
|
|
@@ -2585,11 +2575,11 @@ class Client extends openapi_core_1.default {
|
|
|
2585
2575
|
*
|
|
2586
2576
|
* @remarks
|
|
2587
2577
|
* - 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`.
|
|
2588
|
-
* - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance expires
|
|
2589
|
-
* - If the node pool has a desired
|
|
2578
|
+
* - 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.
|
|
2579
|
+
* - 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.
|
|
2590
2580
|
* - 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.
|
|
2591
|
-
* - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application
|
|
2592
|
-
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not
|
|
2581
|
+
* - 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.
|
|
2582
|
+
* - 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.
|
|
2593
2583
|
*
|
|
2594
2584
|
* @param request - DescribeClusterNodePoolsRequest
|
|
2595
2585
|
* @param headers - map
|
|
@@ -2624,11 +2614,11 @@ class Client extends openapi_core_1.default {
|
|
|
2624
2614
|
*
|
|
2625
2615
|
* @remarks
|
|
2626
2616
|
* - 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`.
|
|
2627
|
-
* - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance expires
|
|
2628
|
-
* - If the node pool has a desired
|
|
2617
|
+
* - 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.
|
|
2618
|
+
* - 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.
|
|
2629
2619
|
* - 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.
|
|
2630
|
-
* - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application
|
|
2631
|
-
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not
|
|
2620
|
+
* - 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.
|
|
2621
|
+
* - 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.
|
|
2632
2622
|
*
|
|
2633
2623
|
* @param request - DescribeClusterNodePoolsRequest
|
|
2634
2624
|
* @returns DescribeClusterNodePoolsResponse
|
|
@@ -4493,7 +4483,7 @@ class Client extends openapi_core_1.default {
|
|
|
4493
4483
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
4494
4484
|
}
|
|
4495
4485
|
/**
|
|
4496
|
-
* Installs components
|
|
4486
|
+
* Installs node components. You can configure and specify nodes on which to install components.
|
|
4497
4487
|
*
|
|
4498
4488
|
* @param request - InstallNodePoolComponentsRequest
|
|
4499
4489
|
* @param headers - map
|
|
@@ -4530,7 +4520,7 @@ class Client extends openapi_core_1.default {
|
|
|
4530
4520
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallNodePoolComponentsResponse({}));
|
|
4531
4521
|
}
|
|
4532
4522
|
/**
|
|
4533
|
-
* Installs components
|
|
4523
|
+
* Installs node components. You can configure and specify nodes on which to install components.
|
|
4534
4524
|
*
|
|
4535
4525
|
* @param request - InstallNodePoolComponentsRequest
|
|
4536
4526
|
* @returns InstallNodePoolComponentsResponse
|
|
@@ -5319,10 +5309,10 @@ class Client extends openapi_core_1.default {
|
|
|
5319
5309
|
return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
|
|
5320
5310
|
}
|
|
5321
5311
|
/**
|
|
5322
|
-
*
|
|
5312
|
+
* Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
|
|
5323
5313
|
*
|
|
5324
5314
|
* @remarks
|
|
5325
|
-
* <notice>Starting
|
|
5315
|
+
* <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>
|
|
5326
5316
|
*
|
|
5327
5317
|
* @param request - ModifyClusterNodePoolRequest
|
|
5328
5318
|
* @param headers - map
|
|
@@ -5377,10 +5367,10 @@ class Client extends openapi_core_1.default {
|
|
|
5377
5367
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterNodePoolResponse({}));
|
|
5378
5368
|
}
|
|
5379
5369
|
/**
|
|
5380
|
-
*
|
|
5370
|
+
* Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
|
|
5381
5371
|
*
|
|
5382
5372
|
* @remarks
|
|
5383
|
-
* <notice>Starting
|
|
5373
|
+
* <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>
|
|
5384
5374
|
*
|
|
5385
5375
|
* @param request - ModifyClusterNodePoolRequest
|
|
5386
5376
|
* @returns ModifyClusterNodePoolResponse
|
|
@@ -5438,7 +5428,7 @@ class Client extends openapi_core_1.default {
|
|
|
5438
5428
|
* 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.
|
|
5439
5429
|
*
|
|
5440
5430
|
* @remarks
|
|
5441
|
-
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the
|
|
5431
|
+
* > 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.
|
|
5442
5432
|
*
|
|
5443
5433
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
5444
5434
|
* @param headers - map
|
|
@@ -5484,7 +5474,7 @@ class Client extends openapi_core_1.default {
|
|
|
5484
5474
|
* 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.
|
|
5485
5475
|
*
|
|
5486
5476
|
* @remarks
|
|
5487
|
-
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the
|
|
5477
|
+
* > 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.
|
|
5488
5478
|
*
|
|
5489
5479
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
5490
5480
|
* @returns ModifyNodePoolNodeConfigResponse
|
|
@@ -7256,14 +7246,14 @@ class Client extends openapi_core_1.default {
|
|
|
7256
7246
|
return await this.upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
7257
7247
|
}
|
|
7258
7248
|
/**
|
|
7259
|
-
* Upgrades the kubelet version (
|
|
7249
|
+
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
7260
7250
|
*
|
|
7261
7251
|
* @remarks
|
|
7262
|
-
* 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:
|
|
7252
|
+
* 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:
|
|
7263
7253
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7264
7254
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7265
7255
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7266
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7256
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7267
7257
|
*
|
|
7268
7258
|
* @param request - UpgradeClusterNodepoolRequest
|
|
7269
7259
|
* @param headers - map
|
|
@@ -7315,14 +7305,14 @@ class Client extends openapi_core_1.default {
|
|
|
7315
7305
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterNodepoolResponse({}));
|
|
7316
7306
|
}
|
|
7317
7307
|
/**
|
|
7318
|
-
* Upgrades the kubelet version (
|
|
7308
|
+
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
7319
7309
|
*
|
|
7320
7310
|
* @remarks
|
|
7321
|
-
* 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:
|
|
7311
|
+
* 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:
|
|
7322
7312
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7323
7313
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7324
7314
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7325
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7315
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7326
7316
|
*
|
|
7327
7317
|
* @param request - UpgradeClusterNodepoolRequest
|
|
7328
7318
|
* @returns UpgradeClusterNodepoolResponse
|