50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: sonarr
|
|
name: sonarr
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: sonarr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: sonarr
|
|
spec:
|
|
containers:
|
|
- image: hotio/sonarr:release
|
|
imagePullPolicy: IfNotPresent
|
|
name: sonarr
|
|
ports:
|
|
- containerPort: 8989
|
|
name: http
|
|
protocol: TCP
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: config
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /series
|
|
name: series
|
|
- mountPath: /oldseries
|
|
name: oldseries
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: sonarr-config-data
|
|
- name: series
|
|
persistentVolumeClaim:
|
|
claimName: smb-series
|
|
- name: oldseries
|
|
persistentVolumeClaim:
|
|
claimName: smb-oldseries
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: smb-usenet
|