mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-12-30 19:14:19 +00:00
Start testing k3s
This commit is contained in:
9
modules/application-groups/k3s-primary.nix
Normal file
9
modules/application-groups/k3s-primary.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.k3s = {
|
||||
enable = true;
|
||||
role = "server";
|
||||
token = "forinitialtestingonly";
|
||||
clusterInit = true;
|
||||
};
|
||||
}
|
||||
9
modules/application-groups/k3s-secondary.nix
Normal file
9
modules/application-groups/k3s-secondary.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
@@ -32,6 +32,7 @@
|
||||
imagemagick
|
||||
iotop
|
||||
jq
|
||||
k3s
|
||||
kdePackages.qt6ct
|
||||
killall
|
||||
kitty
|
||||
|
||||
Reference in New Issue
Block a user