[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:
parent
2e60e831c0
commit
876fc5612a
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue