Files
infra/deploy/huly/stats/stats-deployment.yaml
2025-03-21 20:26:53 +01:00

36 lines
741 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: stats
name: stats
spec:
replicas: 1
selector:
matchLabels:
app: stats
template:
metadata:
labels:
app: stats
spec:
containers:
- image: hardcoreeng/stats:v0.6.471
name: stats
env:
- name: PORT
value: "4900"
- name: SERVER_SECRET
valueFrom:
secretKeyRef:
name: huly-secret
key: SERVER_SECRET
ports:
- containerPort: 4900
hostPort: 4900
protocol: TCP
resources:
limits:
memory: "500M"
restartPolicy: Always