Files
Kubernetes.K3s.installLog/services/PVR/SABnzbd/deployment-sabnzbd.yaml

42 lines
1.0 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: sabnzbd
namespace: sabnzbd
labels:
app: sabnzbd
spec:
replicas: 1
selector:
matchLabels:
app: sabnzbd
template:
metadata:
labels:
app: sabnzbd
spec:
containers:
- name: sabnzbd
# image: bv11-cr01.bessems.eu/proxy/linuxserver/sabnzbd
image: linuxserver/sabnzbd
ports:
- name: web
containerPort: 8080
volumeMounts:
- mountPath: /config/sabnzbd.ini
subPath: sabnzbd.ini
name: csismb-sabnzbd-config
- mountPath: /downloads
subPath: downloads
name: csismb-sabnzbd-scratch
- mountPath: /incomplete-downloads
subPath: incomplete-downloads
name: csismb-sabnzbd-scratch
volumes:
- name: csismb-sabnzbd-config
persistentVolumeClaim:
claimName: csismb-sabnzbd-config
- name: csismb-sabnzbd-scratch
persistentVolumeClaim:
claimName: csismb-sabnzbd-scratch