Create Huawei Cloud CCE Cluster
Huawei Cloud CCE is a managed Kubernetes product/service that further simplifies the deployment and management of container-based applications. With CCE, you can easily create Kubernetes clusters, deploy your containerized applications, and conveniently manage and maintain them. For more information about Huawei Cloud CCE, please refer to the official documentation .
By using this guide, you can quickly launch a CCE Kubernetes cluster in your Huawei account.
Preparation
Install a plugin
Before installation, you need to install the Huawei Cloud CCE Cluster Management Component with one click on the global plugin tab.
Create Cloud Credential
Cloud credentials refer to Huawei’s access keys (AK/SK, Access Key ID/Secret Access Key), which include an access key ID (AK) and a secret access key (SK). They serve as your long-term identity credentials for accessing Huawei Cloud.
You need to create an access key for the current user on the Huawei Cloud CCE platform and create cloud credentials on this platform.
(Optional) Network Planning and Create VPC and Subnet
-
Refer to the official documentation VPC Network and plan the network in advance.
-
You need to create a VPC to launch a CCE cluster. VPC allows you to launch CCE resources into a custom virtual network. You can manually create one VPC and one subnet and use them when creating the cluster. If not created, the platform will automatically create one VPC and one subnet. Please refer to the official documentation Creating VPC and Subnet .
Create Cluster - Basic Info
-
In the left navigation pane, click Clusters > Cluster of clusters.
-
Click on Create a cluster on the right side of the page
> Create HuaweiCloud CCE cluster.
| Parameter | Description |
|---|---|
| Cloud Credential | Select an existing cloud credential or create a cloud credential and use it. |
| Region | Select the project supported under the cloud credential. For more details, please refer to the official documentation . |
Create Cluster - CCE Cluster Settings
| Parameter | Description |
|---|---|
| Enterprise Project | An enterprise project is a way to manage cloud resources. The enterprise project management service provides unified management of cloud resources by project, as well as resource management and member management within the project. If you have enabled the enterprise project, you need to configure this item by selecting the created enterprise project or referring to the official documentation to enable and create an enterprise project. |
| Cluster Scale | The maximum number of nodes that the cluster can manage. Please select according to your business scenario. It cannot be modified after creation. |
| High Availability | If enabled, the control nodes will be distributed randomly in different availability zones to improve disaster recovery capabilities. When the cluster scale is set to 1000 nodes or 2000 nodes, high availability is enabled by default and cannot be disabled. |
| Bind Public Network Address | If enabled, the platform will automatically create and bind a public network address for you, and use this address to access the platform. If disabled, the cluster can only be accessed through the internal network address. Please ensure that the platform can access the API Server address of the CCE cluster. |
| Public Cloud Network | - Create a New Network: The platform will automatically create a VPC and subnet for you and bind them, and use this address to access the platform. - Use an Existing Network: Select the VPC and subnet that have already been created in the public cloud. For more information, please refer to the VPC Network official documentation, and create the Control Node Subnet and Container Subnet. After creation, it cannot be modified. It is recommended to plan the network according to the Network Planning Recommendations section in the official documentation. |
| Service Subnet | The IP address range used by Kubernetes Services with the type ClusterIP. It cannot overlap with the Control Node Subnet and Container Subnet. |
Add Node Pool
A node pool is a collection of nodes, such as high-performance and on-demand billing node pools. You can add various types of nodes to meet the requirements of different application scenarios.
-
Add one or more node pools.
Parameter Description Node Specification Supported virtual machine instance types. For more information, please refer to Instance Specifications . Key Pair The private key file required to log in to the node. Select the key pair under the specified project ID of this account. For more information, please refer to Create Key Pair . System Disk/Data Disk Fill in the capacity of the system disk and data disk. Currently, only the use of general SSD types is supported. Kubernetes Labels Labels are key-value pairs attached to nodes and can be used to define the attributes of nodes. Taints Taints are properties of nodes that can cause nodes to reject running certain Pods or even evict Pods. Node Subnet The subnet used by the compute node. -
Click Create to view the progress of cluster creation.
Relevant operations
You can click the
on the right side of the cluster on the list page, or click Actions in the upper right corner on the details page to update the resource configuration of the nodes under the cluster or delete the clusters that are no longer in use as needed.
| Operation | Description |
|---|---|
| Update | Update the created cluster configuration in Update Public Cloud Cluster Configuration, and the updated configuration will take effect in the CCE cluster simultaneously. |
| Delete | When deleting a cluster, the resources in the CCE nodes will be released simultaneously. Please ensure that the applications in the project bound to the cluster have been backed up or migrated before deletion. |