mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-01 18:33:56 +01:00
feat(hosts,lib): use kube-vip for k3s's HA
This commit is contained in:
1 parent
27959277d3
commit
6ae98566ed
14 files changed
+45
-22
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
pkgs,
|
||||
serverIp,
|
||||
masterHost,
|
||||
tokenFile,
|
||||
...
|
||||
}: let
|
||||
@@ -12,7 +12,7 @@ in {
|
||||
inherit package tokenFile;
|
||||
|
||||
role = "agent";
|
||||
serverAddr = "https://${serverIp}:6443";
|
||||
serverAddr = "https://${masterHost}:6443";
|
||||
# https://docs.k3s.io/cli/agent
|
||||
extraFlags = let
|
||||
flagList = [
|
||||
|
||||
Reference in new issue
Block a user