Skip to content

Commit

Permalink
logs.nimbus: drop ES replicas down to 0 to save space
Browse files Browse the repository at this point in the history
#81

Signed-off-by: Jakub Sokołowski <jakub@status.im>
  • Loading branch information
jakubgs committed Feb 9, 2022
1 parent fbb1ee6 commit 0398c31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ansible/group_vars/logs.nimbus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0398c31

Please sign in to comment.