mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
fix(k3s): drop Home Manager from test masters
Keep the six node configuration intact while removing the failing user activation from the three control-plane MicroVMs. Update the regression test and current K3s configuration notes.
This commit is contained in:
1 parent
f5f4531fcb
commit
9a6923b4e9
16 files changed
+40
-54
No files matched your search
@@ -63,8 +63,10 @@ in
|
||||
flagList = [
|
||||
"--write-kubeconfig=${kubeconfigFile}"
|
||||
"--write-kubeconfig-mode=600"
|
||||
# The Istio ingress Service uses NodePorts 80 and 443.
|
||||
"--service-node-port-range=80-32767"
|
||||
"--kube-apiserver-arg='--allow-privileged=true'" # required by the former KubeVirt VMs
|
||||
# The NFS CSI node plugin runs a privileged container to mount volumes.
|
||||
"--kube-apiserver-arg='--allow-privileged=true'"
|
||||
"--data-dir /var/lib/rancher/k3s"
|
||||
"--etcd-expose-metrics=true"
|
||||
"--etcd-snapshot-schedule-cron='0 */12 * * *'"
|
||||
@@ -72,7 +74,7 @@ in
|
||||
"--disable-helm-controller" # we use fluxcd instead
|
||||
"--disable=traefik" # deploy our own ingress controller instead
|
||||
"--disable=servicelb" # we use kube-vip instead
|
||||
"--disable-network-policy"
|
||||
"--disable-network-policy" # Cilium enforces network policies instead
|
||||
"--tls-san=${masterHost}"
|
||||
]
|
||||
++ (map (label: "--node-label=${label}") nodeLabels)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
pkgs,
|
||||
hostName,
|
||||
networking,
|
||||
# vCPU count and RAM (MiB) -- mirrors the former KubeVirt instancetype
|
||||
# vCPU count and RAM (MiB) for the QEMU guest
|
||||
vcpu,
|
||||
mem,
|
||||
# persistent volume sizes in MiB
|
||||
|
||||
Reference in new issue
Block a user