k3s-cluster/cluster/apps/download/radarr/deployment.yaml

42 lines
871 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: radarr
namespace: download
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-download-storage
mountPath: /storage
volumes:
- name: radarr
hostPath:
path: /mnt/MainPool/Kubernetes/radarr
- name: radarr-download-storage
hostPath:
path: /mnt/MainPool/Media