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.
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 |
Network isolation |
Kubernetes native NetworkPolicy for pods |
No |
Passthrough networking |
No |
No |
IP address management |
|
|
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. |
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. Therefore, the cluster scale is limited by the VPC routing tables. |
- The scale of a cluster that uses the VPC network model is limited by the custom routes of the VPC. Therefore, 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.
- Do not change the mask of the primary CIDR block on the VPC after a cluster is created. Otherwise, the network will be abnormal.
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