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:
Network Model Comparison¶
Table 1 describes the differences of network models supported by CCE.
Caution
After a cluster is created, the network model cannot be changed.
Dimension | Tunnel Network | VPC Network |
---|---|---|
Application scenarios |
|
|
Core technology | OVS | IPvlan and VPC route |
Applicable clusters | CCE standard cluster | CCE standard cluster |
Container network isolation | Kubernetes native NetworkPolicy for pods | No |
Interconnecting pods to a load balancer | Interconnected through a NodePort | Interconnected through a NodePort |
Managing container IP addresses |
|
|
Network performance | Performance loss due to VXLAN encapsulation | No tunnel encapsulation, and cross-node traffic forwarded through VPC routers (The performance is so good that is comparable to that of the host network, but there is a loss caused by NAT.) |
Networking scale | A maximum of 2000 nodes are supported. | Suitable for small- and medium-scale networks due to the limitation on VPC routing tables. It is recommended that the number of nodes be less than or equal to 1000. Each time a node is added to the cluster, a route is added to the VPC routing tables. Evaluate the cluster scale that is limited by the VPC routing tables before creating the cluster. |