Creating Service Endpoints
Scenario
A service endpoint is an extension of CodeArts. It enables CodeArts to connect to third-party services.
For example, when your CodeArts tasks need to obtain project source code from a third-party GitHub repository or need to run with Jenkins, you can create an endpoint to connect to each service.
|
Type |
Scenario |
|---|---|
|
Docker repository |
Connect to a third-party Docker image repository. After the connection is successful, CodeArts Deploy can obtain Docker images from the repository. |
|
Kubernetes |
Connect to a Kubernetes cluster. After the connection is successful, you can deploy applications to the relevant Kubernetes cluster. |
|
IAM user |
Delegate your AK/SK to an IAM user so that the user can obtain a token to perform tasks that require higher permissions. |
Prerequisites
- You must have the DevMarket > Endpoint > create permission to create service endpoints. For details, see
- The third-party service to connect can be accessed from the public network without restrictions.
Creating a Service Endpoint
- Go to the CodeArts homepage.
Log in to the CodeArts console, and click Access Service.
- Click the target project name to go to the project.
- In the navigation pane, choose Settings > General > Service Endpoints.
- Click Create Endpoint and select an endpoint type from the drop-down list.
- In the displayed dialog box, configure the service endpoint.
The new endpoint is displayed.
The tables below describe the parameters for configuring different types of service endpoints.
Managing a Service Endpoint
- Go to the CodeArts homepage.
Log in to the CodeArts console, and click Access Service.
- Click the target project name to go to the project.
- In the navigation pane, choose Settings > General > Service Endpoints.
- Locate the service endpoint you want to manage, and perform the operations listed in the table below as needed.
Table 5 Managing a service endpoint Operation
Description
Edit
Click Edit. In the displayed dialog box, edit the parameters and click Save.
The modified information is displayed.
Delete
WARNING:The deletion cannot be undone. Exercise caution when performing this operation.
Click Delete. In the displayed dialog box, click OK.
The deleted service endpoint is no longer displayed in the list.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.