test(smoketest): use -agent-equipped -reports sidecar #1048
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.
Based on top of #1028
Related to #520
This PR builds on top of #1028 with the pluggable discovery API and combines cryostatio/cryostat-reports#45 / cryostatio/cryostat-agent#4 for testing/demonstration purposes. The end result when everything is rebuilt, configured (as in
smoketest.sh
here), and run, is that thecryostat-reports
sidecar container is deployed with acryostat-agent
attached.-reports
no longer enables JMX and so is not connectable for typical Cryostat actions like listing event types or manually starting recordings, but it is still available for its report generation sidecar purpose. The attached-agent
is configured to talk to the Cryostat server instance. It registers itself as a Discovery Plugin via the new #1028 API, then publishes a self-description discovery node with some metadata about itself and a dummyhttp
connectUrl
. It then starts a managed Flight Recording within thecryostat-reports
application and periodically pushes JFR binary files to the Cryostat server archives.