aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilien <me@mricher.fr>2024-12-01 10:21:49 +0000
committermaximilien <me@mricher.fr>2024-12-01 10:21:49 +0000
commite87942dad3ddcd0bca222c96d8ae4c99265b382e (patch)
tree9863cd52897bc1cd51c06dc570a15b3cd3a98cd2
parent0b911436ad46b61bbc68b06810f7564036779b23 (diff)
parenta162754fb10c4a145d902621a78c087175591771 (diff)
downloadnixcfg-e87942dad3ddcd0bca222c96d8ae4c99265b382e.tar.gz
nixcfg-e87942dad3ddcd0bca222c96d8ae4c99265b382e.zip
Merge pull request 'Deploy new postgres replica on pasteque@corrin' (#46) from migration-neptune into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/nixcfg/pulls/46
-rw-r--r--cluster/prod/app/postgres/deploy/postgres.hcl5
1 files changed, 2 insertions, 3 deletions
diff --git a/cluster/prod/app/postgres/deploy/postgres.hcl b/cluster/prod/app/postgres/deploy/postgres.hcl
index a42d57e..424a993 100644
--- a/cluster/prod/app/postgres/deploy/postgres.hcl
+++ b/cluster/prod/app/postgres/deploy/postgres.hcl
@@ -1,5 +1,5 @@
job "postgres14" {
- datacenters = ["neptune", "bespin", "scorpio"]
+ datacenters = ["neptune", "bespin", "scorpio", "corrin"]
type = "system"
priority = 90
@@ -19,8 +19,7 @@ job "postgres14" {
constraint {
attribute = "${attr.unique.hostname}"
operator = "set_contains_any"
- value = "courgette,df-ymf,abricot"
- # old (orion) = diplotaxis
+ value = "courgette,df-ymf,abricot,pasteque"
}
restart {