Files
homelab/k8s/games/counter-strike-16/deployments.yaml
T
ab aa6c02f60b
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 8s
Check with kubeconform / lint (push) Successful in 8s
Auto-update README / Generate README and Create MR (push) Successful in 8s
Update k8s/games/counter-strike-16/deployments.yaml
2026-06-14 13:03:01 +00:00

82 lines
1.8 KiB
YAML

---
apiVersion: v1
kind: ConfigMap
metadata:
name: cs16-server-config
data:
MAXPLAYERS: "10"
START_MAP: "fy_pool_day"
SERVER_NAME: "GEYMERSKIY SOYUZ"
START_MONEY: "1000"
BUY_TIME: "0.25"
FRIENDLY_FIRE: "1"
SERVER_PASSWORD: ""
RCON_PASSWORD: ""
ADMIN_STEAM: "0:0:27591350"
RESTART_ON_FAIL: "true"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: counter-strike-16
labels:
app: counter-strike-16
spec:
selector:
matchLabels:
app: counter-strike-16
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
app: counter-strike-16
spec:
nodeSelector:
#kubernetes.io/hostname: home.homenet
kubernetes.io/hostname: music.tail2fe2d.ts.net
terminationGracePeriodSeconds: 10
containers:
- name: prom-a2s-exporter
image: armsnyder/a2s-exporter:latest
resources:
requests:
memory: "32Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "200m"
ports:
- containerPort: 9841
protocol: TCP
args:
- --address
- cs.hexor.cy:30015
- name: counter-strike-16
image: 'kingk0der/counter-strike-1.6:latest'
resources:
requests:
memory: "512Mi"
cpu: "200m"
limits:
memory: "2Gi"
cpu: "1000m"
args:
- +log
- -port
- "30015"
envFrom:
- configMapRef:
name: cs16-server-config
ports:
- containerPort: 26900
protocol: UDP
- containerPort: 27020
protocol: UDP
- containerPort: 30015
protocol: UDP
- containerPort: 30015
protocol: TCP