20 lines
321 B
YAML
20 lines
321 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: factorio-service
|
||
|
namespace: games-ns
|
||
|
spec:
|
||
|
selector:
|
||
|
app: games
|
||
|
ports:
|
||
|
- name: Factorio
|
||
|
protocol: UDP
|
||
|
port: 34197
|
||
|
targetPort: 34197
|
||
|
- name: Factorio-TUI
|
||
|
protocol: TCP
|
||
|
port: 27015
|
||
|
targetPort: 27015
|
||
|
type: LoadBalancer
|
||
|
|