Files
k8s-starter-pack/apps/radarr/deployment.yaml
T

64 lines
1.7 KiB
YAML
Raw Normal View History

2026-11-01 12:34:13 +00:00
# bazarr image from hotio ghcr.io/hotio/radarr
apiVersion: apps/v1
kind: Deployment
metadata:
name: radarr
namespace: radarr
spec:
# Not Critical Infra so a single pod is fine
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: radarr
template:
metadata:
labels:
app: radarr
spec:
containers:
- name: radarr
image: ghcr.io/hotio/radarr:release
imagePullPolicy: Always
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "002"
- name: TZ
value: "Europe/London"
ports:
- name: http
containerPort: 7878
protocol: TCP
volumeMounts:
- name: radarr-config
mountPath: /config
# Mount each media directory directly instead of using subPath.
# The NFS export root is not listable by root-squashed clients, so
# kubelet cannot safely prepare subPath mounts from that root.
- name: movies
mountPath: /movies
- name: torrents
mountPath: /data/torrents
- name: usenet
mountPath: /data/usenet
volumes:
- name: radarr-config
persistentVolumeClaim:
claimName: radarr-config
- name: movies
nfs:
server: nas.ahmza.com
path: /srv/media/Movies
- name: torrents
nfs:
server: nas.ahmza.com
path: /srv/media/torrents
- name: usenet
nfs:
server: nas.ahmza.com
path: /srv/media/usenet