Skip to content
Snippets Groups Projects
Verified Commit 803cf714 authored by Phillip Wells's avatar Phillip Wells Committed by GitLab
Browse files

Merge branch 'timofurrer-master-patch-64310' into 'master'

Document asking for feedback and shortcomings for multiple agents

See merge request !147993



Merged-by: default avatarPhillip Wells <pwells@gitlab.com>
Approved-by: default avatarPhillip Wells <pwells@gitlab.com>
Co-authored-by: Viktor Nagy  (GitLab)'s avatarViktor Nagy (GitLab) <vnagy@gitlab.com>
Co-authored-by: Timo Furrer's avatarTimo Furrer <tfurrer@gitlab.com>
parents 49ef1cb8 114f30ab
No related branches found
No related tags found
1 merge request!147993Document asking for feedback and shortcomings for multiple agents
Pipeline #1237161220 passed
......@@ -207,6 +207,9 @@ To configure your agent, add content to the `config.yaml` file:
## Install multiple agents in your cluster
NOTE:
In most cases, you should run one agent per cluster and use the agent impersonation features (Premium and Ultimate only) to support multi-tenancy. If you must run multiple agents, we would love to hear from you about any issues you encounter. You can provide your feedback in [issue 454110](https://gitlab.com/gitlab-org/gitlab/-/issues/454110).
To install a second agent in your cluster, you can follow the [previous steps](#register-the-agent-with-gitlab) a second time. To avoid resource name collisions within the cluster, you must either:
- Use a different release name for the agent, for example, `second-gitlab-agent`:
......@@ -223,6 +226,15 @@ To install a second agent in your cluster, you can follow the [previous steps](#
...
```
Because each agent in a cluster runs independently, reconciliations are triggered
by every agent with the Flux module enabled.
[Issue 357516](https://gitlab.com/gitlab-org/gitlab/-/issues/357516) proposes to change this behavior.
As a workaround, you can:
- Configure RBAC with the agent so that it only accesses the Flux resources it needs.
- Disable the Flux module on the agents that don't use it.
## Example projects
The following example projects can help you get started with the agent.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment