Help Center> Cloud Container Engine> FAQ> Networking> Network Planning> How Do I Set a Container CIDR Block for a CCE Cluster?

How Do I Set a Container CIDR Block for a CCE Cluster?

Log in to the CCE console. When creating a cluster, set Container Network Segment on the Configure Cluster page.

Available container CIDR blocks are 10.0.0.0/8-18, 172.16.0.0/16-18, and 192.168.0.0/16-18.

  • VPC's CIDR block, subnet's CIDR block, and container CIDR block are a one-time configuration and cannot be changed after the cluster is created. If you want to use another CIDR block, you have to create a new cluster that has exactly the same parameter settings (except for the CIDR block) as the current cluster.
  • The default service CIDR block is 10.247.0.0/16. Therefore, the container CIDR block cannot be 10.247.0.0/16.
Figure 1 Setting the container CIDR block