From 59bc677f0d2d7012b70972746cb58e6cfd871daf Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Mon, 31 Jul 2023 06:19:20 +0000 Subject: [PATCH] Update deploy-prod.yaml --- .deploy/deploy-prod.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.deploy/deploy-prod.yaml b/.deploy/deploy-prod.yaml index 15314c8..7dd5055 100644 --- a/.deploy/deploy-prod.yaml +++ b/.deploy/deploy-prod.yaml @@ -12,6 +12,10 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: + - node.role == worker + - node.labels.zone == ru update_config: parallelism: 1 order: start-first @@ -29,6 +33,10 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: + - node.role == worker + - node.labels.zone == ru update_config: parallelism: 1 order: start-first @@ -44,6 +52,10 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: + - node.role == worker + - node.labels.zone == ru update_config: parallelism: 1 order: start-first