From 03ecd58c55109a25955d9d963d1968ade0c42135 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sat, 12 Apr 2025 15:02:01 +0200 Subject: [PATCH] add a comment on how to put a node in maintenance mode --- cluster/prod/app/garage/deploy/garage.hcl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cluster/prod/app/garage/deploy/garage.hcl b/cluster/prod/app/garage/deploy/garage.hcl index e59da1f..f4ed1ce 100644 --- a/cluster/prod/app/garage/deploy/garage.hcl +++ b/cluster/prod/app/garage/deploy/garage.hcl @@ -23,6 +23,13 @@ job "garage" { } task "server" { + # V---- useful to operate a maintenance on one garage node + # do not forget to check that garage is fully healthy before + # constraint { + # attribute = "${attr.unique.hostname}" + # operator = "!=" + # value = "pamplemousse" + # } driver = "docker" config { image = "dxflrs/garage:v1.99.1-internal"