From 56d315eb4a1f026f3762a536e08381fcea01574f Mon Sep 17 00:00:00 2001 From: ab Date: Thu, 17 Jul 2025 16:45:23 +0000 Subject: [PATCH] Update k8s/games/counter-strike-16/services.yaml --- k8s/games/counter-strike-16/services.yaml | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/k8s/games/counter-strike-16/services.yaml b/k8s/games/counter-strike-16/services.yaml index 3e3a503..9641cf3 100644 --- a/k8s/games/counter-strike-16/services.yaml +++ b/k8s/games/counter-strike-16/services.yaml @@ -22,6 +22,37 @@ spec: port: 27020 targetPort: 27020 +--- +apiVersion: v1 +kind: Service +metadata: + name: counter-strike-16-lb +spec: + type: LoadBalancer + selector: + app: counter-strike-16 + ports: + - name: game-udp + port: 27015 + targetPort: 27015 + protocol: UDP + nodePort: 30015 + - name: game-tcp + port: 27015 + targetPort: 27015 + protocol: TCP + nodePort: 30016 + - name: rcon + port: 27020 + targetPort: 27020 + protocol: UDP + nodePort: 30020 + - name: hltv + port: 26900 + targetPort: 26900 + protocol: UDP + nodePort: 30900 + --- apiVersion: v1 kind: Service