update frontend config

This commit is contained in:
Jonas Juselius
2022-08-24 10:47:31 +02:00
parent a2d0586d6c
commit a0abce52e5

View File

@@ -1,10 +1,10 @@
{ pkgs, ...}: { pkgs, ...}:
let let
nodes = import ./nixops/ekman/nodes.nix; nodes = import ./nixops/ekman/nodes.nix;
myvnc = import ./nixops/ekman/myvnc.nix { inherit pkgs; };
in in
{ {
# deployment.tags = [ "frontend" ]; # deployment.tags = [ "frontend" ];
node.myvnc = true;
systemd.targets = { systemd.targets = {
sleep.enable = false; sleep.enable = false;
@@ -13,6 +13,11 @@ in
hybrid-sleep.enable = false; hybrid-sleep.enable = false;
}; };
cluster = {
compute = true;
k8sNode = true;
};
features = { features = {
host = { host = {
address = "10.255.241.100"; address = "10.255.241.100";
@@ -35,7 +40,6 @@ in
k8s = { k8s = {
master.enable = true; master.enable = true;
node.enable = true;
inherit nodes; inherit nodes;
}; };
@@ -69,8 +73,9 @@ in
infiniband-exporter = { infiniband-exporter = {
enable = true; enable = true;
nameMap = '' nameMap = ''
0x0c42a10300dbe7f4 "c0-1" 0xe8ebd3030024a2c6 "frontend"
0x0c42a10300ddc4bc "c0-2" 0xe8ebd3030024981e "c0-1"
0xe8ebd3030024a21a "c0-2"
''; '';
}; };
slurm-exporter = { slurm-exporter = {
@@ -148,9 +153,9 @@ in
}; };
services.prometheus.alertmanager.configuration.global = { services.prometheus.alertmanager.configuration.global = {
smtp_smarthost = "smtpgw.itpartner.no:465"; smtp_smarthost = "smtpgw.itpartner.no";
smtp_auth_username = "utvikling"; # smtp_auth_username = "utvikling";
smtp_auth_password = "S0m3rp0m@de#21!"; # smtp_auth_password = "S0m3rp0m@de#21!";
smtp_hello = "ekman.oceanbox.io"; smtp_hello = "ekman.oceanbox.io";
smtp_from = "noreply@ekman.oceanbox.io"; smtp_from = "noreply@ekman.oceanbox.io";
}; };
@@ -217,6 +222,8 @@ in
# pubkeyacceptedalgorithms ssh-rsa,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256 # pubkeyacceptedalgorithms ssh-rsa,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
# ''; # '';
environment.systemPackages = [ myvnc ];
imports = [ ./nixops/ekman/cluster.nix ./hardware-configuration.nix ]; imports = [ ./nixops/ekman/cluster.nix ./hardware-configuration.nix ];
} }