infra4talos/apps-kustomized/sabnzbd/deploy.yaml

55 lines
1.3 KiB
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: sabnzbd
name: sabnzbd
spec:
selector:
matchLabels:
app: sabnzbd
strategy:
type: Recreate
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
resources:
requests:
cpu: 25m
memory: 380258472
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