|
@@ -6,8 +6,8 @@ script:
|
|
|
indexed: on
|
|
|
|
|
|
index:
|
|
|
- number_of_shards: 1
|
|
|
- number_of_replicas: 0
|
|
|
+ number_of_shards: {{ es_number_of_shards | default ('1') }}
|
|
|
+ number_of_replicas: {{ es_number_of_replicas | default ('0') }}
|
|
|
unassigned.node_left.delayed_timeout: 2m
|
|
|
translog:
|
|
|
flush_threshold_size: 256mb
|
|
@@ -28,11 +28,10 @@ cloud:
|
|
|
discovery:
|
|
|
type: kubernetes
|
|
|
zen.ping.multicast.enabled: false
|
|
|
- zen.minimum_master_nodes: {{es_min_masters}}
|
|
|
+ zen.minimum_master_nodes: ${NODE_QUORUM}
|
|
|
|
|
|
gateway:
|
|
|
- expected_master_nodes: ${NODE_QUORUM}
|
|
|
- recover_after_nodes: ${RECOVER_AFTER_NODES}
|
|
|
+ recover_after_nodes: ${NODE_QUORUM}
|
|
|
expected_nodes: ${RECOVER_EXPECTED_NODES}
|
|
|
recover_after_time: ${RECOVER_AFTER_TIME}
|
|
|
|
|
@@ -49,7 +48,7 @@ openshift.searchguard:
|
|
|
keystore.path: /etc/elasticsearch/secret/admin.jks
|
|
|
truststore.path: /etc/elasticsearch/secret/searchguard.truststore
|
|
|
|
|
|
-openshift.operations.allow_cluster_reader: {{allow_cluster_reader | default ('false')}}
|
|
|
+openshift.operations.allow_cluster_reader: {{allow_cluster_reader | default (false)}}
|
|
|
|
|
|
path:
|
|
|
data: /elasticsearch/persistent/${CLUSTER_NAME}/data
|