From 983f428171fc34a02a615cb4f4dad9ce6574fa4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Mon, 22 Jun 2020 18:15:06 +0200 Subject: [PATCH] prepare to run 2 containers instead of 4 per server --- defaults/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 5fb5736..d18033d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -20,10 +20,10 @@ beacon_node_metrics_port: 9200 beacon_node_rpc_port: 9900 # resource limits, mem in MB -beacon_node_cpu_limit: 0.60 +beacon_node_cpu_limit: 0.80 beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.6) | int }}' -beacon_node_cpu_reserve: 0.20 -beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.2) | int }}' +beacon_node_cpu_reserve: 0.40 +beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.4) | int }}' # container restart policy beacon_node_restart_ondition: 'on-failure'