@alicloud/cs20151215 7.0.3 → 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 +38 -50
- package/dist/client.js +72 -79
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +182 -369
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +174 -649
- package/dist/models/CreateClusterRequest.js +27 -1
- 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/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +195 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +153 -244
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- 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 +107 -250
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- 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 +128 -209
- package/dist/models/Nodepool.js +29 -1
- 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/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +73 -79
- package/src/models/CreateClusterNodePoolRequest.ts +204 -370
- package/src/models/CreateClusterRequest.ts +191 -649
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +216 -232
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +174 -244
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +113 -250
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +147 -209
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +7 -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
|
-
*
|
|
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 calling the CreateCluster API to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations through the console. Follow these steps:
|
|
258
|
-
* 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
|
|
259
|
-
* 1. On the **Clusters** page, click **Cluster Template**.
|
|
260
|
-
* 1. In the dialog box, select the cluster type 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 will display the parameter combinations required for creating the cluster, which you can copy and use.
|
|
262
|
-
* >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For change details and alternative parameter descriptions, see [Announcement on OpenAPI parameter changes and API deprecation 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
|
-
*
|
|
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 calling the CreateCluster API to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations through the console. Follow these steps:
|
|
278
|
-
* 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
|
|
279
|
-
* 1. On the **Clusters** page, click **Cluster Template**.
|
|
280
|
-
* 1. In the dialog box, select the cluster type 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 will display the parameter combinations required for creating the cluster, which you can copy and use.
|
|
282
|
-
* >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For change details and alternative parameter descriptions, see [Announcement on OpenAPI parameter changes and API deprecation 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
|
|
@@ -827,7 +815,7 @@ export default class Client extends OpenApi {
|
|
|
827
815
|
*/
|
|
828
816
|
describeClusterAttachScripts(ClusterId: string, request: $_model.DescribeClusterAttachScriptsRequest): Promise<$_model.DescribeClusterAttachScriptsResponse>;
|
|
829
817
|
/**
|
|
830
|
-
*
|
|
818
|
+
* Queries the details of a specified cluster by cluster ID.
|
|
831
819
|
*
|
|
832
820
|
* @param headers - map
|
|
833
821
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -837,7 +825,7 @@ export default class Client extends OpenApi {
|
|
|
837
825
|
[key: string]: string;
|
|
838
826
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterDetailResponse>;
|
|
839
827
|
/**
|
|
840
|
-
*
|
|
828
|
+
* Queries the details of a specified cluster by cluster ID.
|
|
841
829
|
* @returns DescribeClusterDetailResponse
|
|
842
830
|
*/
|
|
843
831
|
describeClusterDetail(ClusterId: string): Promise<$_model.DescribeClusterDetailResponse>;
|
|
@@ -890,15 +878,15 @@ export default class Client extends OpenApi {
|
|
|
890
878
|
*/
|
|
891
879
|
describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<$_model.DescribeClusterNodePoolDetailResponse>;
|
|
892
880
|
/**
|
|
893
|
-
* Queries all node pools in a cluster.
|
|
881
|
+
* Queries the list of all node pools in a cluster.
|
|
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
|
|
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
|
|
@@ -909,15 +897,15 @@ export default class Client extends OpenApi {
|
|
|
909
897
|
[key: string]: string;
|
|
910
898
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodePoolsResponse>;
|
|
911
899
|
/**
|
|
912
|
-
* Queries all node pools in a cluster.
|
|
900
|
+
* Queries the list of all node pools in a cluster.
|
|
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
|
|
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
|
|
@@ -1961,10 +1949,10 @@ export default class Client extends OpenApi {
|
|
|
1961
1949
|
*/
|
|
1962
1950
|
modifyAutoRepairPolicy(clusterId: string, policyId: string, request: $_model.ModifyAutoRepairPolicyRequest): Promise<$_model.ModifyAutoRepairPolicyResponse>;
|
|
1963
1951
|
/**
|
|
1964
|
-
*
|
|
1952
|
+
* Modifies the configuration of an ACK cluster.
|
|
1965
1953
|
*
|
|
1966
1954
|
* @remarks
|
|
1967
|
-
* <notice>Starting
|
|
1955
|
+
* <notice>Starting July 4, 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 OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
1968
1956
|
*
|
|
1969
1957
|
* @param request - ModifyClusterRequest
|
|
1970
1958
|
* @param headers - map
|
|
@@ -1975,10 +1963,10 @@ export default class Client extends OpenApi {
|
|
|
1975
1963
|
[key: string]: string;
|
|
1976
1964
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterResponse>;
|
|
1977
1965
|
/**
|
|
1978
|
-
*
|
|
1966
|
+
* Modifies the configuration of an ACK cluster.
|
|
1979
1967
|
*
|
|
1980
1968
|
* @remarks
|
|
1981
|
-
* <notice>Starting
|
|
1969
|
+
* <notice>Starting July 4, 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 OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
1982
1970
|
*
|
|
1983
1971
|
* @param request - ModifyClusterRequest
|
|
1984
1972
|
* @returns ModifyClusterResponse
|
|
@@ -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
|