Maximum Number of Pods That Can Be Created on a Node
Calculation of the Maximum Number of Pods on a Node
The maximum number of pods that can be created on a node is calculated based on the cluster type.
| Network Model | Maximum Number of Pods on a Node | Recommended Configuration |
|---|---|---|
| Tunnel network | None | |
| VPC network | The smaller value between the Maximum Number of Pods on a Node and Number of Reserved Pod IP Addresses Per Node | To ensure that new pods run smoothly on a node, verify that the maximum number of pods on the node does not exceed the number of allocatable pod IP addresses. If the node lacks sufficient pod IP addresses, new pods will not function properly. |
| Cloud Native Network 2.0 (for CCE Turbo clusters) | The smaller value between the maximum number of pods on a node and the number of network interfaces on a node in a CCE Turbo cluster | To ensure new pods run smoothly on a node, make sure that the number of pods on the node does not exceed the number of network interfaces on it. If there are not enough network interfaces available on the node, the new pods may not function properly. |
Increasing Pod Capacity
| Solution | Applicable Cluster | Operation | Impact |
|---|---|---|---|
| Adding nodes (recommended) | All clusters | Add nodes to increase the number of available pods. | Services are not affected. However, if the cluster is over-provisioned, performance may degrade. Plan the cluster size properly. Add nodes with higher specifications, gradually migrate services to the new nodes, and scale in the old nodes. |
| Increasing the maximum pod count per node | All clusters | For nodes in the default node pool, reset the nodes and reconfigure the maximum pod count per node. For nodes in a custom node pool, update the Maximum Pods Managed by kubelet setting in the node pool configuration. | Node reset or kubelet restart may cause brief service interruption. For tunnel network clusters, this method directly increases the number of available pods. For other types of clusters, additional parameters must also be considered. |
| Rebuilding the cluster and replanning pod CIDR blocks | VPC network clusters | For VPC-network clusters, adjusting the number of pod IP addresses reserved per node requires cluster rebuild. | Services must be rebuilt. |
| Upgrading node flavors to increase network interface capacity | CCE Turbo clusters using Cloud Native Network 2.0 | If the maximum pod count is limited by the number of network interfaces on a node, upgrade the node flavor to increase capacity. If the number of network interfaces supported by a node exceeds the maximum pod count, increase the maximum pod count accordingly. Best practice: Keep the maximum pod count equal to the number of network interfaces. | Changing a node flavor causes brief service interruption. Additional side effects may occur. For details, see What Are the Impacts of Changing the Flavor of a Node in a CCE Node Pool? |
FAQs
- How do I obtain the maximum pod count in a CCE Turbo cluster?
The maximum pod count per node in a CCE Turbo cluster depends on the number of network interfaces, which varies by node flavor. You can view the supported maximum pod count for each flavor when creating a node.

- Why does pod capacity vary between nodes with the same CPU and memory flavor?
Pod capacity is not determined solely by CPU and memory flavors. It also depends on the cluster type and other configuration parameters. For details, see Calculation of the Maximum Number of Pods on a Node.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot


