update k3s flags

This commit is contained in:
2025-09-22 19:02:00 +08:00
parent 3250369bf9
commit 300abfff49
2 changed files with 14 additions and 1 deletions

View File

@@ -25,7 +25,15 @@ in
my_k3s = {
enable = true;
tokenFile = config.age.secrets.k3s.path;
serverAddr = "10.222.0.13:6443";
serverAddr = "https://10.222.0.13:6443";
extraFlags = [
"--disable=servicelb"
"--disable=traefik"
"--node-ip 10.222.0.249"
"--flannel-iface ztxh6lvd6t"
"--flannel-backend=host-gw"
"--tls-san 10.222.0.249"
];
};
networking.hostName = "penguin";