Discussion: instance / group / project level agents and the UI
Problem statement
There are many comments, questions around how and where to set up instance and group level clusters with the agent. Let's try to discuss these questions here in the comments, and summarize the conclusions here.
Recommended flow
- Set up an agent on the configuration project page. Thus the UI should always modify the project (add a new config directory) that it is opened from.
- This means that we don't need a "Select project" input on the new agent UI. @mvrachni
- The projects referenced as a manifest project in a configuration directory should link to the agent configuration project from their cluster listing page
- Group and Instance level agents are still created in the agent configuration project, and have a specific UI under the group/instance to select the agent config project as a group/instance level cluster
- Group and Instance level configuration can support wildcards and patterns to automatically deploy new repos under a group/instance
- In the case of Group/Instance level agents, we can still reference the agent configuration project from the projects that are deployed by a given agent
Edited by Viktor Nagy (GitLab)