k3s/services/sabnzbd/sabnzbd-deployment.yaml

68 lines
1.6 KiB
YAML
Raw Normal View History

2026-03-02 20:22:36 -05:00
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: sabnzbd
name: sabnzbd
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: sabnzbd
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f compose-yarr.yaml
kompose.version: 1.38.0 (HEAD)
labels:
io.kompose.service: sabnzbd
spec:
containers:
- env:
- name: PGID
value: "1000"
- name: PUID
value: "1000"
- name: TZ
value: America/New_York
image: ghcr.io/hotio/sabnzbd:latest
name: sabnzbd
ports:
- containerPort: 8080
protocol: TCP
2026-04-03 21:52:07 -04:00
name: web-ui
2026-03-02 20:22:36 -05:00
volumeMounts:
- mountPath: /config
name: sabnzbd-config
- mountPath: /downloads
name: sabnzbd-downloads
restartPolicy: Always
volumes:
- name: sabnzbd-config
2026-06-10 20:51:10 -04:00
persistentVolumeClaim:
claimName: sabnzbd-config-pvc
2026-03-02 20:22:36 -05:00
- name: sabnzbd-downloads
nfs:
server: robin.home.nest
2026-03-02 20:22:36 -05:00
path: /yarr/downloads
2026-06-10 20:51:10 -04:00
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: sabnzbd-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: 50Mi