This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
Add option and script to inject a custom apm-server into Elastic Agent #1030
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jalvz
force-pushed
the
inject-apm-server-binary
branch
from
January 15, 2021 12:52
4e5afbd
to
1f31b4e
Compare
Co-authored-by: Ivan Fernandez Calvo <[email protected]>
Co-authored-by: Ivan Fernandez Calvo <[email protected]>
this replaces the binary in the Elastic Agent container, if there is an APM Server running, would it restarted to pick the new binary? |
good question 😎 I didn't get to that part yet, I was waiting to have 1016 merged to see how it all plays together. |
I'd said that is easy to use the same approach we have for all the containers, build a derivated Docker container. In this particular case, a Docker container FROM the Elastic Agent container, then we add similar logic we have for opbeans to compile the APM Server and add it to the Elastic Agent Docker image. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This should enable us to run elastic-agent with an arbitrary apm-server binary.
Why is it important?
To run tests in pull requests with elastic agent and the apm-server from the current branch
Depends on #1016