From b4e569562ea5678d8190988429c852e56d654eec Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 31 Aug 2022 13:35:47 +0300 Subject: [PATCH] sprint --- .deploy/deploy-dev.yaml | 4 ++-- .deploy/deploy-prod.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.deploy/deploy-dev.yaml b/.deploy/deploy-dev.yaml index f23f5d5..d5ce7e5 100644 --- a/.deploy/deploy-dev.yaml +++ b/.deploy/deploy-dev.yaml @@ -48,6 +48,8 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: [node.role == manager] update_config: parallelism: 1 order: start-first @@ -89,8 +91,6 @@ services: environment: MINIO_ROOT_USER: minioadmin MINIO_ROOT_PASSWORD: $MINIO_PASSWORD_DEV - networks: - - infra-net ports: - "9000:9000" - "9001:9001" diff --git a/.deploy/deploy-prod.yaml b/.deploy/deploy-prod.yaml index e1445a9..8c27831 100644 --- a/.deploy/deploy-prod.yaml +++ b/.deploy/deploy-prod.yaml @@ -48,6 +48,8 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: [node.role == manager] update_config: parallelism: 1 order: start-first