47 lines
777 B
YAML
47 lines
777 B
YAML
---
|
|
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
|
|
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 |