Commit 8ade46283b99
Changed files (1)
ops
home
ops/home/network.nix
@@ -13,6 +13,12 @@ in
deployment.targetHost = "192.168.1.130";
# deployment.targetHost = "k8sn1.home";
deployment.tags = [ "kubernetes" "master" ];
+ deployment.healthChecks = {
+ cmd = [{
+ cmd = [ "kubectl" "--kubeconfig=/etc/kubernetes/cluster-admin.kubeconfig" "version" ];
+ description = "Validating that kubectl is available and a cluster is running";
+ }];
+ };
imports = [ ../../systems/hosts/k8sn1.nix ];
};
"k8sn2" = { config, pkgs, lib, ... }: {
@@ -32,21 +38,19 @@ in
"wakasu" = { config, pkgs, lib, ... }: {
deployment.targetUser = "root";
deployment.targetHost = "wakasu.home";
+ deployment.tags = [ "baremetal" "wakasu" ];
imports = [ ../../systems/hosts/wakasu.nix ];
};
"sakhalin" = { config, pkgs, lib, ... }: {
deployment.targetUser = "root";
deployment.targetHost = "sakhalin.home";
+ deployment.tags = [ "baremetal" "sakhalin" ];
imports = [ ../../systems/hosts/sakhalin.nix ];
};
"okinawa" = { config, pkgs, lib, ... }: {
deployment.targetUser = "root";
deployment.targetHost = "okinawa.home";
+ deployment.tags = [ "baremetal" "okinawa" ];
imports = [ ../../systems/hosts/okinawa.nix ];
};
- "hokkaido" = { config, pkgs, lib, ... }: {
- deployment.targetUser = "root";
- deployment.targetHost = "hokkaido.home";
- imports = [ ../../systems/hosts/hokkaido.nix ];
- };
}