New k2 in s2d cluster

This commit is contained in:
Jonas Juselius
2020-11-18 20:10:34 +01:00
parent db37a44b7c
commit 75c49d4c3a
7 changed files with 51 additions and 36 deletions

View File

@@ -3,22 +3,19 @@ let
setup = import ../../modules/default.nix { inherit pkgs cluster customize lib config; };
hosts = [
{ name = "k2-1"; address = "10.253.18.115"; hw = ./k2-1.nix; }
{ name = "k2-2"; address = "10.253.18.116"; hw = ./k2-2.nix; }
{ name = "k2-3"; address = "10.253.18.117"; hw = ./k2-3.nix; }
{ name = "k2-4"; address = "10.253.18.118"; hw = ./k2-4.nix; }
{ name = "k2-5"; address = "10.253.18.103"; hw = ./k2-5.nix; }
{ name = "k2-1"; address = "10.1.8.57"; hw = ./k2-1.nix; }
{ name = "k2-2"; address = "10.1.8.58"; hw = ./k2-2.nix; }
{ name = "k2-3"; address = "10.1.8.59"; hw = ./k2-3.nix; }
{ name = "k2-4"; address = "10.1.8.60"; hw = ./k2-4.nix; }
];
customize = {
boot.bios = true;
boot.uefi = false;
};
cluster = {
clusterName = "k2";
initca = ./ca;
# domain = "itpartner.intern";
# searchDomains = [ "itpartner.intern" "itpartner.no" ];
extraHosts = import ../hosts.nix;
@@ -32,7 +29,7 @@ let
enable = true;
master = {
name = "k2-0";
address = "10.253.18.114";
address = "10.1.8.56";
extraSANs = [ "k2.itpartner.no" ];
hw = ./k2-0.nix;
};