Add alert suggesting to use Terraform when there're more than 10 agents
What does this MR do and why?
This MR adds an alert suggesting to use Terraform for managing the agents when there're more than 10 available agent configurations. The alert also notifies that we show only 100 agents within the agent's creation dropdown.
Screenshots or screen recordings
If there're more than 10 agents:
If there're more than 100 agents:
How to set up and validate locally
- Enable KAS on your GDK (steps 1-2 from the guide).
- Create 10 agent configurations by adding empty files
.gitlab/agents/<your-agent-name>/config.yaml
- Visit the Project -> Infrastructure -> Kubernetes clusters page and create an agent following the instruction from the modal.
- Select the "Connect a cluster" button
- The modal should pop up
- In the modal select "Select an agent or enter a name to create new"
- Verify the alert is shown
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Review progress:
Related to #395486 (closed)
Edited by Anna Vovchenko