diff --git a/cluster/prod/app/garage/deploy/garage.hcl b/cluster/prod/app/garage/deploy/garage.hcl index f2a9347..ca2481b 100644 --- a/cluster/prod/app/garage/deploy/garage.hcl +++ b/cluster/prod/app/garage/deploy/garage.hcl @@ -3,11 +3,6 @@ job "garage" { type = "system" priority = 80 - update { - max_parallel = 2 - min_healthy_time = "60s" - } - group "garage" { network { port "s3" { static = 3900 } @@ -18,7 +13,11 @@ job "garage" { } update { - max_parallel = 10 + # When upgrading the service, stop and upgrade nodes one by one. + # This should allow performing minor upgrades without downtime. + # (A higher value for max_parallel would risk stopping nodes in different + # zones at the same time, which would make the cluster unavailable) + max_parallel = 1 min_healthy_time = "30s" healthy_deadline = "5m" } @@ -26,7 +25,7 @@ job "garage" { task "server" { driver = "docker" config { - image = "superboum/garage:v1.0.0-rc1-hotfix-red-ftr-wquorum" + image = "dxflrs/garage:v1.99.1-internal" command = "/garage" args = [ "server" ] network_mode = "host"