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

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

Note: This only impacts .monitoring* indices. Watcher indices currently still require a replica.

Original commit: elastic/x-pack-elasticsearch@6eb8a48a9f
This commit is contained in:
Chris Earle 2017-12-13 13:46:31 -05:00 committed by GitHub
parent 2e60e831c0
commit 876fc5612a
5 changed files with 10 additions and 5 deletions

View File

@ -4,7 +4,8 @@
"settings": {
"index": {
"number_of_shards": 1,
"number_of_replicas": 1,
"number_of_replicas": 0,
"auto_expand_replicas": "0-1",
"format": 6,
"codec": "best_compression"
}

View File

@ -3,7 +3,8 @@
"version": 7000001,
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 1,
"index.number_of_replicas": 0,
"index.auto_expand_replicas": "0-1",
"index.format": 6,
"index.codec": "best_compression"
},

View File

@ -3,7 +3,8 @@
"version": 7000001,
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 1,
"index.number_of_replicas": 0,
"index.auto_expand_replicas": "0-1",
"index.format": 6,
"index.codec": "best_compression"
},

View File

@ -3,7 +3,8 @@
"version": 7000001,
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 1,
"index.number_of_replicas": 0,
"index.auto_expand_replicas": "0-1",
"index.format": 6,
"index.codec": "best_compression"
},

View File

@ -3,7 +3,8 @@
"version": 7000001,
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 1,
"index.number_of_replicas": 0,
"index.auto_expand_replicas": "0-1",
"index.format": 6,
"index.codec": "best_compression"
},