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

42 lines
862 B
YAML
Raw Normal View History

2023-04-03 05:12:51 +00:00
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