Compare commits

..

2 Commits

Author SHA1 Message Date
SeanOMik 0e8df1d869
fix(palworld): use nodeport in range 2024-01-27 01:11:49 -05:00
SeanOMik 8d70ec3f62
fix(palworld): disable network policy 2024-01-27 00:59:25 -05:00
3 changed files with 11 additions and 13 deletions

View File

@ -2,6 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./namespace.yaml - ./namespace.yaml
- ./network_policy.yaml #- ./network_policy.yaml
#- ./factorio #- ./factorio
- ./palworld - ./palworld

View File

@ -25,14 +25,12 @@ spec:
egress: egress:
- to: - to:
- ipBlock: - ipBlock:
cidr: 192.168.87.0/24 # server lan # allow all IPs
ports: cidr: 0.0.0.0/0
# palworld except:
- protocol: UDP # except the private IP ranges: https://en.wikipedia.org/wiki/Private_network
port: 8211 - 10.0.0.0/8
- protocol: UDP - 192.168.0.0/16
port: 38211 - 172.16.0.0/20
- protocol: UDP - ipBlock:
port: 25575 cidr: 192.168.87.250/24 # server
- protocol: UDP
port: 32575

View File

@ -53,7 +53,7 @@ spec:
enabled: true enabled: true
primary: true primary: true
port: &game_port 8211 port: &game_port 8211
nodePort: 38211 nodePort: 32576
protocol: UDP protocol: UDP
rcon: rcon: