From f3c832065acc00cbde1fe7247864a5be039b7f9d Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Tue, 7 Jan 2025 02:26:28 +0300 Subject: [PATCH] fix --- .deploy/deploy-dev.yaml | 2 ++ .deploy/deploy-prod.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.deploy/deploy-dev.yaml b/.deploy/deploy-dev.yaml index 80e0af2..81fabf6 100644 --- a/.deploy/deploy-dev.yaml +++ b/.deploy/deploy-dev.yaml @@ -13,6 +13,8 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: [node.labels.stage == development] update_config: parallelism: 1 order: start-first diff --git a/.deploy/deploy-prod.yaml b/.deploy/deploy-prod.yaml index 1e94afa..60d8d2a 100644 --- a/.deploy/deploy-prod.yaml +++ b/.deploy/deploy-prod.yaml @@ -13,6 +13,8 @@ services: mode: replicated restart_policy: condition: any + placement: + constraints: [node.labels.stage == production] update_config: parallelism: 1 order: start-first