fitst version

This commit is contained in:
martijn.diersmann@pm.me
2026-09-26 22:21:07 +02:00
commit 32c7696bda
18 changed files with 3151 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: turbo-race
labels:
app: turbo-race
spec:
replicas: 1
selector:
matchLabels:
app: turbo-race
template:
metadata:
labels:
app: turbo-race
spec:
containers:
- name: turbo-race
image: turbo-race:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
env:
- name: PORT
value: "8080"
- name: MAX_PLAYERS
value: "20"
- name: COUNTDOWN_S
value: "30"
- name: RACE_DURATION_S
value: "90"
- name: TRACK_LENGTH
value: "23000"
- name: ADMIN_TOKEN
valueFrom:
secretKeyRef:
name: turbo-race-secret
key: admin-token
resources:
requests:
cpu: 100m
memory: 64Mi
limits:
cpu: 300m
memory: 160Mi
readinessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 3
periodSeconds: 5
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 5
periodSeconds: 10