Files
homelab/k8s/games/counter-strike-16/services.yaml

40 lines
686 B
YAML
Raw Normal View History

2025-07-17 01:15:35 +03:00
apiVersion: v1
kind: Service
metadata:
name: counter-strike-16
namespace: counter-strike
2025-07-17 01:15:35 +03:00
spec:
externalIPs:
- 138.201.61.182
2025-07-17 01:15:35 +03:00
selector:
app: counter-strike-16
ports:
- name: game-udp
protocol: UDP
port: 27015
targetPort: 27015
- name: game-tcp
protocol: TCP
port: 27015
targetPort: 27015
- name: rcon
protocol: UDP
port: 27020
targetPort: 27020
---
apiVersion: v1
kind: Service
metadata:
name: prom-a2s-exporter
labels:
app: counter-strike-16
spec:
selector:
app: counter-strike-16
ports:
- name: metrics
port: 9841
targetPort: 9841
protocol: TCP
type: ClusterIP