add k8s config for k3s and minikube to curve
This commit is contained in:
parent
b595688a65
commit
cc547e7da3
|
@ -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;
|
||||||
|
|
13
hosts/profiles/kuberenetes/default.nix
Normal file
13
hosts/profiles/kuberenetes/default.nix
Normal file
|
@ -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 ];
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue