44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: sonarr
|
|
namespace: pvr
|
|
labels:
|
|
app: sonarr
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: sonarr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: sonarr
|
|
spec:
|
|
containers:
|
|
- name: sonarr
|
|
# image: bv11-cr01.bessems.eu/proxy/linuxserver/sonarr:latest
|
|
image: linuxserver/sonarr:latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- name: web
|
|
containerPort: 8989
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: flexvolsmb-sonarr-config
|
|
- mountPath: /tv
|
|
name: flexvolsmb-pvr-series
|
|
- mountPath: /downloads
|
|
name: smb-pvr-volatile
|
|
subPath: downloads
|
|
volumes:
|
|
- name: flexvolsmb-sonarr-config
|
|
persistentVolumeClaim:
|
|
claimName: flexvolsmb-sonarr-config
|
|
- name: flexvolsmb-pvr-series
|
|
persistentVolumeClaim:
|
|
claimName: flexvolsmb-pvr-series
|
|
- name: smb-pvr-volatile
|
|
persistentVolumeClaim:
|
|
claimName: smb-pvr-volatile
|