From 8c0c86299aa4fc2f0f7e71f430fc8aafdf40afd6 Mon Sep 17 00:00:00 2001 From: Yury Hrytsuk <50014626+YuryHrytsuk@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:39:15 +0200 Subject: [PATCH] Remove R_CLONE_ENABLED and make clusters-keeper 0 replicas (#370) --- services/simcore/docker-compose.deploy.aws.yml | 3 +++ services/simcore/docker-compose.yml | 2 +- services/simcore/template.env | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/services/simcore/docker-compose.deploy.aws.yml b/services/simcore/docker-compose.deploy.aws.yml index 0811ebcc..8c17247a 100644 --- a/services/simcore/docker-compose.deploy.aws.yml +++ b/services/simcore/docker-compose.deploy.aws.yml @@ -7,6 +7,9 @@ services: placement: constraints: - node.role == worker + clusters-keeper: + deploy: + replicas: 1 resource-usage-tracker: deploy: replicas: 3 diff --git a/services/simcore/docker-compose.yml b/services/simcore/docker-compose.yml index 48158a7d..1889fc5d 100644 --- a/services/simcore/docker-compose.yml +++ b/services/simcore/docker-compose.yml @@ -25,6 +25,7 @@ services: - RABBIT_USER=${RABBIT_USER} deploy: labels: [] + replicas: 0 update_config: parallelism: 2 order: start-first @@ -403,7 +404,6 @@ services: - S3_SECRET_KEY=${S3_SECRET_KEY} - S3_SECURE=${S3_SECURE} - R_CLONE_PROVIDER=${R_CLONE_PROVIDER} - - R_CLONE_ENABLED=${R_CLONE_ENABLED} - DYNAMIC_SIDECAR_LOG_LEVEL=${DYNAMIC_SIDECAR_LOG_LEVEL} - DIRECTOR_V2_LOGLEVEL=${DIRECTOR_V2_LOGLEVEL} # needed to pass the self-signed certificate to the spawned services diff --git a/services/simcore/template.env b/services/simcore/template.env index 6c278f04..6b72d93c 100644 --- a/services/simcore/template.env +++ b/services/simcore/template.env @@ -107,7 +107,6 @@ RABBIT_PORT=${RABBIT_PORT} RABBIT_USER=${RABBIT_USER} RABBIT_SECURE=${RABBIT_SECURE} -R_CLONE_ENABLED=${R_CLONE_ENABLED} R_CLONE_PROVIDER=${R_CLONE_PROVIDER} R_CLONE_VFS_CACHE_MODE=${R_CLONE_VFS_CACHE_MODE}