-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating CCR telemetry device for OpenSearch.
Signed-off-by: Ankit Kala <[email protected]>
- Loading branch information
Showing
7 changed files
with
673 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Creates an Opensearch cluster to publish the Opensearch Benchmark metrics. | ||
version: '3' | ||
services: | ||
metricstore-node: | ||
image: opensearchproject/opensearch:latest | ||
container_name: metricstore-node | ||
environment: | ||
- cluster.name=opensearch-metricstore-cluster | ||
- node.name=metricstore-node | ||
- discovery.seed_hosts=metricstore-node | ||
- cluster.initial_master_nodes=metricstore-node | ||
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping | ||
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM | ||
ulimits: | ||
memlock: | ||
soft: -1 | ||
hard: -1 | ||
nofile: | ||
soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems | ||
hard: 65536 | ||
volumes: | ||
- metricstore-volume:/usr/share/opensearch/data | ||
|
||
ports: | ||
- 9209:9200 | ||
networks: | ||
- opensearch-net-metrics | ||
opensearch-dashboards: | ||
image: opensearchproject/opensearch-dashboards:latest | ||
container_name: opensearch-dashboards | ||
ports: | ||
- 5601:5601 | ||
expose: | ||
- "5601" | ||
environment: | ||
OPENSEARCH_HOSTS: '["https://metricstore-node:9200"]' | ||
networks: | ||
- opensearch-net-metrics | ||
|
||
volumes: | ||
metricstore-volume: | ||
|
||
networks: | ||
opensearch-net-metrics: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Creates 2 single node Opensearch cluster(one leader and one follower). Leader cluster is used for ingesting the data which is then | ||
# replicated to the follower cluster. | ||
version: '3' | ||
services: | ||
leader-cluster: | ||
image: opensearchproject/opensearch:latest | ||
container_name: leader-cluster | ||
environment: | ||
- cluster.name=leader-cluster | ||
- node.name=leader-node | ||
- discovery.seed_hosts=leader-node | ||
- cluster.initial_master_nodes=leader-node | ||
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping | ||
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM | ||
ulimits: | ||
memlock: | ||
soft: -1 | ||
hard: -1 | ||
nofile: | ||
soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems | ||
hard: 65536 | ||
volumes: | ||
- leader-node-volume:/usr/share/opensearch/data | ||
ports: | ||
- 9200:9200 | ||
- 9300:9300 # required for Performance Analyzer | ||
networks: | ||
- opensearch-net | ||
follower-cluster: | ||
image: opensearchproject/opensearch:latest | ||
container_name: follower-cluster | ||
environment: | ||
- cluster.name=follower-cluster | ||
- node.name=follower-node | ||
- discovery.seed_hosts=follower-node | ||
- cluster.initial_master_nodes=follower-node | ||
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping | ||
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM | ||
ulimits: | ||
memlock: | ||
soft: -1 | ||
hard: -1 | ||
nofile: | ||
soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems | ||
hard: 65536 | ||
volumes: | ||
- follower-node-volume:/usr/share/opensearch/data | ||
ports: | ||
- 9201:9200 | ||
- 9301:9300 # required for Performance Analyzer | ||
networks: | ||
- opensearch-net | ||
|
||
volumes: | ||
leader-node-volume: | ||
follower-node-volume: | ||
|
||
networks: | ||
opensearch-net: |
Oops, something went wrong.