Help Center/ Cloud Container Engine/ User Guide/ Node Pools/ Upgrading to New Node Pools
Updated on 2024-08-16 GMT+08:00

Upgrading to New Node Pools

Upgraded node pools provide additional benefits beyond flexible payment options (pay-per-use and yearly/monthly). They also enhance configuration management and improve resource management efficiency and flexibility.

Why to Upgrade to the New Version?

  • Flexible resource configuration: New node pools allow you to create pay-per-use nodes and select more cost-effective yearly/monthly nodes, depending on your needs.
  • Multiple flavors available: You can easily filter different flavors for nodes, such as GPU nodes, based on CPU and memory parameters to meet the specific requirements of various service scenarios.
  • Advanced auto scaling: New node pools can automatically scale and you can configure multiple scaling policies to optimize resource utilization for different service scenarios.
  • Enhanced configuration management: New node pools offer improved customization options for Kubernetes parameters and provide better guidance to meet the complex requirements of managing containerized applications.

What Are Changes in the New Version?

  • Yearly/Monthly nodes created in the new node pools cannot be manually scaled in. They can only be deleted or unsubscribed from.
  • During auto scaling, only pay-per-use nodes are scaled in or out by default.
  • You cannot create yearly/monthly nodes using the API for updating a node pool. Instead, you must increase or decrease them.
  • By default, nodes created in new yearly/monthly node pools will be billed on a pay-per-use basis.
Table 1 Comparison before and after a node pool upgrade

Type

Before the Upgrade

After the Upgrade

Pay-per-Use Node Pool

Yearly/Monthly Node Pool

Billing mode of nodes

Pay-per-use only

Yearly/Monthly only

Both pay-per-use and yearly/monthly

Node scale-out

Change the number of nodes in the node pool configuration.

Change the number of nodes in the node pool configuration.

Scale in or out the node pool.

Node scale-in

  • Change the number of nodes in the node pool configuration.
  • Delete or remove nodes.
  • Change the number of nodes in the node pool configuration.
  • Unsubscribe from or remove nodes.

Pay-per-use nodes: Decrease them.

Yearly/Monthly nodes: Unsubscribe from or remove them.

Upgrade

Upgrade the cluster to v1.21.11-r0, v1.23.9-r0, v1.25.4-r0, or later.

  • After a pay-per-use node pool is upgraded to the new version, all features of the new version will be readily accessible without any additional steps.
  • Increasing or decreasing the number of nodes in a yearly/monthly node pool will trigger an automatic upgrade to the new version. Upon confirmation, the node pool will be upgraded without affecting the existing nodes.
NOTE:

After a node pool is upgraded, any nodes added using the API for updating a node pool will be pay-per-use by default.

How to Upgrade to the New Version?

You need to upgrade your cluster to v1.21.11-r0, v1.23.9-r0, v1.25.4-r0, or later, and then perform the following operations to trigger the upgrade process of new node pool.

  1. Log in to the CCE console.
  2. Click the cluster name to access the cluster console. Choose Nodes in the navigation pane. In the right pane, click the Node Pools tab.
  3. Click Scaling in the Operation column of the target node pool. In the displayed dialog box, click Upgrade Now.