Files
KubeApps/apps/sonarr/sonnarr-deployment.yaml
Chris Richardson 745ed8cfa9 add next round
2025-01-24 10:29:28 -05:00

69 lines
1.6 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
- mountPath: /sonarBK
name: sonar
- mountPath: /config
name: sonar-config
- mountPath: /tv
name: nfs-tv
- mountPath: /persistentvolumes
name: nfs-client-root
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: downloads
persistentVolumeClaim:
claimName: sonarr-downloads
- name: sonar
persistentVolumeClaim:
claimName: sonarr
- name: sonar-config
persistentVolumeClaim:
claimName: sonarr-config
- name: nfs-tv
nfs:
path: /volume2/vol2/TV/
server: 192.168.1.78
- name: nfs-client-root
nfs:
path: /volume1/k8s
server: 192.168.1.176