fix: add fs-work and etcd cluster

This commit is contained in:
2025-09-13 07:03:17 +02:00
parent 6767eb21e6
commit 3af5ba3fbd
8 changed files with 49 additions and 79 deletions

View File

@@ -10,13 +10,13 @@ let
ipoib = "172.16.240.${toString idx}";
pubkey = ../login/ssh_host_key.pub;
}
# rec {
# idx = 210;
# name = "fs-work";
# address = "172.16.239.${toString idx}";
# ipoib = "172.16.240.${toString idx}";
# pubkey = ../fs-work/ssh_host_key.pub;
# }
rec {
idx = 210;
name = "fs-work";
address = "172.16.239.${toString idx}";
ipoib = "172.16.240.${toString idx}";
pubkey = ../fs-work/ssh_host_key.pub;
}
];
etcdCluster = import ../etcdCluster.nix;
name = "rossby-manage";
@@ -47,9 +47,9 @@ in {
mounts = {
rdma.enable = false;
automount.enable = true;
users = false;
opt = false;
work = false;
users = true;
opt = true;
work = true;
data = false;
ceph = false;
};
@@ -181,7 +181,7 @@ in {
# };
defaultGateway = "172.16.239.1";
firewall = {
allowedTCPPorts = [ 4443 4725 ];
allowedTCPPorts = [ 6443 4725 ];
extraCommands = ''
# needed for nodeport access on k1 and k2
# iptables -t nat -A POSTROUTING -s 172.16.239.0/24 ! -d 10.255.0.0/16 -j SNAT --to-source 10.255.242.3