Files
homelab/k8s/apps/doka2-lobby-list/deployment.yaml
T
ab bd8963bcb9
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 5s
Check with kubeconform / lint (push) Successful in 5s
Auto-update README / Generate README and Create MR (push) Successful in 5s
added doka2-lobby-list
2026-07-13 16:05:46 +03:00

52 lines
1.2 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: doka2-lobby-list
labels:
app: doka2-lobby-list
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: doka2-lobby-list
template:
metadata:
labels:
app: doka2-lobby-list
spec:
nodeSelector:
kubernetes.io/os: linux
volumes:
- name: creds
persistentVolumeClaim:
claimName: doka2-lobby-list-creds
containers:
- name: doka2-lobby-list
image: ultradesu/doka2-lobby-list:latest
imagePullPolicy: Always
ports:
- name: http
containerPort: 3000
protocol: TCP
env:
- name: ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: doka2-lobby-list-secrets
key: ADMIN_PASSWORD
- name: CREDS_DIR
value: /data/creds
volumeMounts:
- name: creds
mountPath: /data/creds
resources:
requests:
cpu: "50m"
memory: "128Mi"
limits:
cpu: "500m"
memory: "512Mi"