2023-11-17 10:56:26 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: sonarr
|
|
|
|
name: sonarr
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: sonarr
|
2024-10-03 15:54:47 +00:00
|
|
|
strategy:
|
|
|
|
type: Recreate
|
2023-11-17 10:56:26 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: sonarr
|
|
|
|
spec:
|
|
|
|
containers:
|
2024-01-30 11:29:21 +00:00
|
|
|
- image: hotio/sonarr:release-4.0.1.929
|
|
|
|
imagePullPolicy: Always
|
2023-11-17 10:56:26 +00:00
|
|
|
name: sonarr
|
|
|
|
ports:
|
|
|
|
- containerPort: 8989
|
|
|
|
name: http
|
|
|
|
protocol: TCP
|
2024-10-03 15:55:31 +00:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 25m
|
|
|
|
memory: 628694953
|
2023-11-17 10:56:26 +00:00
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /config
|
|
|
|
name: config
|
|
|
|
- mountPath: /data
|
|
|
|
name: data
|
|
|
|
- mountPath: /series
|
|
|
|
name: series
|
2024-10-19 20:15:24 +00:00
|
|
|
- mountPath: /combinedseries
|
|
|
|
name: combinedseries
|
2023-11-17 10:56:26 +00:00
|
|
|
dnsPolicy: ClusterFirst
|
|
|
|
restartPolicy: Always
|
|
|
|
schedulerName: default-scheduler
|
|
|
|
terminationGracePeriodSeconds: 30
|
|
|
|
volumes:
|
|
|
|
- name: config
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: sonarr-config-data
|
|
|
|
- name: series
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: smb-series
|
2024-10-19 20:15:24 +00:00
|
|
|
- name: combinedseries
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: smb-combinedseries
|
2023-11-17 10:56:26 +00:00
|
|
|
- name: data
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: smb-usenet
|