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
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.3"
|
||||
memory: 128M
|
||||
cpus: "0.6"
|
||||
memory: 32M
|
||||
reservations:
|
||||
cpus: "0.3"
|
||||
memory: 128M
|
||||
cpus: "0.2"
|
||||
memory: 32M
|
||||
update_config:
|
||||
parallelism: 1
|
||||
failure_action: rollback
|
||||
|
|
@ -40,10 +40,10 @@ services:
|
|||
resources:
|
||||
limits:
|
||||
cpus: "0.05"
|
||||
memory: 16M
|
||||
memory: 64M
|
||||
reservations:
|
||||
cpus: "0.05"
|
||||
memory: 16M
|
||||
memory: 64M
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
window: 30s
|
||||
|
|
@ -61,11 +61,11 @@ services:
|
|||
replicas: 2
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.15"
|
||||
memory: 64M
|
||||
cpus: "0.1"
|
||||
memory: 32M
|
||||
reservations:
|
||||
cpus: "0.15"
|
||||
memory: 64M
|
||||
cpus: "0.1"
|
||||
memory: 32M
|
||||
update_config:
|
||||
parallelism: 1
|
||||
failure_action: rollback
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue