From 5d030f87cb663c5b50030178f3f6a487e23c2457 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Fri, 21 Apr 2023 01:51:02 -0400 Subject: [PATCH] expose factorio through nodeport --- cluster/apps/game-servers/factorio/helm-release.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cluster/apps/game-servers/factorio/helm-release.yaml b/cluster/apps/game-servers/factorio/helm-release.yaml index d8e4e25..b87057a 100644 --- a/cluster/apps/game-servers/factorio/helm-release.yaml +++ b/cluster/apps/game-servers/factorio/helm-release.yaml @@ -21,11 +21,11 @@ spec: service: main: - type: LoadBalancer + type: NodePort - annotations: - metallb.universe.tf/allow-shared-ip: "main-ip-192.168.87.10" - metallb.universe.tf/loadBalancerIPs: 192.168.87.10 +# annotations: +# metallb.universe.tf/allow-shared-ip: "main-ip-192.168.87.10" +# metallb.universe.tf/loadBalancerIPs: 192.168.87.10 ports: http: @@ -35,6 +35,7 @@ spec: enabled: true primary: true port: &game_port 34197 + nodePort: 30001 targetPort: *game_port protocol: UDP @@ -42,6 +43,7 @@ spec: enabled: true primary: true port: &rcon_port 27015 + nodePort: 30002 targetPort: *rcon_port protocol: TCP