couchbase resource limits
This commit is contained in:
parent
16f770cc47
commit
35ab51ac7b
|
@ -39,6 +39,16 @@ open_asfa_couchbase_connect_string: "couchbase://couchbase"
|
||||||
open_asfa_couchbase_username: "Administrator"
|
open_asfa_couchbase_username: "Administrator"
|
||||||
# open_asfa_couchbase_password: "use a vault"
|
# open_asfa_couchbase_password: "use a vault"
|
||||||
open_asfa_couchbase_bucket: "harvester"
|
open_asfa_couchbase_bucket: "harvester"
|
||||||
|
# resource limits
|
||||||
|
# cpus: '4.00'
|
||||||
|
# memory: 8192M
|
||||||
|
# resource reservations:
|
||||||
|
# cpus: '2.00'
|
||||||
|
# memory: 4096M
|
||||||
|
open_asfa_couchbase_cpu_limit: "4.00"
|
||||||
|
open_asfa_couchbase_cpu_reservation: "2.00"
|
||||||
|
open_asfa_couchbase_memory_limit: "8192M"
|
||||||
|
open_asfa_couchbase_memory_reservation: "4096M"
|
||||||
|
|
||||||
open_asfa_geoname_key: lucatest
|
open_asfa_geoname_key: lucatest
|
||||||
open_asfa_agrovoc_url: "https://agrovoc.fao.org/"
|
open_asfa_agrovoc_url: "https://agrovoc.fao.org/"
|
||||||
|
|
|
@ -36,5 +36,12 @@ services:
|
||||||
delay: 5s
|
delay: 5s
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
window: 120s
|
window: 120s
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '{{ open_asfa_couchbase_cpu_limit }}'
|
||||||
|
memory: {{ open_asfa_couchbase_memory_limit }}
|
||||||
|
reservations:
|
||||||
|
cpus: '{{ open_asfa_couchbase_cpu_reservation }}'
|
||||||
|
memory: {{ open_asfa_couchbase_memory_reservation }}
|
||||||
logging:
|
logging:
|
||||||
driver: 'journald'
|
driver: 'journald'
|
||||||
|
|
Loading…
Reference in New Issue