Overview
The container network assigns IP addresses to pods in a cluster and provides networking services. In CCE, you can select the following network models for your cluster:
- Container tunnel network
- VPC network
- Cloud Native Network 2.0
Network Model Comparison
Table 1 describes the differences of network models supported by CCE.
After a cluster is created, the network model cannot be changed.
|
Dimension |
Tunnel Network |
VPC Network |
Cloud Native Network 2.0 |
|---|---|---|---|
|
Core technology |
OVS |
IPvlan and VPC route |
VPC ENI/sub-ENI |
|
Applicable clusters |
CCE cluster |
CCE cluster |
CCE Turbo cluster |
|
Network isolation |
Yes. For details, see Network Policies. |
No |
Yes. For details, see SecurityGroups. |
|
Passthrough networking |
No |
No |
Yes |
|
IP address management |
|
|
The container CIDR block is divided from the VPC subnet and does not need to be allocated separately. |
|
Network performance |
Performance loss due to VXLAN encapsulation |
No tunnel encapsulation. Cross-node packets are forwarded through VPC routers, delivering performance equivalent to that of the host network. |
The container network is integrated with the VPC network, eliminating performance loss. |
|
Networking scale |
A maximum of 2,000 nodes are supported. |
By default, 200 nodes are supported. Each time a node is added to the cluster, a route is added to the VPC routing table. Therefore, the cluster scale is limited by the VPC route table. For details about the route table, see Notes and Constraints. |
A maximum of 2,000 nodes are supported. |
|
Application scenarios |
|
|
|
- The scale of a cluster that uses the VPC network model is limited by the custom routes of the VPC. Therefore, you need to estimate the number of required nodes before creating a cluster.
- By default, VPC routing network supports direct communication between containers and hosts in the same VPC. If a peering connection policy is configured between the VPC and another VPC, the containers can directly communicate with hosts on the peer VPC. In addition, in hybrid networking scenarios such as Direct Connect and VPN, communication between containers and hosts on the peer end can also be achieved with proper planning.
Last Article: Container Network Models
Next Article: Container Tunnel Network
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.