[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:
parent
02129beec4
commit
01f5318642
|
@ -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": {
|
||||||
|
|
|
@ -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
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue