49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: sabnzbd
|
||
|
name: sabnzbd
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: sabnzbd
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: sabnzbd
|
||
|
spec:
|
||
|
containers:
|
||
|
- image: lscr.io/linuxserver/sabnzbd:latest
|
||
|
imagePullPolicy: Always
|
||
|
name: sabnzbd
|
||
|
terminationMessagePath: /dev/termination-log
|
||
|
terminationMessagePolicy: File
|
||
|
volumeMounts:
|
||
|
- mountPath: /config
|
||
|
name: ssd-config
|
||
|
- mountPath: /downloads
|
||
|
name: data
|
||
|
- mountPath: /etc/proxychains/proxychains.conf
|
||
|
name: proxy-config
|
||
|
subPath: proxychains.conf
|
||
|
dnsPolicy: ClusterFirst
|
||
|
restartPolicy: Always
|
||
|
schedulerName: default-scheduler
|
||
|
terminationGracePeriodSeconds: 30
|
||
|
volumes:
|
||
|
- name: ssd-config
|
||
|
persistentVolumeClaim:
|
||
|
claimName: sabnzbd-config-ssd
|
||
|
- name: data
|
||
|
persistentVolumeClaim:
|
||
|
claimName: smb-usenet
|
||
|
- configMap:
|
||
|
defaultMode: 420
|
||
|
name: proxy-config
|
||
|
name: proxy-config
|
||
|
- configMap:
|
||
|
defaultMode: 493
|
||
|
name: s6-overlay-overlay
|
||
|
name: s6-overlay-overlay
|