k8s: include kubectl by default, disable libvirtd
This commit is contained in:
parent
e0e10c9e3e
commit
651d41c163
|
@ -9,12 +9,12 @@
|
||||||
# services.k3s.extraFlags = toString [
|
# services.k3s.extraFlags = toString [
|
||||||
# "--kubelet-arg=v=4" # Optionally add additional args to k3s
|
# "--kubelet-arg=v=4" # Optionally add additional args to k3s
|
||||||
# ];
|
# ];
|
||||||
environment.systemPackages = [ pkgs.k3s pkgs.kubernetes-helm ];
|
environment.systemPackages = [ pkgs.k3s pkgs.kubernetes-helm pkgs.kubectl ];
|
||||||
|
|
||||||
# minikube on docker
|
# minikube on docker
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
virtualisation.docker.storageDriver = "btrfs";
|
virtualisation.docker.storageDriver = "btrfs";
|
||||||
# or use kvm
|
# or use kvm
|
||||||
virtualisation.libvirtd.enable = true;
|
# virtualisation.libvirtd.enable = true;
|
||||||
users.users.anish.extraGroups = [ "docker" "libvert" ]; #
|
users.users.anish.extraGroups = [ "docker" "libvert" ]; #
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue