Tweak resources a little more
This commit is contained in:
parent
8cb60ff9b9
commit
1ba5772743
1 changed files with 10 additions and 10 deletions
|
|
@ -11,11 +11,11 @@ services:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: "0.3"
|
cpus: "0.6"
|
||||||
memory: 128M
|
memory: 32M
|
||||||
reservations:
|
reservations:
|
||||||
cpus: "0.3"
|
cpus: "0.2"
|
||||||
memory: 128M
|
memory: 32M
|
||||||
update_config:
|
update_config:
|
||||||
parallelism: 1
|
parallelism: 1
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
|
|
@ -40,10 +40,10 @@ services:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: "0.05"
|
cpus: "0.05"
|
||||||
memory: 16M
|
memory: 64M
|
||||||
reservations:
|
reservations:
|
||||||
cpus: "0.05"
|
cpus: "0.05"
|
||||||
memory: 16M
|
memory: 64M
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
window: 30s
|
window: 30s
|
||||||
|
|
@ -61,11 +61,11 @@ services:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: "0.15"
|
cpus: "0.1"
|
||||||
memory: 64M
|
memory: 32M
|
||||||
reservations:
|
reservations:
|
||||||
cpus: "0.15"
|
cpus: "0.1"
|
||||||
memory: 64M
|
memory: 32M
|
||||||
update_config:
|
update_config:
|
||||||
parallelism: 1
|
parallelism: 1
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue