Browse Source

kibana: flakify

master
Astro 1 month ago
parent
commit
31b643e2e0
4 changed files with 15 additions and 8 deletions
  1. 10
    0
      flake.nix
  2. 5
    0
      host-registry.nix
  3. 0
    7
      hosts/containers/kibana/default.nix
  4. 0
    1
      krops.nix

+ 10
- 0
flake.nix View File

@@ -78,6 +78,8 @@
78 78
           hydra-nixos-rebuild = mkDeploy "hydra" hostRegistry.hosts.hydra.ip4;
79 79
 
80 80
           mucbot-nixos-rebuild = mkDeploy "mucbot" hostRegistry.hosts.mucbot.ip4;
81
+
82
+          kibana-nixos-rebuild = mkDeploy "kibana" hostRegistry.hosts.kibana.ip4;
81 83
         });
82 84
 
83 85
       nixosConfigurations = let
@@ -212,6 +214,14 @@
212 214
           system = "x86_64-linux";
213 215
         };
214 216
 
217
+        kibana = nixosSystem' {
218
+          modules = [
219
+            ./lib/lxc-container.nix
220
+            ./hosts/containers/kibana
221
+          ];
222
+          system = "x86_64-linux";
223
+        };
224
+
215 225
       };
216 226
 
217 227
       nixosModules.c3d2 = import ./lib;

+ 5
- 0
host-registry.nix View File

@@ -110,6 +110,11 @@ rec {
110 110
       ip4 = "172.20.73.27";
111 111
       ip6 = "2a02:8106:208:5282:28db:dff:fe6b:e89a";
112 112
     };
113
+
114
+    kibana = {
115
+      ip4 = "172.20.73.44";
116
+      ip6 = "2a02:8106:208:5282:460:7cff:fe28:76b2";
117
+    };
113 118
   };
114 119
 
115 120
   hqGlobal = builtins.attrNames hosts;

hosts/containers/kibana/configuration.nix → hosts/containers/kibana/default.nix View File

@@ -1,13 +1,6 @@
1 1
 { config, pkgs, lib, modulesPath, ... }:
2 2
 
3 3
 {
4
-  imports = [
5
-    (modulesPath + "/profiles/minimal.nix")
6
-    ../../../lib
7
-    ../../../lib/lxc-container.nix
8
-    ../../../lib/shared.nix
9
-  ];
10
-
11 4
   networking.hostName = "kibana";
12 5
   networking.interfaces.eth0.ipv4.addresses = [{
13 6
     address = "172.20.73.44";

+ 0
- 1
krops.nix View File

@@ -23,5 +23,4 @@ let
23 23
     };
24 24
 in {
25 25
   ledstripes = deployContainer "ledstripes" "172.22.99.168";
26
-  kibana = deployContainer "kibana" "172.20.73.44";
27 26
 }

Loading…
Cancel
Save