Skip to content

Commit 842a432

Browse files
committed
consistent versions
Signed-off-by: chrislai <[email protected]>
1 parent 4b494cc commit 842a432

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

docs/tutorials/agent_tracing/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3'
22
services:
33
opensearch-node1:
4-
image: opensearchproject/opensearch:3.1.0
4+
image: opensearchproject/opensearch:3.1.0 # NOTE: Ensure versions are consistent across all OpenSearch services (OpenSearch, Dashboards, plugins)
55
container_name: opensearch-node1
66
environment:
77
- cluster.name=opensearch-cluster
@@ -33,7 +33,7 @@ services:
3333
bash -c "
3434
bin/opensearch-plugin remove opensearch-skills;
3535
bin/opensearch-plugin remove opensearch-ml;
36-
bin/opensearch-plugin install --batch telemetry-otel --batch file:///usr/share/opensearch/<YOUR_NAME>/opensearch-ml-3.1.0.0-SNAPSHOT.zip;
36+
bin/opensearch-plugin install --batch telemetry-otel --batch file:///usr/share/opensearch/<YOUR_NAME>/opensearch-ml-3.1.0.0-SNAPSHOT.zip;
3737
OPENSEARCH_LOG4J_CONFIG_FILE=/usr/share/opensearch/config/telemetry-log4j2.xml ./opensearch-docker-entrypoint.sh opensearch"
3838
ports:
3939
- 9200:9200
@@ -46,7 +46,7 @@ services:
4646
- "localhost:172.17.0.1" # This maps localhost to the Docker host IP
4747

4848
opensearch-dashboards:
49-
image: opensearchproject/opensearch-dashboards:3.1.0
49+
image: opensearchproject/opensearch-dashboards:3.1.0 # Must match OpenSearch version
5050
container_name: opensearch-dashboards
5151
ports:
5252
- 5601:5601

docs/tutorials/agent_tracing/setup_agent_tracing_and_visualization.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ The [`docker-compose.yml`](docker-compose.yml) file orchestrates all the service
3434
**⚠️ Development Configuration**: The configuration files in this tutorial use `ssl: false` and basic authentication for development simplicity. For production use, you must configure proper TLS certificates and security settings.
3535

3636
### Key Points
37+
- **Version Consistency:**
38+
- Ensure all OpenSearch services use the same version (e.g., 3.1.0 for OpenSearch, Dashboards, and plugins)
39+
- Version mismatches can cause compatibility issues and unexpected behavior
3740
- **Volume Mounts:**
3841
- Data Prepper expects its configuration files to be mounted directly to `/usr/share/data-prepper/config/data-prepper-config.yaml` and `/usr/share/data-prepper/pipelines/pipelines.yaml` inside the container.
3942
- Incorrect mount paths (such as mounting into subdirectories) will cause Data Prepper to fail to start.

0 commit comments

Comments
 (0)