remove CPU limits

This commit is contained in:
Ștefan Talpalaru 2020-06-27 02:57:34 +02:00
parent 750964a91f
commit c46700f889
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
2 changed files with 0 additions and 4 deletions

View File

@ -20,9 +20,7 @@ beacon_node_metrics_port: 9200
beacon_node_rpc_port: 9900
# resource limits, mem in MB
beacon_node_cpu_limit: 0.80
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.6) | int }}'
beacon_node_cpu_reserve: 0.40
beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.4) | int }}'
# container restart policy

View File

@ -18,10 +18,8 @@
deploy:
resources:
limits:
cpus: '{{ beacon_node_cpu_limit | string }}'
memory: '{{ beacon_node_mem_limit }}M'
reservations:
cpus: '{{ beacon_node_cpu_reserve | string }}'
memory: '{{ beacon_node_mem_reserve }}M'
restart_policy:
condition: '{{ beacon_node_restart_ondition }}'