Skip to content

Commit d689607

Browse files
committed
Merge remote-tracking branch 'upstream/main' into monitoring-rolling-config-update
2 parents a47b212 + 3e60c63 commit d689607

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

services/portainer/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ ${TEMP_COMPOSE}-aws: docker-compose.yml docker-compose.aws.yml .env
9595
secrets: .env ## Construct secrets for portainer pwd, to change pwd it need to be done manually https://git.speag.com/oSparc/osparc-ops-deployment-configuration/-/wikis/Update-Portainer-Password
9696
@if [ -z $(IS_PORTAINER_SERVICE_RUNNING) ]; then\
9797
echo "Setting portainer_admin_password (can only set but not update password!)" \
98+
&& echo "To update password follow https://portal.portainer.io/knowledge/how-do-i-reset-my-portainer-password" \
9899
&& docker secret rm portainer_admin_password 2>/dev/null; \
99100
set -o allexport; source .env; set +o allexport; \
100101
echo -n "$${PORTAINER_ADMIN_PWD}" | docker secret create portainer_admin_password - 2>/dev/null; \

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)