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

59 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: sonarr
name: sonarr-deployment
namespace: default
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: sonarr
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: sonarr
spec:
containers:
- image: ghcr.io/linuxserver/sonarr:latest
imagePullPolicy: Always
name: sonarr
ports:
- containerPort: 8989
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /downloads
name: downloads-nfs
- mountPath: /config
name: sonar-config-nfs
- mountPath: /tv
name: nfs-tv
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: downloads-nfs
persistentVolumeClaim:
claimName: sonarr-downloads-nfs
- name: sonar-config-nfs
persistentVolumeClaim:
claimName: sonarr-config-nfs
- name: nfs-tv
nfs:
path: /volume2/vol2/TV/
server: 192.168.1.78