CCE uses proprietary, high-performance container networking add-ons to support the tunnel, Cloud Native 2.0, and VPC networks.
After a cluster is created, the type of network cannot be changed.
Figure 1 Container tunnel network

Figure 2 VPC network

Figure 3 Cloud Native network 2.0

The table below lists the differences between these types of networks.
Category | Tunnel Network | VPC Network | Cloud Native 2.0 Network |
|---|---|---|---|
Application scenarios |
|
|
|
Core technology | OVS | IPvlan and VPC route | VPC network interfaces and supplementary network interfaces |
Applicable cluster | CCE standard cluster | CCE standard cluster | CCE Turbo cluster |
Container network isolation | Kubernetes-native network policies for pods | Not supported | Security group-based isolation for pods |
Interconnecting pods to a load balancer | Interconnected through a NodePort | Interconnected through a NodePort | Directly interconnected using a dedicated load balancer Interconnected using a shared load balancer through a NodePort |
Pod IP address management |
|
|
|
Maximum number of pods on a node | It is determined by the maximum number of pods that can be created on a node (the kubelet parameter maxPods). | It is determined by the smaller value between the following options:
| It is determined by the smaller value between the following options:
|
Network performance | There is certain performance loss due to VXLAN encapsulation. | The performance is so good that it is comparable to that of the host network because there is no tunnel encapsulation, and cross-node traffic is forwarded through VPC routers. But there is a loss caused by NAT. | There is no performance loss because the container network is integrated with the VPC network. |
Network scale | A maximum of 2,000 nodes is supported. | It is suitable for small- and medium-scale networks due to the limitation on VPC route tables. It is recommended that the number of nodes in a cluster be less than or equal to 1,000. Each time a node is added to the cluster, a route is added to the VPC route tables. So, the cluster scale is limited by the VPC route tables. Evaluate the cluster scale before creating it. | A maximum of 2,000 nodes is supported. In a cluster that uses a Cloud Native 2.0 network, pod IP addresses are assigned from the VPC CIDR block, so the number of pods is restricted by this CIDR block. Evaluate the cluster scale limitations before creating it. |
Support for IPv4/IPv6 | Supported | Not supported | Supported |