Preparations
Preparing Resources
- Create a VPC. For details, see Creating a VPC.
- Create two CCE clusters (for example, cce-az1 and cce-az2) in different AZs (for example, az1 and az2). In a trial scenario, set Cluster Scale to 50 nodes and Master Nodes to Single.
For details, see Buying a Cluster.
- Each cluster must contain at least one ECS node with 8 vCPUs and 16 GB memory or two ECS nodes with 4 vCPUs and 8 GB memory.
For details about how to add a node to the CCE cluster, see Creating a Node.
- The VPC to which the cluster belongs is the one created in 1.
- When creating a cluster, select Policy for distributing master nodes in a cluster under Master Nodes and select Custom to allocate the master nodes of the two clusters to different AZs.
- The AZ of the ECS nodes in the cluster must be the same as that of the master nodes in the CCE cluster.
- Each cluster must contain at least one ECS node with 8 vCPUs and 16 GB memory or two ECS nodes with 4 vCPUs and 8 GB memory.
- Create a bucket for storing software packages. For details, see Creating a Bucket.
Uploading Software Packages
- Download the following software packages:
- Upload the preceding software packages to the bucket prepared in Preparing Resources.
For details about how to upload a software package, see Streaming Upload (PUT).
Creating Environments
Create two Kubernetes environments to manage the two CCE clusters created in Preparing Resources.
- Log in to ServiceStage.
- Choose Environment Management > Create Environment. Then set required environment information by referring to the following table, and retain the default values for other parameters.
Parameter
Description
Environment
Enter an environment name.
You can name the two environments (for example, env-cce-az1 and env-cce-az2) based on the AZs where the managed CCE clusters are located.
Enterprise Project
Specify Enterprise Project.
Enterprise projects let you manage cloud resources and users by project.
For details, see Enabling the Enterprise Project Function.
VPC
Select the VPC prepared in Preparing Resources.
NOTE:The VPC cannot be modified after the environment is created.
Environment Type
Select Kubernetes.
- Click Create Now.
- In the Resources area, choose Clusters from Compute and click Bind now.
- Select the CCE cluster created in Preparing Resources and click OK.
- For the env-cce-az1 environment, select cce-az1.
- For the env-cce-az2 environment, select cce-az2.
Creating an Application
- Click in the upper left corner to return to the Environment Management page.
- Choose Application Management > Create Application and configure the application by referring to the following table.
Parameter
Description
Name
Enter an application name, for example, test-app.
Enterprise Project
Specify Enterprise Project.
Enterprise projects let you manage cloud resources and users by project.
For details, see Enabling the Enterprise Project Function.
- Click OK.
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