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

[BuildBuild] Have excellent documentation for how to setup OpenSearch for testing #933

Closed
peternied opened this issue Nov 10, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@peternied
Copy link
Member

peternied commented Nov 10, 2021

For the 1.2.0 release this is what we have we should refine and improve this.


  • Use Docker-Compose to setup a cluster

    • Download this gist as docker-compose.yml on your machine
    • Get latest image versions docker-compose pull
    • Start the cluster docker-compose up
  • OpenSearch docker

    • Start without security
      • Docker command docker pull opensearchstaging/opensearch:1.2.0 && docker run -it -p 9200:9200 -e "discovery.type=single-node" -e "DISABLE_SECURITY_PLUGIN=true" opensearchstaging/opensearch:1.2.0
      • Connect command curl https://localhost:9200
    • Start with security
      • Docker command docker pull opensearchstaging/opensearch:1.2.0 && docker run -it -p 9200:9200 -e "discovery.type=single-node" opensearchstaging/opensearch:1.2.0
      • Connect command curl --insecure https://admin:admin@localhost:9200
  • OpenSearch-Dashboards docker

    • Start without security
      • Docker command docker pull opensearchstaging/opensearch-dashboards:1.2.0 && docker run -it --network="host" -e "DISABLE_SECURITY_DASHBOARDS_PLUGIN=true" opensearchstaging/opensearch-dashboards:1.2.0
      • URL https://localhost:5601
    • Start without security
      • Docker command docker pull opensearchstaging/opensearch-dashboards:1.2.0 && docker run -it --network="host" opensearchstaging/opensearch-dashboards:1.2.0
      • URL https://localhost:5601
  • Use TARs to deploy OpenSearch Manually

From Docker Release

@peternied peternied self-assigned this Nov 10, 2021
@peternied peternied added the documentation Improvements or additions to documentation label Nov 10, 2021
@peternied
Copy link
Member Author

peternied commented Nov 10, 2021

@kavilla @peterzhuamazon Can you confirm that the setup for the stand alone docker image of Dashboards is correct?

@peterzhuamazon
Copy link
Member

peterzhuamazon commented Nov 10, 2021

--network="host" sometimes having issues on macOS.
I normally just use the docker-compose file to handle it.

@peternied peternied removed their assignment Feb 3, 2022
@bbarani
Copy link
Member

bbarani commented Apr 26, 2022

Closing this issue as we are adding the test documentation in the release issue.

@bbarani bbarani closed this as completed Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants