Skip to content

Commit c186af0

Browse files
[Tracker] #1362816 - Prevent ism index to be created with 1 replica
1 parent 7c409de commit c186af0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ services:
176176
- plugins.ml_commons.native_memory_threshold=100 # Prevent memory issue after multiple deploy (https://github.com/opensearch-project/ml-commons/issues/2308)
177177
- plugins.ml_commons.jvm_heap_memory_threshold=100 # Prevent memory issue after multiple deploy (https://github.com/opensearch-project/ml-commons/issues/2308)
178178
- plugins.security.audit.type=debug # https://github.com/opensearch-project/security/issues/3130
179+
# To prevent a yellow cluster status caused by system indices that store ISM policies and index templates:
180+
- opendistro.index_state_management.history.number_of_replicas=0 # Prevent OpenSearch from requiring replicas for system indices in single-node mode. https://github.com/opensearch-project/security/issues/4739
181+
- plugins.index_state_management.history.number_of_replicas=0 # Prevent OpenSearch from requiring replicas for system indices in single-node mode. https://github.com/opensearch-project/security/issues/4739
179182
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_ADMIN_PASSWORD:-!ChangeMe0!}
180183
volumes:
181184
- os2_data:/usr/share/opensearch/data:rw

0 commit comments

Comments
 (0)