From 0398c31ad970347cd5b56389168fd7bf45796405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 9 Feb 2022 18:43:23 +0100 Subject: [PATCH] logs.nimbus: drop ES replicas down to 0 to save space MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/status-im/infra-nimbus/issues/81 Signed-off-by: Jakub SokoĊ‚owski --- ansible/group_vars/logs.nimbus.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ansible/group_vars/logs.nimbus.yml b/ansible/group_vars/logs.nimbus.yml index 78531ba..4dcd174 100644 --- a/ansible/group_vars/logs.nimbus.yml +++ b/ansible/group_vars/logs.nimbus.yml @@ -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