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

Better local docker instructions for misbehaving-jmx-server #479

Merged
merged 5 commits into from
Sep 22, 2023

Conversation

scottopell
Copy link
Contributor

This PR adds a full docker-compose that includes the Agent as well as the jmx testing server with AD labels.

By running both misbehaving-jmx-server and the agent in the same bridge network (default for docker-compose), we're able to use the docker-compose hostname to connect from the Agent.

Other options for docker development will require a manual second step where the rmi-hostname is set on the misbehaving-jmx-server supervisor.

The above applies to a scenario where both the agent and misbehaving-jmx-server are running in a container. If you are running only the misbehaving-jmx-server in a container and the agent on the host, networking can be a bit tricky, stay tuned for a future PR documenting how to do this.

@scottopell scottopell requested review from a team as code owners September 21, 2023 20:45
gh123man
gh123man previously approved these changes Sep 21, 2023
drichards-87
drichards-87 previously approved these changes Sep 21, 2023
Copy link
Contributor

@drichards-87 drichards-87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left you a couple of minor suggestions from Docs and approved the PR.

tools/misbehaving-jmx-server/README.md Outdated Show resolved Hide resolved
tools/misbehaving-jmx-server/README.md Outdated Show resolved Hide resolved
tools/misbehaving-jmx-server/README.md Outdated Show resolved Hide resolved
@scottopell scottopell dismissed stale reviews from drichards-87 and gh123man via 5ad03f1 September 22, 2023 13:41
@scottopell scottopell merged commit 0994343 into master Sep 22, 2023
2 checks passed
@carlosroman carlosroman deleted the sopell/local-docker-misbehaving branch September 25, 2023 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants