k3s/services/sabnzbd/sabnzbd-deployment.yaml

55 lines
1.4 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
- containerPort: 9090
protocol: TCP
volumeMounts:
- mountPath: /config
name: sabnzbd-config
- mountPath: /downloads
name: sabnzbd-downloads
restartPolicy: Always
volumes:
- name: sabnzbd-config
nfs:
server: birdfeeder2.home.nest
path: /k3s/sabnzbd
- name: sabnzbd-downloads
nfs:
server: birdfeeder1.home.nest
path: /yarr/downloads