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