This section describes how to quickly create a CCE cluster. In this example, the default or simple configurations are in use.
Parameter |
Description |
---|---|
Basic Settings |
|
*Cluster Name |
Name of the cluster to be created. A cluster name contains 4 to 128 characters starting with a lowercase letter and not ending with a hyphen (-). Only lowercase letters, digits, and hyphens (-) are allowed. |
*Cluster Version |
Choose the latest version. |
*Cluster Scale |
Maximum number of worker nodes that can be managed by the cluster. If you select Nodes: 50, the cluster can manage a maximum of 50 worker nodes. |
Network Settings |
|
*Network Model |
You can select VPC network or Tunnel network. Retain the default value. |
*VPC |
VPC where the cluster will be located. If no VPC is available, click Create VPC to create one. After the VPC is created, click the refresh icon. |
*Subnet |
Select a subnet for worker nodes. If no subnet is available, click Create Subnet. This configuration cannot be modified after the cluster is created. |
*Container CIDR Block |
CIDR block used by containers. The value determines the maximum number of containers in the cluster. Retain the default value. |
*Service CIDR Block |
CIDR block for Services used by containers in the same cluster to access each other. The value determines the maximum number of Services you can create. The value cannot be changed after creation. Retain the default value. |
It takes about 6 to 10 minutes to create a cluster.
The created cluster will be displayed on the Clusters page, and the number of nodes in the cluster is 0.
After a cluster is created, you need to create nodes in the cluster to run workloads.
The following describes only important parameters. For other parameters, retain the defaults.
Compute Settings
A key pair is used for identity authentication when you remotely log in to a node. If no key pair is available, click Create Key Pair.
Storage Settings
Network Settings
The default value is Do not use. You can also select Use existing or Auto create.
It takes about 6 to 10 minutes to create a node.
The created node will be displayed on the Nodes page.