argocd-test/mediaserver/base/mediaserver-radarr-deployment.yaml

52 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: radarr
labels:
app: radarr
spec:
replicas: 1
selector:
matchLabels:
app: radarr
template:
metadata:
labels:
app: radarr
annotations:
spec:
volumes:
- name: radarr-config
persistentVolumeClaim:
claimName: mediaserver-radarr-config-pvc
- name: plex-data
persistentVolumeClaim:
claimName: mediaserver-plex-data-pvc
- name: rdtclient-downloads
persistentVolumeClaim:
claimName: mediaserver-rdtclient-downloads-pvc
containers:
- name: radarr
image: ghcr.io/hotio/radarr:nightly@sha256:4ae34fcfa53ab10674ec31b69f7057f35e4b553338eb9bfcb7b5afb32b4edba0
resources:
requests:
cpu: 1
memory: 512Mi
ports:
- name: web
containerPort: 7878
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: Europe/Amsterdam
volumeMounts:
- mountPath: /config
name: radarr-config
- mountPath: /data/downloads
name: rdtclient-downloads
- mountPath: /media
name: plex-data