File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff 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:
You can’t perform that action at this time.
0 commit comments