Single Node Clusters and Cluster Status


I have a test cluster comprised of a single node for performance baselining. I have replicas set to 0 and shard count set to 4. However, as soon as data gets indexed the cluster goes into a yellow state.

is it possible to get cluster health to green when running as a single node?


(David Pilato) #2

It should stay green when number of replicas is 0 for all indices.


Ok, well it's going yellow when kibana writes its index. The index is getting created with replicas set to 1 how do I change this behaviour?

(David Pilato) #4

You can update on a live index the number of replicas

(Mark Walkom) #5

curl -XPUT localhost:9200/*/_settings -d '{ "index" : { "number_of_replicas" : 0 } }' is what I usually use on my laptop.

(system) #6