summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/templates
diff options
context:
space:
mode:
authorJeff Cantrill <jcantril@redhat.com>2017-03-22 10:00:48 -0400
committerJeff Cantrill <jcantril@redhat.com>2017-03-22 10:01:11 -0400
commitf38eef42dcaf32402aec95c0da2fb4e0f7e5dfd5 (patch)
treee2519c4ccf43b3dcb3f462090f92f10aa89016e3 /roles/openshift_logging/templates
parent72dc9f4fdc014ccb72db92dd2d1e4135bad49af9 (diff)
downloadopenshift-f38eef42dcaf32402aec95c0da2fb4e0f7e5dfd5.tar.gz
openshift-f38eef42dcaf32402aec95c0da2fb4e0f7e5dfd5.tar.bz2
openshift-f38eef42dcaf32402aec95c0da2fb4e0f7e5dfd5.tar.xz
openshift-f38eef42dcaf32402aec95c0da2fb4e0f7e5dfd5.zip
openshift_logging calculate min_masters to fail early on split brain
Diffstat (limited to 'roles/openshift_logging/templates')
-rw-r--r--roles/openshift_logging/templates/elasticsearch.yml.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_logging/templates/elasticsearch.yml.j2 b/roles/openshift_logging/templates/elasticsearch.yml.j2
index 21708dc12..a030c26b5 100644
--- a/roles/openshift_logging/templates/elasticsearch.yml.j2
+++ b/roles/openshift_logging/templates/elasticsearch.yml.j2
@@ -29,6 +29,7 @@ cloud:
discovery:
type: kubernetes
zen.ping.multicast.enabled: false
+ zen.minimum_master_nodes: {{es_min_masters}}
gateway:
expected_master_nodes: ${NODE_QUORUM}