42 lines
862 B
YAML
42 lines
862 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: radarr
|
||
|
namespace: media
|
||
|
|
||
|
labels:
|
||
|
app: radarr
|
||
|
kubernetes.io/name: "radarr"
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: radarr
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: radarr
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: radarr
|
||
|
image: linuxserver/radarr
|
||
|
imagePullPolicy: Always
|
||
|
ports:
|
||
|
- containerPort: 7878
|
||
|
env:
|
||
|
- name: PGID
|
||
|
value: "1000"
|
||
|
- name: PUID
|
||
|
value: "1000"
|
||
|
volumeMounts:
|
||
|
- name: radarr
|
||
|
mountPath: /config
|
||
|
- name: radarr-media-storage
|
||
|
mountPath: /storage
|
||
|
volumes:
|
||
|
- name: radarr
|
||
|
hostPath:
|
||
|
path: /mnt/MainPool/Kubernetes/radarr
|
||
|
- name: radarr-media-storage
|
||
|
hostPath:
|
||
|
path: /mnt/MainPool/Media
|