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

Add 2-node cluster of OpenSearch docker containers to development docker deployment #583

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

naknomum
Copy link
Member

@naknomum naknomum commented May 30, 2024

Adds to development docker configuration a 2-node OpenSearch cluster, per #510

Notes

  • Using only single node for development
  • Development-only settings which very likely should be changed for eventual production docker deploy:
    • ports 9200, 9300 exposed for direct localhost access
    • plugins.security.disabled=true in order to disable SSL usage for http://localhost:9200 exposure (above); removing this will require additional SSL/cert magic to happen
  • Connectivity from wildbook docker container confirmed via curl access, see below.
root@9c825aca0bee:/usr/local/tomcat# curl http://opensearch:9200/
{
  "name" : "opensearch",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "uHqIxhWJQh2eXxo3gaBatg",
  "version" : {
    "distribution" : "opensearch",
    "number" : "2.14.0",
    "build_type" : "tar",
    "build_hash" : "aaa555453f4713d652b52436874e11ba258d8f03",
    "build_date" : "2024-05-09T18:51:00.973564994Z",
    "build_snapshot" : false,
    "lucene_version" : "9.10.0",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}

Copy link

gitguardian bot commented May 30, 2024

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@naknomum naknomum linked an issue May 30, 2024 that may be closed by this pull request
@naknomum
Copy link
Member Author

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request

really a false-positive as this is a development-only password and meant just to fulfill the requirement of having some password in order to launch OpenSearch. i have closed the gitguardian incident.

@TanyaStere42 TanyaStere42 requested a review from holmbergius May 30, 2024 21:03
@TanyaStere42 TanyaStere42 requested review from TanyaStere42 and removed request for holmbergius June 4, 2024 23:29
Copy link
Member

@TanyaStere42 TanyaStere42 left a comment

Choose a reason for hiding this comment

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

tested, runs as long as you do the old vm.max_map_count thing. approved with the instructions updated

@TanyaStere42 TanyaStere42 merged commit b27cbcd into master Jun 4, 2024
2 checks passed
@TanyaStere42 TanyaStere42 deleted the 510-opensearch-docker branch June 4, 2024 23:30
Rodhlann pushed a commit to Rodhlann/Wildbook that referenced this pull request Dec 6, 2024
Add 2-node cluster of OpenSearch docker containers to development docker deployment
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.

OpenSearch Docker Integration
2 participants