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

Use bridge network in container mode #1313

Merged
merged 2 commits into from
Aug 16, 2021

Conversation

danielmitterdorfer
Copy link
Member

With this commit we configure a bridge network that is only visible from
the IP address the Elasticsearch node should bind to.

With this commit we configure a bridge network that is only visible from
the IP address the Elasticsearch node should bind to.
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :Benchmark Candidate Management Anything affecting how Rally sets up Elasticsearch labels Aug 13, 2021
@danielmitterdorfer danielmitterdorfer added this to the 2.3.0 milestone Aug 13, 2021
@danielmitterdorfer danielmitterdorfer self-assigned this Aug 13, 2021
Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

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

LGTM

networks:
rally-es:
driver_opts:
com.docker.network.bridge.host_binding_ipv4: "{node_ip}\"""",
Copy link
Contributor

Choose a reason for hiding this comment

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

not: to avoid this backslashing we can also change the f-string from """ to '''.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. Addressed in 46786dd.

@danielmitterdorfer danielmitterdorfer merged commit db25ac0 into elastic:master Aug 16, 2021
@danielmitterdorfer danielmitterdorfer deleted the docker-bridge branch August 16, 2021 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Benchmark Candidate Management Anything affecting how Rally sets up Elasticsearch enhancement Improves the status quo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants