aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2024-11-28 21:46:00 +0100
committerBaptiste Jonglez <git@bitsofnetworks.org>2024-11-28 21:51:38 +0100
commit7ae8f05510105f2b808ca7f92baf2c871e1ab9b0 (patch)
tree26907d5637ead6c5bea35d61a1c54e3a0960e91f /cluster
parent070c7281c82c8abb9851a249a83fe568cd12b8f7 (diff)
downloadnixcfg-7ae8f05510105f2b808ca7f92baf2c871e1ab9b0.tar.gz
nixcfg-7ae8f05510105f2b808ca7f92baf2c871e1ab9b0.zip
prod: Move Raft server from neptune to corrin
Diffstat (limited to 'cluster')
-rw-r--r--cluster/prod/cluster.nix4
-rw-r--r--cluster/prod/node/concombre.nix1
-rw-r--r--cluster/prod/node/pamplemousse.nix1
3 files changed, 3 insertions, 3 deletions
diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix
index 7624121..533f2eb 100644
--- a/cluster/prod/cluster.nix
+++ b/cluster/prod/cluster.nix
@@ -120,9 +120,9 @@
# Bootstrap IPs for Consul cluster,
# these are IPs on the Wireguard overlay
services.consul.extraConfig.retry_join = [
- "10.83.1.1" # concombre
- "10.83.2.1" # dahlia
"10.83.3.1" # df-ykl
+ "10.83.4.2" # ananas
+ "10.83.6.1" # pamplemousse
];
deuxfleurs.adminAccounts = {
diff --git a/cluster/prod/node/concombre.nix b/cluster/prod/node/concombre.nix
index 9a9e456..acd2598 100644
--- a/cluster/prod/node/concombre.nix
+++ b/cluster/prod/node/concombre.nix
@@ -11,5 +11,4 @@
deuxfleurs.hostName = "concombre";
deuxfleurs.staticIPv4.address = "192.168.1.31";
deuxfleurs.staticIPv6.address = "2001:910:1204:1::31";
- deuxfleurs.isRaftServer = true;
}
diff --git a/cluster/prod/node/pamplemousse.nix b/cluster/prod/node/pamplemousse.nix
index 00ab784..61463c8 100644
--- a/cluster/prod/node/pamplemousse.nix
+++ b/cluster/prod/node/pamplemousse.nix
@@ -11,4 +11,5 @@
deuxfleurs.hostName = "pamplemousse";
deuxfleurs.staticIPv4.address = "192.168.5.201";
deuxfleurs.staticIPv6.address = "2001:912:1ac0:2200::201";
+ deuxfleurs.isRaftServer = true;
}