From 3df47c8440a3b5645733184f72cc4c2f1a46587f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 4 May 2022 17:38:54 +0200 Subject: Configuration for prod to run on Wesher & other new stuff --- cluster/prod/node/celeri.nix | 14 ++------------ cluster/prod/node/concombre.nix | 14 ++------------ cluster/prod/node/courgette.nix | 14 ++------------ 3 files changed, 6 insertions(+), 36 deletions(-) (limited to 'cluster/prod/node') diff --git a/cluster/prod/node/celeri.nix b/cluster/prod/node/celeri.nix index 02a33c9..9317de4 100644 --- a/cluster/prod/node/celeri.nix +++ b/cluster/prod/node/celeri.nix @@ -12,18 +12,8 @@ deuxfleurs.network_interface = "eno1"; deuxfleurs.lan_ip = "192.168.1.33"; + deuxfleurs.ipv6 = "2a01:e0a:c:a720::33"; - networking.interfaces.eno1.ipv6.addresses = [ - { - address = "2a01:e0a:c:a720::33"; - prefixLength = 64; - } - ]; - - deuxfleurs.vpn_ip = "10.42.1.33"; - deuxfleurs.vpn_listen_port = 33733; + deuxfleurs.cluster_ip = "10.83.12.147"; deuxfleurs.is_raft_server = true; - - # Enable netdata monitoring - services.netdata.enable = true; } diff --git a/cluster/prod/node/concombre.nix b/cluster/prod/node/concombre.nix index 517dcf8..c38e89d 100644 --- a/cluster/prod/node/concombre.nix +++ b/cluster/prod/node/concombre.nix @@ -12,18 +12,8 @@ deuxfleurs.network_interface = "eno1"; deuxfleurs.lan_ip = "192.168.1.31"; + deuxfleurs.ipv6 = "2a01:e0a:c:a720::31"; - networking.interfaces.eno1.ipv6.addresses = [ - { - address = "2a01:e0a:c:a720::31"; - prefixLength = 64; - } - ]; - - deuxfleurs.vpn_ip = "10.42.1.31"; - deuxfleurs.vpn_listen_port = 33731; + deuxfleurs.cluster_ip = "10.83.101.43"; deuxfleurs.is_raft_server = true; - - # Enable netdata monitoring - services.netdata.enable = true; } diff --git a/cluster/prod/node/courgette.nix b/cluster/prod/node/courgette.nix index d34e7a5..d31af77 100644 --- a/cluster/prod/node/courgette.nix +++ b/cluster/prod/node/courgette.nix @@ -12,18 +12,8 @@ deuxfleurs.network_interface = "eno1"; deuxfleurs.lan_ip = "192.168.1.32"; + deuxfleurs.ipv6 = "2a01:e0a:c:a720::32"; - networking.interfaces.eno1.ipv6.addresses = [ - { - address = "2a01:e0a:c:a720::32"; - prefixLength = 64; - } - ]; - - deuxfleurs.vpn_ip = "10.42.1.32"; - deuxfleurs.vpn_listen_port = 33732; + deuxfleurs.cluster_ip = "10.83.66.147"; deuxfleurs.is_raft_server = true; - - # Enable netdata monitoring - services.netdata.enable = true; } -- cgit v1.2.3