Files
KubeApps/apps/retrom/retrom-deployment.yaml
Chris Richardson 8dbc1f124e comment out
2025-07-02 23:37:54 -04:00

62 lines
1.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: retrom
name: retrom-deployment
namespace: default
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: retrom
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: retrom
spec:
containers:
- name: retrom
image: ghcr.io/jmberesford/retrom-service:latest
imagePullPolicy: Always
ports:
- containerPort: 5101
protocol: TCP
name: server
- containerPort: 3000
protocol: TCP
name: web
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /app/config
name: retrom-config-nfs
- mountPath: /app/data
name: retrom-data-nfs
- mountPath: /app/library
name: nfs-roms
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: retrom-config-nfs
persistentVolumeClaim:
claimName: retrom-config-nfs
- name: retrom-data-nfs
persistentVolumeClaim:
claimName: retrom-data-nfs
- name: nfs-roms
nfs:
path: /volume2/vol2/Downloads/Roms/retrom
server: 192.168.1.78