[Watcher] Use index.auto_expand_replicas: 0-1 (elastic/x-pack-elasticsearch#3284)

This changes the default behavior of .watch* indices to be green on one-node clusters, instead of constantly yellow.

Original commit: elastic/x-pack-elasticsearch@cdaee7cd72
This commit is contained in:
Chris Earle 2017-12-15 18:32:34 -05:00 committed by GitHub
parent 02129beec4
commit 01f5318642
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,8 @@
"settings": { "settings": {
"xpack.watcher.template.version": "${xpack.watcher.template.version}", "xpack.watcher.template.version": "${xpack.watcher.template.version}",
"index.number_of_shards": 1, "index.number_of_shards": 1,
"index.number_of_replicas": 0,
"index.auto_expand_replicas": "0-1",
"index.format": 6 "index.format": 6
}, },
"mappings": { "mappings": {

View File

@ -3,6 +3,8 @@
"order": 2147483647, "order": 2147483647,
"settings": { "settings": {
"index.number_of_shards": 1, "index.number_of_shards": 1,
"index.number_of_replicas": 0,
"index.auto_expand_replicas": "0-1",
"index.format": 6, "index.format": 6,
"index.priority": 800 "index.priority": 800
}, },