Change node count in a Managed Kubernetes cluster
In Managed Kubernetes clusters, you can change the node count —increase or decrease the number of nodes in a group. For high availability of system components, we recommend using at least two worker nodes in a cluster.
When you decrease the node count, random nodes are deleted from the group by default. If necessary, you can delete a specific node. If there is one node in the group, you can delete the entire node group. If the Kubernetes version is 1.28 or higher, you can remove all nodes from a node group on a cloud server and leave an empty node group. An empty node group retains node configurations, labels, taints, and user data, but you are not charged for the nodes.
You can change the node group size in the control panel, through the Managed Kubernetes API or through Terraform.
For nodes on dedicated servers, consider their specific payment details. Learn more in the Payment for nodes on dedicated servers when changing the node count.
Payment for nodes on dedicated servers when changing the node count
Payment when increasing the node count
When you increase the number of nodes in a cluster, the payment for the new dedicated servers is deducted as a one-time charge using your primary funds. If there are insufficient primary funds in your balance, the node count will not be increased.
If you need to use bonuses to pay for new nodes on dedicated servers, you can create a new node group and add nodes there.
Refunds when decreasing the node count
When you decrease the number of nodes in a cluster, in accordance with the user agreement, funds for dedicated servers will only be refunded for full unused months.
Change node count
When you decrease the number of nodes in a cluster, random nodes are deleted from the group by default. You can delete a specific node.
Fixed
With autoscaling
- In the control panel, from the top menu, click Products and select Managed Kubernetes.
- Open the cluster page → Cluster composition tab.
- In the node group menu, select Change node count.
- In the Node count field, open the Fixed tab.
- Specify the required node count. For high availability of system components, we recommend using at least two worker nodes in a cluster; nodes can be in different groups.
- Click Save.
Delete a specific node
You can delete a specific node from a group. After deletion, all pods on this node will be distributed across other nodes in the group.
- In the control panel, from the top menu, click Products and select Managed Kubernetes.
- Open the cluster page → Cluster composition tab.
- In the node menu, select Delete.
- Enter the node name to confirm deletion.
- Click Delete.