k3s/services/prowlarr/prowlarr-deployment.yaml
2026-06-10 20:51:10 -04:00

61 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f compose-yarr.yaml
kompose.version: 1.38.0 (HEAD)
labels:
io.kompose.service: prowlarr
name: prowlarr
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: prowlarr
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f compose-yarr.yaml
kompose.version: 1.38.0 (HEAD)
labels:
io.kompose.service: prowlarr
spec:
containers:
- env:
- name: PGID
value: "1000"
- name: PUID
value: "1000"
- name: TZ
value: America/New_York
image: lscr.io/linuxserver/prowlarr:latest
name: prowlarr
ports:
- containerPort: 9696
protocol: TCP
name: web-ui
volumeMounts:
- mountPath: /config
name: prowlarr-config
restartPolicy: Always
volumes:
- name: prowlarr-config
persistentVolumeClaim:
claimName: prowlarr-config-pvc
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: prowlarr-config-pvc
labels:
recurring-job.longhorn.io/source: "enabled"
recurring-job-group.longhorn.io/app-config-group: "enabled"
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 200Mi