Preparing the CCE Environment
Creating a CCE Cluster on Huawei Cloud
Perform the following operations to create a CCE cluster:
- Create a VPC.
On the Network Console, choose Virtual Private Cloud > My VPCs and click Create VPC.
Configure the parameters as required.
- Create a CCE cluster.
Create a CCE cluster using the VPC created in the previous step.
Confirm the specifications and complete the creation.
- Add worker nodes to the created CCE cluster.
Go to the CCE cluster details page and add nodes.
Figure 1 Adding worker nodes to the CCE cluster
Confirm the resources.
Requesting EIPs on Huawei Cloud
On the Network Console, choose Elastic IP and Bandwidth > EIPs and click Buy EIP.
Four EIPs are required.
- Two EIPs are required for setting up the multi-cloud collaboration platform:
- One EIP is bound to a load balancer for accessing the multi-cloud collaboration platform.
- The other EIP is bound to a load balancer for viewing the platform monitoring data.
- Two EIPs are required for the nodes in the CCE cluster to access the Internet.
Creating Load Balancers on Huawei Cloud
Perform the following operations to create two load balancers, each with an EIP bound:
- On the Network Console, choose Elastic Load Balance > Load Balancers and click Buy Elastic Load Balancer.
- Bind an EIP to each load balancer.
Configuring NAT Gateway on Huawei Cloud
Perform the following operations to create a public NAT gateway with an EIP bound:
- Buy a public NAT gateway.
Figure 2 Configuring NAT gateway
- Add an SNAT rule to the public NAT gateway to bind an EIP to this gateway so the nodes without EIPs in the CCE cluster can share the EIP to access the Internet.
Figure 3 Adding an SNAT rule
- Use any node that has no EIP bound to access the Internet to test network connectivity.
(Optional) Deploying Middleware on Huawei Cloud
After the multi-cloud collaboration platform is set up, containerized middleware is automatically deployed. In the production environment, Huawei Cloud products are recommended. The middleware is independent of the platform to improve platform stability.
- Deploy GaussDB(for MySQL).
On the Huawei Cloud management console, select GaussDB(for MySQL) and create a DB instance.
- Deploy GeminiDB (for Redis).
On the Huawei Cloud management console, select GeminiDB and create a DB instance with Compatible API set to Redis.
- Deploy CSS.
On the Huawei Cloud management console, select CSS and create an Elasticsearch cluster.
Granting kubectl Permissions on the Worker Nodes in the CCE Cluster
Grant the kubectl operation permissions on the worker nodes in the CCE cluster by following the instructions on the CCE console.
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