Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Elastic Agent] Only allow installing APM Server once per policy #4539

Closed
simitt opened this issue Dec 15, 2020 · 3 comments · Fixed by #4694
Closed

[Elastic Agent] Only allow installing APM Server once per policy #4539

simitt opened this issue Dec 15, 2020 · 3 comments · Fixed by #4694

Comments

@simitt
Copy link
Contributor

simitt commented Dec 15, 2020

Right now the APM integration can be added multiple times to a policy, which leads to an error when applying the policy to an Elastic Agent that tries to start two APM Server.

Screenshot 2020-12-15 at 11 59 24

There is no use case coming to my mind where it would make sense to have multiple APM Servers running as subprocess of one Elastic Agent.

@ruflin
Copy link
Member

ruflin commented Dec 15, 2020

@simitt Agree. We have for the endpoint integration that it can only be configured once per policy. We should do the same here. @jonathan-buttner Where did we set this?

@axw
Copy link
Member

axw commented Feb 7, 2021

I believe I have stumbled across the solution, which is to set multiple: false in the package manifest.

@jalvz
Copy link
Contributor

jalvz commented Feb 23, 2021

Tested trough the UI, works as expected

@jalvz jalvz self-assigned this Feb 23, 2021
@axw axw removed the [zube]: Done label Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants