In the Container Service console, you can scale out or scale in the worker nodes of a Kubernetes cluster according to your actual business requirements.
- Currently, Container Service does not support scaling in and out the master nodes in a cluster.
- Container Service only supports scaling in the worker nodes that are created when you create the cluster or added after you scale out the cluster. The worker nodes that are added as existing Add an existing ECS instance when you create the cluster cannot be scaled in.
- When you scale in a cluster, the worker nodes are removed from the cluster in the order that they are added after you scale out the cluster.
- You must have more than 1 node that is not manually added to perform scaling in.
- Log on to the Container Service console.
- Under Kubernetes, click Clusters in the left-side navigation pane.
- Click Scale Cluster at the right of the cluster.
- Select Scale out or Scale in in the Scale field and then configure the number of worker nodes.
In this example, scale out the cluster to change the number of worker nodes from one to four.
- Enter the logon password of the node.
Note Make sure this password is the same as the one you entered when creating the cluster because you have to log on to the Elastic Compute Service (ECS) instance to copy the configuration information in the upgrade process.
- Click Submit.