Skip to content

Commit 77b8140

Browse files
committed
Minimum number of master nodes is now configurable.
1 parent e4f1e3d commit 77b8140

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/pires/docker-elasticsearch:2.3.5
1+
FROM quay.io/pires/docker-elasticsearch:2.3.5_1
22

33
MAINTAINER pjpires@gmail.com
44

elasticsearch.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ cloud:
2727
service: ${DISCOVERY_SERVICE}
2828
namespace: ${NAMESPACE}
2929
discovery:
30-
type: kubernetes
30+
type: kubernetes
31+
zen:
32+
minimum_master_nodes: ${NUMBER_OF_MASTERS}
3133

3234
index:
3335
number_of_shards: ${NUMBER_OF_SHARDS}

0 commit comments

Comments
 (0)