Creating a Release Environment
Creating a Release Environment
- Log in to the Huawei Cloud console.
- Click in the upper left corner of the page, and choose Developer Services > CodeArts from the service list.
- Click Access Service to go to the CodeArts homepage.
- Click a project name to access the project.
- Choose CICD > Release to access the release environment list page.
- Click Create Environment. On the displayed page, set 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. Enter only letters, digits, underscores (_), and hyphens (-) with a maximum of 128 characters.
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.
- Current User: Create an environment based on the cluster of the current user.
- Other Users: Create an environment based on the clusters of other users. Obtain other users' cluster permissions through endpoints. For details, see Creating Service Endpoints.
Region
This parameter is required when you select CCE for Resource Type.
Select the region where the environment is to be deployed.
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.
Associated UCS resources. Only fleet is supported.
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. For details, see Creating Service Endpoints.
Environment Level
Available environment types: development, test, pre-release, and production. For details about environment permissions, see Project-level Permissions.
Description
Enter the description of the environment with no more than 200 characters.
- After setting all parameters, click OK. The environment information page is displayed.
Table 2 Environment information 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.
Tag
Environment type.
Description
Description of the environment.
- Click Edit in the upper right corner of the page to edit the environment information.
- Switch tabs to configure environment variables, configure release policies, and check deployment results.
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