add k8s config for k3s and minikube to curve
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
../profiles/mimetypes
|
../profiles/mimetypes
|
||||||
../profiles/syncthing
|
../profiles/syncthing
|
||||||
../profiles/mossnet-hosts
|
../profiles/mossnet-hosts
|
||||||
|
../profiles/kuberenetes
|
||||||
];
|
];
|
||||||
|
|
||||||
# home-manager.users.anish = import ../../home/gui;
|
# home-manager.users.anish = import ../../home/gui;
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# k3s
|
||||||
|
networking.firewall.allowedTCPPorts = [ 6443 ];
|
||||||
|
services.k3s.enable = true;
|
||||||
|
services.k3s.role = "server";
|
||||||
|
# services.k3s.extraFlags = toString [
|
||||||
|
# "--kubelet-arg=v=4" # Optionally add additional args to k3s
|
||||||
|
# ];
|
||||||
|
environment.systemPackages = [ pkgs.k3s pkgs.kubernetes-helm ];
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user