enable beegfs on /work
This commit is contained in:
@@ -140,6 +140,12 @@ let
|
||||
};
|
||||
|
||||
compute = {
|
||||
system.activationScripts = {
|
||||
work.text = ''
|
||||
mkdir -p /work
|
||||
'';
|
||||
};
|
||||
|
||||
features = {
|
||||
hpc = {
|
||||
enable = true;
|
||||
@@ -158,13 +164,13 @@ let
|
||||
];
|
||||
};
|
||||
beegfs = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
beegfs = {
|
||||
bee0-0 = {
|
||||
mgmtdHost = "beegfs0";
|
||||
beegfs0 = {
|
||||
mgmtdHost = "ibbeegfs0";
|
||||
connAuthFile = "/etc/beegfs/connauthfile";
|
||||
client = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
mountPoint = "/work";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -8,11 +8,6 @@ let
|
||||
|
||||
nodes = import ./nodes.nix;
|
||||
|
||||
cluster = {
|
||||
compute = true;
|
||||
k8sNode = true;
|
||||
};
|
||||
|
||||
compute = {
|
||||
# deployment.tags = [ "compute" ];
|
||||
|
||||
@@ -43,6 +38,11 @@ let
|
||||
hw = ./hw + "/${host.name}.nix";
|
||||
in {
|
||||
"${host.name}" = {
|
||||
cluster = {
|
||||
compute = true;
|
||||
k8sNode = true;
|
||||
};
|
||||
|
||||
features = {
|
||||
host = {
|
||||
name = host.name;
|
||||
@@ -70,7 +70,7 @@ let
|
||||
ipv4.routes = [ {
|
||||
address = "10.255.242.2";
|
||||
prefixLength = 32;
|
||||
via = "10.1.241.100";
|
||||
via = "10.255.241.100";
|
||||
} ];
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user