Skip to content

Conversation

@lockewritesdocs
Copy link
Contributor

The current command to start the first Elasticsearch node includes -p 9200:9200 and -p 9300:9300. This PR removes the extra ports so that they're not open unnecessarily.

The current command to start the first Elasticsearch node includes `-p 9200:9200` and `-p 9300:9300`. This PR removes the extra ports so that they're not open unnecessarily.
@lockewritesdocs lockewritesdocs added >docs General docs changes :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts auto-backport-and-merge v8.5.1 v8.6.0 v8.4.4 labels Oct 25, 2022
@lockewritesdocs lockewritesdocs self-assigned this Oct 25, 2022
@github-actions
Copy link
Contributor

Documentation preview:

@elasticsearchmachine elasticsearchmachine added Team:Docs Meta label for docs team Team:Delivery Meta label for Delivery team labels Oct 25, 2022
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

Copy link
Contributor

@bytebilly bytebilly left a comment

Choose a reason for hiding this comment

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

Are we sure that the port is not required to get other nodes enrolled later? I'd love to be sure that the end-to-end documented flow still works, has this been tested after the change?

@lockewritesdocs
Copy link
Contributor Author

Are we sure that the port is not required to get other nodes enrolled later?

@bytebilly, I tested the documentation without the -p 9300:9300 flag and it still works! The additional node (es02) uses port 9201, and I had no problem enrolling with the initial node. Granted, that's a sample size of 1, but it did work for me.

@debadair debadair assigned debadair and unassigned lockewritesdocs Oct 28, 2022
@elasticsearchmachine
Copy link
Collaborator

@lockewritesdocs please enable the option "Allow edits and access to secrets by maintainers" on your PR. For more information, see the documentation.

@tmgordeeva tmgordeeva added v8.5.2 and removed v8.5.1 labels Nov 15, 2022
@kingherc kingherc added v8.7.0 and removed v8.6.0 labels Nov 16, 2022
@debadair debadair merged commit 9af1c27 into main Nov 22, 2022
@debadair debadair deleted the docs__remove-extra-docker-ports branch November 22, 2022 17:13
debadair pushed a commit to debadair/elasticsearch that referenced this pull request Nov 22, 2022
The current command to start the first Elasticsearch node includes `-p 9200:9200` and `-p 9300:9300`. This PR removes the extra ports so that they're not open unnecessarily.

Co-authored-by: Adam Locke <[email protected]>
debadair pushed a commit to debadair/elasticsearch that referenced this pull request Nov 22, 2022
The current command to start the first Elasticsearch node includes `-p 9200:9200` and `-p 9300:9300`. This PR removes the extra ports so that they're not open unnecessarily.

Co-authored-by: Adam Locke <[email protected]>
debadair pushed a commit to debadair/elasticsearch that referenced this pull request Nov 22, 2022
The current command to start the first Elasticsearch node includes `-p 9200:9200` and `-p 9300:9300`. This PR removes the extra ports so that they're not open unnecessarily.

Co-authored-by: Adam Locke <[email protected]>
elasticsearchmachine pushed a commit that referenced this pull request Nov 22, 2022
The current command to start the first Elasticsearch node includes `-p 9200:9200` and `-p 9300:9300`. This PR removes the extra ports so that they're not open unnecessarily.

Co-authored-by: Adam Locke <[email protected]>

Co-authored-by: Adam Locke <[email protected]>
Co-authored-by: Adam Locke <[email protected]>
elasticsearchmachine pushed a commit that referenced this pull request Nov 22, 2022
The current command to start the first Elasticsearch node includes `-p 9200:9200` and `-p 9300:9300`. This PR removes the extra ports so that they're not open unnecessarily.

Co-authored-by: Adam Locke <[email protected]>

Co-authored-by: Adam Locke <[email protected]>
Co-authored-by: Adam Locke <[email protected]>
elasticsearchmachine pushed a commit that referenced this pull request Nov 22, 2022
The current command to start the first Elasticsearch node includes `-p 9200:9200` and `-p 9300:9300`. This PR removes the extra ports so that they're not open unnecessarily.

Co-authored-by: Adam Locke <[email protected]>

Co-authored-by: Adam Locke <[email protected]>
Co-authored-by: Adam Locke <[email protected]>
jpountz pushed a commit to jpountz/elasticsearch that referenced this pull request Nov 22, 2022
The current command to start the first Elasticsearch node includes `-p 9200:9200` and `-p 9300:9300`. This PR removes the extra ports so that they're not open unnecessarily.

Co-authored-by: Adam Locke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >docs General docs changes Team:Delivery Meta label for Delivery team Team:Docs Meta label for docs team v8.4.4 v8.5.2 v8.6.0 v8.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants