remove CPU limits
This commit is contained in:
parent
750964a91f
commit
c46700f889
|
@ -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
|
||||
|
|
|
@ -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 }}'
|
||||
|
|
Loading…
Reference in New Issue