k3s
This commit is contained in:
@@ -2,14 +2,17 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.k3s.enable = true;
|
services.k3s = {
|
||||||
services.k3s.role = "server";
|
enable = true;
|
||||||
services.k3s.extraFlags = toString [
|
role = "server";
|
||||||
|
extraFlags = toString [
|
||||||
# "--debug" # Optionally add additional args to k3s
|
# "--debug" # Optionally add additional args to k3s
|
||||||
"--disable=traefik"
|
"--disable=traefik"
|
||||||
"--bind-address 100.122.128.107"
|
"--bind-address 100.122.128.107"
|
||||||
"--tls-san 100.122.128.107"
|
"--tls-san 100.122.128.107"
|
||||||
];
|
];
|
||||||
|
serverAddr = "https://100.122.128.107:6443"
|
||||||
|
};
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
443
|
443
|
||||||
80
|
80
|
||||||
|
|||||||
Reference in New Issue
Block a user