From 9f120c43527db8a8d5f1b38d071b0f19f11a789f Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Sun, 27 Oct 2024 23:47:17 -0400 Subject: [PATCH] Making sure the port is open --- modules/nixos/server/k8s/master.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/nixos/server/k8s/master.nix b/modules/nixos/server/k8s/master.nix index 776014d..31a5e95 100644 --- a/modules/nixos/server/k8s/master.nix +++ b/modules/nixos/server/k8s/master.nix @@ -11,5 +11,7 @@ in advertiseAddress = cfg.masterIP; }; }; + networking.firewall.allowedUDPPorts = [ cfg.masterAPIPort ]; + networking.firewall.allowedTCPPorts = [ cfg.masterAPIPort ]; }; }