commit fe0cefda744b2248756a83d0cb8c6e9fb086f6a4
parent a7618cc681c1623771c2c6da46b376be9885e1e7
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 3 Sep 2021 10:41:51 +0200
ops: add tags to kubernetes hosts
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/ops/home/network.nix b/ops/home/network.nix
@@ -10,17 +10,23 @@ in
"k8sn1" = { config, pkgs, lib, ... }: {
deployment.targetUser = "root";
- deployment.targetHost = "k8sn1.home";
+ deployment.targetHost = "192.168.1.130";
+ # deployment.targetHost = "k8sn1.home";
+ deployment.tags = [ "kubernetes" "master" ];
imports = [ ../../systems/hosts/k8sn1.nix ];
};
"k8sn2" = { config, pkgs, lib, ... }: {
deployment.targetUser = "root";
- deployment.targetHost = "k8sn2.home";
+ deployment.targetHost = "192.168.1.131";
+ # deployment.targetHost = "k8sn2.home";
+ deployment.tags = [ "kubernetes" "worker" ];
imports = [ ../../systems/hosts/k8sn2.nix ];
};
"k8sn3" = { config, pkgs, lib, ... }: {
deployment.targetUser = "root";
- deployment.targetHost = "k8sn3.home";
+ deployment.targetHost = "192.168.1.132";
+ # deployment.targetHost = "k8sn3.home";
+ deployment.tags = [ "kubernetes" "worker" ];
imports = [ ../../systems/hosts/k8sn3.nix ];
};
"wakasu" = { config, pkgs, lib, ... }: {