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