logs.nimbus: drop ES replicas down to 0 to save space

https://github.com/status-im/infra-nimbus/issues/81

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-02-09 18:43:23 +01:00
parent fbb1ee69d9
commit 0398c31ad9
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931

View File

@ -28,10 +28,11 @@ es_image: 'elasticsearch:7.14.2'
es_api_port: 9200
es_node_port: 9300
# Since Logstash stores 1 index per day this is fine
# Since Logstash stores 1 index per day this is fine.
# See: https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster
es_number_of_replicas: 1
es_number_of_shards: 3
# Since Nimbus logs are low-value we don't need replicas.
es_number_of_replicas: 0
# JVM memory settings
es_jvm_mem_ratio: 0.8