Creating a Release Environment
Environment Entry
- Log in to CodeArts.
- Click a project name to access the project.
- Choose CICD > Release to access the environment list page.
Parameter
Description
Environment Name
Unique environment identifier in the project.
Resource Type
Type of resources needed by services
Environment Level
Available environment types: development, test, pre-release, and production.
Creator
Creator of the environment.
Created
Time when the environment was created.
Operation
Click in the Operation column. In the displayed dialog box, enter the environment name and click Delete.
- Click Create Environment to create an environment.
- Click an environment name to view the details.
Creating a Release Environment
- On the environment list page, click Create Environment.
- On the displayed page, enter basic information. For details, see Table 1.
Table 1 Parameter description Parameter
Description
Project
Project to which the environment belongs. The project cannot be changed.
Environment Name
Unique environment identifier within the microservice. The name cannot be changed once the environment was created.
Resource Type
CCE, UCS, and K8s are available. They support different deployment extensions.
- CCE: a type of Kubernetes cluster encapsulated by Huawei Cloud. Select this type if you want to use Huawei Cloud resources. Learn more.
- UCS: a type of Kubernetes cluster encapsulated by Huawei Cloud for multi-cloud deployment. Select this type if you want to deploy clusters on multiple clouds. Learn more.
- K8s: the native Kubernetes cluster. Select this type if you want to use self-built clusters or third-party clusters.
Publish User
Options: Current User or Other Users. You need to use the service endpoint to obtain permissions of Other Users.
Region
This parameter is required when you select CCE for Resource Type.
Select a region for deployment.
Cluster
This parameter is required when you select CCE for Resource Type.
Select the purchased Kubernetes clusters in Cloud Container Engine (CCE).
Association Type
This parameter is required when you select UCS for Resource Type.
Select the associated UCS resource.
Fleets
This parameter is required when you select UCS for Resource Type.
Kubernetes Endpoint
This parameter is required when you select K8s for Resource Type.
Select a created Kubernetes endpoint to access cluster resources with credential.
Environment Level
Available environment types: development, test, pre-release, and production.
Description
Enter the description of the environment.
- After setting all parameters, click OK. The environment information page is displayed.
Viewing a Release Environment
- On the environment list page, click an environment name.
- On the displayed page, you can check the basic information of the environment, as shown in the following table (using CCE as an example).
Parameter
Description
Resource Type
Resource types associated with the environment.
Service Endpoint
Service endpoint of CCE resources.
Cluster Region
Kubernetes cluster region applied in CCE.
Cluster ID
Kubernetes cluster ID applied in CCE.
Variable Version
Version number of the environment variable in the current environment.
- Switch tabs to view environment variables, release policies, and deployment history.
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