expose factorio through nodeport
This commit is contained in:
parent
18a2c0acd8
commit
5d030f87cb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue