aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-06-12 13:41:42 +0200
committerAlex Auvolat <alex@adnab.me>2023-06-12 13:41:42 +0200
commit3e40bfcca9a11f9684442d11dc8c4128fd4a1ca0 (patch)
treec4e71c81961b8c4c1f1b3f30bd445dec4b46ffe3 /cluster/prod/app
parente06d6b14a318fcaa737f9c61aa8eecd24eecd2c0 (diff)
downloadnixcfg-3e40bfcca9a11f9684442d11dc8c4128fd4a1ca0.tar.gz
nixcfg-3e40bfcca9a11f9684442d11dc8c4128fd4a1ca0.zip
add stolon replica on abricot instead of diplotaxis
Diffstat (limited to 'cluster/prod/app')
-rw-r--r--cluster/prod/app/postgres/deploy/postgres.hcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster/prod/app/postgres/deploy/postgres.hcl b/cluster/prod/app/postgres/deploy/postgres.hcl
index e8825a1..c043d70 100644
--- a/cluster/prod/app/postgres/deploy/postgres.hcl
+++ b/cluster/prod/app/postgres/deploy/postgres.hcl
@@ -1,5 +1,5 @@
job "postgres14" {
- datacenters = ["orion", "neptune", "bespin"]
+ datacenters = ["orion", "neptune", "bespin", "scorpio"]
type = "system"
priority = 90
@@ -20,7 +20,7 @@ job "postgres14" {
attribute = "${attr.unique.hostname}"
operator = "set_contains_any"
# target: courgette,df-ymf,abricot (or ananas)
- value = "diplotaxis,courgette,concombre,df-ymf"
+ value = "courgette,concombre,df-ymf,abricot"
}
restart {