feat(radarr): Added radarr config and readme content

This commit is contained in:
Fishandchips321 2026-04-15 16:17:14 +01:00
parent ee53709994
commit 1b4e34cbe4
4 changed files with 104 additions and 0 deletions

View file

@ -0,0 +1,8 @@
# Radarr
Radarr is a movie collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new movies and will interface with clients and indexers to grab, sort, and rename them. It can also be configured to automatically upgrade the quality of existing files in the library when a better quality format becomes available. Note that only one type of a given movie is supported. If you want both a 4k version and 1080p version of a given movie you will need multiple instances.<br>
\- [source](https://github.com/Radarr/Radarr)
## Using this kubernetes config
In `deployment.yml`, set the host paths for the downloads folder (the folder that your download client of choice will download files to) and the media folder (where the movies will be stored by Radarr).
In `ingress.yml`, set the hostname that users will use to connect to the service. This config assumes you have cert-manager installed on your cluster, so if you want to provide HTTPS another way, feel free to comment out the `spec.tls` section (the annotation shouldn't affect anything, but you can comment it out as well if you want)

63
Radarr/deployment.yml Normal file
View file

@ -0,0 +1,63 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: radarr
spec:
replicas: 1
selector:
matchLabels:
app: radarr
template:
metadata:
labels:
app: radarr
spec:
containers:
- name: radarr
image: linuxserver/radarr:latest
ports:
- containerPort: 7878
env:
- name: PUID
value: "997"
- name: PGID
value: "997"
- name: TZ
value: "UTC"
resources:
limits:
memory: "512Mi"
cpu: "500m"
requests:
memory: "256Mi"
cpu: "250m"
volumeMounts:
- name: config
mountPath: /config
- name: media
mountPath: /media
- name: downloads
mountPath: /downloads
volumes:
- name: config
persistentVolumeClaim:
claimName: radarr-config-pvc
- name: media
hostPath:
path: <media directory host path>
type: Directory
- name: downloads
hostPath:
path: <downloads directory host path>
type: Directory
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: radarr-config-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 512Mi

22
Radarr/ingress.yml Normal file
View file

@ -0,0 +1,22 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: radarr
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-production"
spec:
tls:
- hosts:
- <radarr domain name>
secretName: radarr-tls
rules:
- host: <radarr domain name>
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: radarr
port:
number: 80

11
Radarr/service.yml Normal file
View file

@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: radarr
spec:
selector:
app: radarr
ports:
- name: http
port: 80
targetPort: 7878