summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/tasks
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/tasks
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/tasks')
-rw-r--r--roles/openshift_logging/tasks/install_elasticsearch.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_logging/tasks/install_elasticsearch.yaml b/roles/openshift_logging/tasks/install_elasticsearch.yaml
index 1b750bcbe..28fad420b 100644
--- a/roles/openshift_logging/tasks/install_elasticsearch.yaml
+++ b/roles/openshift_logging/tasks/install_elasticsearch.yaml
@@ -53,6 +53,8 @@
deploy_name: "{{item.1}}"
es_node_selector: "{{openshift_logging_es_nodeselector | default({}) }}"
es_storage: "{{openshift_logging_facts|es_storage(deploy_name, pvc_claim)}}"
+ es_number_of_shards: "{{ openshift_logging_es_number_of_shards }}"
+ es_number_of_replicas: "{{ openshift_logging_es_number_of_replicas }}"
with_indexed_items:
- "{{ es_dc_pool }}"
check_mode: no
@@ -134,6 +136,8 @@
openshift_logging_es_recover_after_time: "{{openshift_logging_es_ops_recover_after_time}}"
es_node_selector: "{{openshift_logging_es_ops_nodeselector | default({}) }}"
es_storage: "{{openshift_logging_facts|es_storage(deploy_name, pvc_claim,root='elasticsearch_ops')}}"
+ es_number_of_shards: "{{ openshift_logging_es_ops_number_of_shards }}"
+ es_number_of_replicas: "{{ openshift_logging_es_ops_number_of_replicas }}"
with_indexed_items:
- "{{ es_ops_dc_pool | default([]) }}"
when: