summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/templates
diff options
context:
space:
mode:
authorLukáš Vlček <lukas.vlcek@gmail.com>2017-03-07 15:54:52 +0100
committerLukáš Vlček <lukas.vlcek@gmail.com>2017-03-23 16:28:40 +0100
commit9460defa2c2764b279322efb88a65149416683f5 (patch)
treef2c6a45c44f86b2954b74f9872ac4a9494e54216 /roles/openshift_logging/templates
parentadbf60c2d5a63d33e2a6d52d043124ad0058a0e1 (diff)
downloadopenshift-9460defa2c2764b279322efb88a65149416683f5.tar.gz
openshift-9460defa2c2764b279322efb88a65149416683f5.tar.bz2
openshift-9460defa2c2764b279322efb88a65149416683f5.tar.xz
openshift-9460defa2c2764b279322efb88a65149416683f5.zip
Do not use auto_expand_replicas
Diffstat (limited to 'roles/openshift_logging/templates')
-rw-r--r--roles/openshift_logging/templates/elasticsearch.yml.j25
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/openshift_logging/templates/elasticsearch.yml.j2 b/roles/openshift_logging/templates/elasticsearch.yml.j2
index a030c26b5..3b9558685 100644
--- a/roles/openshift_logging/templates/elasticsearch.yml.j2
+++ b/roles/openshift_logging/templates/elasticsearch.yml.j2
@@ -6,9 +6,8 @@ script:
indexed: on
index:
- number_of_shards: 1
- number_of_replicas: 0
- auto_expand_replicas: 0-2
+ 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