@alicloud/cs20151215 7.0.2 → 7.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -322,7 +322,7 @@ export default class Client extends OpenApi {
322
322
  */
323
323
  createClusterInspectConfig(clusterId: string, request: $_model.CreateClusterInspectConfigRequest): Promise<$_model.CreateClusterInspectConfigResponse>;
324
324
  /**
325
- * A node pool is a logical collection of nodes that share the same attributes, allowing unified management and 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.
325
+ * Creates a node pool for a cluster. A node pool is a logical collection of nodes that share the same attributes, allowing unified management and 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.
326
326
  *
327
327
  * @param request - CreateClusterNodePoolRequest
328
328
  * @param headers - map
@@ -333,7 +333,7 @@ export default class Client extends OpenApi {
333
333
  [key: string]: string;
334
334
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterNodePoolResponse>;
335
335
  /**
336
- * A node pool is a logical collection of nodes that share the same attributes, allowing unified management and 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.
336
+ * Creates a node pool for a cluster. A node pool is a logical collection of nodes that share the same attributes, allowing unified management and 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.
337
337
  *
338
338
  * @param request - CreateClusterNodePoolRequest
339
339
  * @returns CreateClusterNodePoolResponse
@@ -892,6 +892,14 @@ export default class Client extends OpenApi {
892
892
  /**
893
893
  * Queries all node pools in a cluster.
894
894
  *
895
+ * @remarks
896
+ * - 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 expiration in the ECS or ESS console (or through related APIs). In these cases, nodes are directly stopped and automatically removed from the Container Service console.
898
+ * - If the node pool has a desired node count configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
899
+ * - 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 Pods that cannot be scheduled.
901
+ * - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not left unschedulable after node removal.
902
+ *
895
903
  * @param request - DescribeClusterNodePoolsRequest
896
904
  * @param headers - map
897
905
  * @param runtime - runtime options for this request RuntimeOptions
@@ -903,6 +911,14 @@ export default class Client extends OpenApi {
903
911
  /**
904
912
  * Queries all node pools in a cluster.
905
913
  *
914
+ * @remarks
915
+ * - 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 expiration in the ECS or ESS console (or through related APIs). In these cases, nodes are directly stopped and automatically removed from the Container Service console.
917
+ * - If the node pool has a desired node count configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
918
+ * - 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 Pods that cannot be scheduled.
920
+ * - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not left unschedulable after node removal.
921
+ *
906
922
  * @param request - DescribeClusterNodePoolsRequest
907
923
  * @returns DescribeClusterNodePoolsResponse
908
924
  */
@@ -1999,7 +2015,10 @@ export default class Client extends OpenApi {
1999
2015
  */
2000
2016
  modifyClusterAddon(clusterId: string, componentId: string, request: $_model.ModifyClusterAddonRequest): Promise<$_model.ModifyClusterAddonResponse>;
2001
2017
  /**
2002
- * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
2018
+ * Modifies the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
2019
+ *
2020
+ * @remarks
2021
+ * <notice>Starting from 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 [Notice on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
2003
2022
  *
2004
2023
  * @param request - ModifyClusterNodePoolRequest
2005
2024
  * @param headers - map
@@ -2010,7 +2029,10 @@ export default class Client extends OpenApi {
2010
2029
  [key: string]: string;
2011
2030
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterNodePoolResponse>;
2012
2031
  /**
2013
- * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
2032
+ * Modifies the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
2033
+ *
2034
+ * @remarks
2035
+ * <notice>Starting from 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 [Notice on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
2014
2036
  *
2015
2037
  * @param request - ModifyClusterNodePoolRequest
2016
2038
  * @returns ModifyClusterNodePoolResponse
package/dist/client.js CHANGED
@@ -1199,7 +1199,7 @@ class Client extends openapi_core_1.default {
1199
1199
  return await this.createClusterInspectConfigWithOptions(clusterId, request, headers, runtime);
1200
1200
  }
1201
1201
  /**
1202
- * A node pool is a logical collection of nodes that share the same attributes, allowing unified management and 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.
1202
+ * Creates a node pool for a cluster. A node pool is a logical collection of nodes that share the same attributes, allowing unified management and 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.
1203
1203
  *
1204
1204
  * @param request - CreateClusterNodePoolRequest
1205
1205
  * @param headers - map
@@ -1275,7 +1275,7 @@ class Client extends openapi_core_1.default {
1275
1275
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterNodePoolResponse({}));
1276
1276
  }
1277
1277
  /**
1278
- * A node pool is a logical collection of nodes that share the same attributes, allowing unified management and 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.
1278
+ * Creates a node pool for a cluster. A node pool is a logical collection of nodes that share the same attributes, allowing unified management and 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.
1279
1279
  *
1280
1280
  * @param request - CreateClusterNodePoolRequest
1281
1281
  * @returns CreateClusterNodePoolResponse
@@ -2583,6 +2583,14 @@ class Client extends openapi_core_1.default {
2583
2583
  /**
2584
2584
  * Queries all node pools in a cluster.
2585
2585
  *
2586
+ * @remarks
2587
+ * - 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 expiration in the ECS or ESS console (or through related APIs). In these cases, nodes are directly stopped and automatically removed from the Container Service console.
2589
+ * - If the node pool has a desired node count configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
2590
+ * - 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 Pods that cannot be scheduled.
2592
+ * - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not left unschedulable after node removal.
2593
+ *
2586
2594
  * @param request - DescribeClusterNodePoolsRequest
2587
2595
  * @param headers - map
2588
2596
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2614,6 +2622,14 @@ class Client extends openapi_core_1.default {
2614
2622
  /**
2615
2623
  * Queries all node pools in a cluster.
2616
2624
  *
2625
+ * @remarks
2626
+ * - 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 expiration in the ECS or ESS console (or through related APIs). In these cases, nodes are directly stopped and automatically removed from the Container Service console.
2628
+ * - If the node pool has a desired node count configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
2629
+ * - 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 Pods that cannot be scheduled.
2631
+ * - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not left unschedulable after node removal.
2632
+ *
2617
2633
  * @param request - DescribeClusterNodePoolsRequest
2618
2634
  * @returns DescribeClusterNodePoolsResponse
2619
2635
  */
@@ -5300,7 +5316,10 @@ class Client extends openapi_core_1.default {
5300
5316
  return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
5301
5317
  }
5302
5318
  /**
5303
- * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5319
+ * Modifies the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5320
+ *
5321
+ * @remarks
5322
+ * <notice>Starting from 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 [Notice on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
5304
5323
  *
5305
5324
  * @param request - ModifyClusterNodePoolRequest
5306
5325
  * @param headers - map
@@ -5355,7 +5374,10 @@ class Client extends openapi_core_1.default {
5355
5374
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterNodePoolResponse({}));
5356
5375
  }
5357
5376
  /**
5358
- * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5377
+ * Modifies the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5378
+ *
5379
+ * @remarks
5380
+ * <notice>Starting from 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 [Notice on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
5359
5381
  *
5360
5382
  * @param request - ModifyClusterNodePoolRequest
5361
5383
  * @returns ModifyClusterNodePoolResponse