Skip to content

Commit bd88ad4

Browse files
authored
Add sto-worker-cpu-bound service (#1023)
* Add sto-worker-cpu-bound service Related PR(s): * ITISFoundation/osparc-simcore#7471 * https://git.speag.com/oSparc/osparc-ops-deployment-configuration/-/merge_requests/1362 * Bump memory limit Based on experiment data (we saw 600MB memory usage uploading 2 files)
1 parent ce7fc05 commit bd88ad4

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

services/simcore/docker-compose.yml.j2

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,9 @@ services:
382382
deploy:
383383
replicas: ${SIMCORE_STO_WORKER_REPLICAS}
384384
update_config:
385-
parallelism: 2
385+
parallelism: 1
386386
order: start-first
387-
failure_action: continue
387+
failure_action: rollback
388388
delay: 10s
389389
placement:
390390
constraints:
@@ -397,6 +397,27 @@ services:
397397
cpus: "1"
398398
memory: "700M"
399399
400+
sto-worker-cpu-bound:
401+
networks:
402+
- monitored
403+
deploy:
404+
replicas: ${SIMCORE_STO_WORKER_CPU_BOUND_REPLICAS}
405+
update_config:
406+
parallelism: 1
407+
order: start-first
408+
failure_action: rollback
409+
delay: 10s
410+
placement:
411+
constraints:
412+
- node.labels.simcore==true
413+
resources:
414+
reservations:
415+
cpus: "0.1"
416+
memory: "200M"
417+
limits:
418+
cpus: "1"
419+
memory: "1G"
420+
400421
director:
401422
# Certificate necessary for local deploiement only
402423
#secrets:

0 commit comments

Comments
 (0)