Files
KubeApps/apps/nzbget/nzbget-deployment.yaml
Chris Richardson 8dbc1f124e comment out
2025-07-02 23:37:54 -04:00

78 lines
1.8 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: nzbget
name: nzbget-deployment
namespace: default
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: nzbget
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: nzbget
spec:
containers:
- command:
- /bin/sh
- -c
- /init
env:
- name: TZ
value: America/New_York
image: linuxserver/nzbget
imagePullPolicy: Always
name: nzbget
ports:
- containerPort: 6789
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /config
name: nzbget-config-nfs
- mountPath: /downloads
name: nzbget-downloads
- mountPath: /tv
name: nfs-tv
- mountPath: /movies
name: nfs-movies
- mountPath: /books
name: nfs-books
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: nzbget-config-nfs
persistentVolumeClaim:
claimName: nzbget-config-nfs
- name: nzbget-downloads
emptyDir:
sizeLimit: 200Gi
- name: nfs-tv
nfs:
path: /volume2/vol2/TV/
server: 192.168.1.78
- name: nfs-movies
nfs:
path: /volume1/Movies
server: 192.168.1.176
- name: nfs-books
nfs:
path: /volume2/vol2/Ebooks/
server: 192.168.1.78