Skip to content

Commit 7e150e4

Browse files
Update dockercomposefiles with additional release notes changes in 2.12.0 release (#4464)
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
1 parent 46e7af4 commit 7e150e4

File tree

4 files changed

+73
-5
lines changed

4 files changed

+73
-5
lines changed

docker/release/dockercomposefiles/docker-compose-1.x.yml

100755100644
+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- discovery.seed_hosts=opensearch-node1,opensearch-node2
1111
- cluster.initial_master_nodes=opensearch-node1,opensearch-node2
1212
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
13-
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
13+
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
1414
ulimits:
1515
memlock:
1616
soft: -1
@@ -54,7 +54,7 @@ services:
5454
expose:
5555
- '5601'
5656
environment:
57-
OPENSEARCH_HOSTS: https://opensearch-node1:9200
57+
OPENSEARCH_HOSTS: '["https://opensearch-node1:9200","https://opensearch-node2:9200"]'
5858
networks:
5959
- opensearch-net
6060

docker/release/dockercomposefiles/docker-compose-2.x.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- discovery.seed_hosts=opensearch-node1,opensearch-node2
1111
- cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2
1212
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
13-
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
13+
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
1414
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_INITIAL_ADMIN_PASSWORD} # Sets the demo admin user password when using demo configuration, required for OpenSearch 2.12 and higher
1515
ulimits:
1616
memlock:
@@ -56,7 +56,7 @@ services:
5656
expose:
5757
- '5601'
5858
environment:
59-
OPENSEARCH_HOSTS: https://opensearch-node1:9200
59+
OPENSEARCH_HOSTS: '["https://opensearch-node1:9200","https://opensearch-node2:9200"]'
6060
networks:
6161
- opensearch-net
6262

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
version: '3'
3+
services:
4+
opensearch-node1:
5+
image: opensearchproject/opensearch:latest
6+
container_name: opensearch-node1
7+
environment:
8+
- cluster.name=opensearch-cluster
9+
- node.name=opensearch-node1
10+
- discovery.seed_hosts=opensearch-node1,opensearch-node2
11+
- cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2
12+
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
13+
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
14+
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_INITIAL_ADMIN_PASSWORD} # Sets the demo admin user password when using demo configuration, required for OpenSearch 2.12 and higher
15+
ulimits:
16+
memlock:
17+
soft: -1
18+
hard: -1
19+
nofile:
20+
soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems
21+
hard: 65536
22+
volumes:
23+
- opensearch-data1:/usr/share/opensearch/data
24+
ports:
25+
- 9200:9200
26+
- 9600:9600 # required for Performance Analyzer
27+
networks:
28+
- opensearch-net
29+
opensearch-node2:
30+
image: opensearchproject/opensearch:latest
31+
container_name: opensearch-node2
32+
environment:
33+
- cluster.name=opensearch-cluster
34+
- node.name=opensearch-node2
35+
- discovery.seed_hosts=opensearch-node1,opensearch-node2
36+
- cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2
37+
- bootstrap.memory_lock=true
38+
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m
39+
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_INITIAL_ADMIN_PASSWORD}
40+
ulimits:
41+
memlock:
42+
soft: -1
43+
hard: -1
44+
nofile:
45+
soft: 65536
46+
hard: 65536
47+
volumes:
48+
- opensearch-data2:/usr/share/opensearch/data
49+
networks:
50+
- opensearch-net
51+
opensearch-dashboards:
52+
image: opensearchproject/opensearch-dashboards:latest
53+
container_name: opensearch-dashboards
54+
ports:
55+
- 5601:5601
56+
expose:
57+
- '5601'
58+
environment:
59+
OPENSEARCH_HOSTS: '["https://opensearch-node1:9200","https://opensearch-node2:9200"]'
60+
networks:
61+
- opensearch-net
62+
63+
volumes:
64+
opensearch-data1:
65+
opensearch-data2:
66+
67+
networks:
68+
opensearch-net:

release-notes/opensearch-release-notes-2.12.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ OpenSearch 2.12.0 includes a number of features designed to increase performance
88
<ul>
99
<li>Integration with Apache Spark lets you analyze all of your operational data in a single place using OpenSearch in combination with Apache Spark. </li>
1010
<li>Conversational search is generally available, providing comprehensive functionality to build conversational experiences using OpenSearch’s lexical, vector, and hybrid search features.</li>
11-
<li>A new workflow engine lets you automate configurations for ML Commons resources, allowing you to set up machine learning resources to support AI use cases without the need to manually create resources or write custom scripts.</li>
1211
<li>New default processors for Amazon Bedrock text embedding connectors can reduce the effort required to build AI connectors.</li>
1312
<li>You can now represent long documents as multiple vectors in a nested field with built-in chunking, eliminating the need to build custom processing logic in order to query documents represented as vector chunks.</li>
1413
<li>Concurrent segment search is now generally available, giving you the option to query index segments in parallel at the shard level. This can deliver improved latency for many types of search queries.</li>
@@ -26,6 +25,7 @@ OpenSearch 2.12.0 includes a number of features designed to increase performance
2625
<li>The OpenSearch Assistant Toolkit helps developers build generative AI experiences inside of OpenSearch Dashboards. With integrated natural language processing and context-aware features, developers can use this toolkit to apply generative AI to create interactive user experiences and extract insights from OpenSearch data.</li>
2726
<li>A new agent framework added to ML Commons uses remote large language learning models (LLMs) for step-by-step problem-solving and can coordinate machine learning tools using LLMs. The framework includes a flow agent and a conversational agent in this release.</li>
2827
<li>Users can now query multiple clusters with cross-cluster monitors through the Alerting plugin.</li>
28+
<li>A new workflow engine lets you automate configurations for ML Commons resources, allowing you to set up machine learning resources to support AI use cases without the need to manually create resources or write custom scripts.</li>
2929
</ul>
3030

3131
<h2>DEPRECATION NOTICE</h2>

0 commit comments

Comments
 (0)