From 6a5a9a1a75f140c8a42fe4e74e32e5d350612a1b Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Mon, 31 Jul 2023 06:04:19 +0000 Subject: [PATCH] Update deploy-prod.yaml --- .deploy/deploy-prod.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.deploy/deploy-prod.yaml b/.deploy/deploy-prod.yaml index 0895ec6..62d65d9 100644 --- a/.deploy/deploy-prod.yaml +++ b/.deploy/deploy-prod.yaml @@ -15,6 +15,10 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: + - node.role == worker + - node.labels.zone == ru update_config: parallelism: 1 order: start-first @@ -31,6 +35,10 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: + - node.role == worker + - node.labels.zone == ru update_config: parallelism: 1 order: start-first @@ -47,6 +55,10 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: + - node.role == worker + - node.labels.zone == ru update_config: parallelism: 1 order: start-first @@ -65,10 +77,14 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: + - node.role == worker + - node.labels.zone == ru update_config: parallelism: 1 order: start-first networks: common-infra-nginx: - external: true \ No newline at end of file + external: true