diff --git a/modules/k3s/default.nix b/modules/k3s/default.nix index 03d5432..c06ef78 100644 --- a/modules/k3s/default.nix +++ b/modules/k3s/default.nix @@ -36,6 +36,9 @@ in clusterInit = mkIf cfg.initServer true; serverAddr = mkIf (!cfg.initServer) "https://10.5.0.103:6443"; manifests = import ./manifests.nix { inherit lib cfg inputs; }; + disable = [ + "test-ubuntu" + ]; }; }; } \ No newline at end of file diff --git a/modules/k3s/deployments/ubuntu.nix b/modules/k3s/deployments/ubuntu.nix new file mode 100644 index 0000000..e706fd3 --- /dev/null +++ b/modules/k3s/deployments/ubuntu.nix @@ -0,0 +1,15 @@ +{cfg, lib, inputs, ...}: +{ + ubuntu.content = { + apiVersion = "v1"; + kind = "Pod"; + metadata.name = "test-ubuntu"; + spec.containers = [ + { + name = "test-ubuntu"; + image = "ubuntu:latest"; + command = [ "tail" "-f" "/dev/null" ]; + } + ]; + }; +} \ No newline at end of file