diff options
author | Alex Auvolat <alex@adnab.me> | 2023-03-13 19:58:37 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-03-13 19:58:37 +0100 |
commit | 385882c74c80156b2740ac3bad009605468b4372 (patch) | |
tree | 3b503dcf8ad8d30d396abef9a1b5cca5218a7975 /cluster/prod | |
parent | d56f895a1c0e98b76f80652d85fcec51ef42f775 (diff) | |
download | nixcfg-385882c74c80156b2740ac3bad009605468b4372.tar.gz nixcfg-385882c74c80156b2740ac3bad009605468b4372.zip |
Changes in prod:
- migrate courgette and concombre to M710q machines with SSD+HDD
- migrate prod/c* to nixos 22.11
Diffstat (limited to 'cluster/prod')
-rw-r--r-- | cluster/prod/app/cryptpad/deploy/cryptpad.hcl | 4 | ||||
-rw-r--r-- | cluster/prod/app/telemetry/deploy/telemetry-storage.hcl | 2 | ||||
-rw-r--r-- | cluster/prod/node/concombre.nix | 2 | ||||
-rw-r--r-- | cluster/prod/node/courgette.nix | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl index 59803bf..0d8ac5f 100644 --- a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl +++ b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl @@ -22,7 +22,7 @@ job "cryptpad" { constraint { attribute = "${attr.unique.hostname}" operator = "=" - value = "courgette" + value = "concombre" } config { @@ -30,7 +30,7 @@ job "cryptpad" { ports = [ "http" ] volumes = [ - "/mnt/storage/cryptpad:/mnt", + "/mnt/ssd/cryptpad:/mnt", "secrets/config.js:/etc/cryptpad/config.js", ] } diff --git a/cluster/prod/app/telemetry/deploy/telemetry-storage.hcl b/cluster/prod/app/telemetry/deploy/telemetry-storage.hcl index bf64719..d4667fa 100644 --- a/cluster/prod/app/telemetry/deploy/telemetry-storage.hcl +++ b/cluster/prod/app/telemetry/deploy/telemetry-storage.hcl @@ -14,7 +14,7 @@ job "telemetry-storage" { constraint { attribute = "${attr.unique.hostname}" operator = "set_contains_any" - value = "concombre,df-ymk" + value = "celeri,df-ymk" } task "prometheus" { diff --git a/cluster/prod/node/concombre.nix b/cluster/prod/node/concombre.nix index 4e1563e..eefc9e7 100644 --- a/cluster/prod/node/concombre.nix +++ b/cluster/prod/node/concombre.nix @@ -10,7 +10,7 @@ networking.hostName = "concombre"; - deuxfleurs.network_interface = "eno1"; + deuxfleurs.network_interface = "enp0s31f6"; deuxfleurs.lan_ip = "192.168.1.31"; deuxfleurs.ipv6 = "2001:910:1204:1::31"; diff --git a/cluster/prod/node/courgette.nix b/cluster/prod/node/courgette.nix index cbcb745..c2bf0d8 100644 --- a/cluster/prod/node/courgette.nix +++ b/cluster/prod/node/courgette.nix @@ -10,7 +10,7 @@ networking.hostName = "courgette"; - deuxfleurs.network_interface = "eno1"; + deuxfleurs.network_interface = "enp0s31f6"; deuxfleurs.lan_ip = "192.168.1.32"; deuxfleurs.ipv6 = "2001:910:1204:1::32"; |