Creating an Agent Pool
Scenario
You can use built-in or custom executors to perform check, build, deployment, pipeline, and API test tasks in CodeArts.
Agent pools are used to connect custom executors. You can add your own execution resources to an agent pool so that you can use them to execute tasks. Agent pools help improve efficiency and remove dependency on public execution resources.
Creating an Agent Pool
- Go to the CodeArts homepage.
- Log in to the CodeArts console, click , and select a region.
- Click Access Service.
- Click the username on the navigation bar and choose All Account Settings.
- Choose Agent Pool > Agent Pool.
- Click Create Pool.
- Configure the agent pool and click Save.
Table 1 Creating an agent pool Configuration Item
Mandatory
Description
Pool Name
Yes
Enter a maximum of 50 characters, including digits, letters, periods (.), underscores (_), and hyphens (-).
Pool Type
Yes
Supported pool types:
- LINUX: Tasks are executed on a Linux VM.
- LINUX_DOCKER: A Linux Docker container is started and tasks are executed in the container.
- WINDOWS: Tasks are executed on a Windows VM.
- MAC: The agent registration command is run on a MAC host.
Description
No
Enter a maximum of 1,024 characters.
This pool can be used by all users of the current account.
No
If this parameter is selected, all users of the current account can use the pool.
- View the new record after the creation is successful.
Follow-up Operations
After creating an agent pool, you can perform the following management operations on it.
Operation |
Description |
---|---|
Viewing agent pool details |
Click the Pool Details tab, and view the detailed information, including the owner, pool type, creation time, and description. |
Managing agent pool permissions |
Click the Permissions tab, and manage the permissions for using the agent pool.
|
Viewing agent pool operation records |
Click the Operation Records tab, and view the operation records. |
Setting notification rules |
Click the Notify tab, and configure notifications for different operations. You can determine whether to send service updates or emails to permission managers when the following operations are triggered:
|
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