Start testing k3s

This commit is contained in:
2025-12-07 21:50:44 -08:00
parent b16e7664b0
commit 3ceb749239
6 changed files with 28 additions and 0 deletions

View File

@@ -6,6 +6,9 @@
# Host Groups
../../modules/host-groups/cluster.nix
# Application Groups
../../modules/application-groups/k3s-primary.nix
];
networking.hostName = "cap-clust-01";

View File

@@ -6,6 +6,9 @@
# Host Groups
../../modules/host-groups/cluster.nix
# Application Groups
../../modules/application-groups/k3s-secondary.nix
];
networking.hostName = "cap-clust-02";

View File

@@ -6,6 +6,9 @@
# Host Groups
../../modules/host-groups/cluster.nix
# Application Groups
../../modules/application-groups/k3s-primary.nix
];
networking.hostName = "cap-clust-03";

View File

@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
services.k3s = {
enable = true;
role = "server";
token = "forinitialtestingonly";
clusterInit = true;
};
}

View File

@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
services.k3s = {
enable = true;
role = "server"; # Or "agent" for worker only nodes
token = "forinitialtestingonly";
serverAddr = "https://cap-clust-01:6443";
};
}

View File

@@ -32,6 +32,7 @@
imagemagick
iotop
jq
k3s
kdePackages.qt6ct
killall
kitty