2023-11-10 20:15:39 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: factorio-service
|
|
|
|
namespace: games-ns
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app: games
|
|
|
|
ports:
|
2023-11-10 20:27:04 +00:00
|
|
|
- name: factorio
|
2023-11-10 20:15:39 +00:00
|
|
|
protocol: UDP
|
|
|
|
port: 34197
|
|
|
|
targetPort: 34197
|
2023-11-10 20:27:04 +00:00
|
|
|
- name: factorio-tui
|
2023-11-10 20:15:39 +00:00
|
|
|
protocol: TCP
|
|
|
|
port: 27015
|
|
|
|
targetPort: 27015
|
|
|
|
type: LoadBalancer
|
|
|
|
|