From 1b4e34cbe49779e685762f359f0fd9ccc24bf88f Mon Sep 17 00:00:00 2001 From: Fishandchips321 Date: Wed, 15 Apr 2026 16:17:14 +0100 Subject: [PATCH 1/3] feat(radarr): Added radarr config and readme content --- Radarr/README.md | 8 ++++++ Radarr/deployment.yml | 63 +++++++++++++++++++++++++++++++++++++++++++ Radarr/ingress.yml | 22 +++++++++++++++ Radarr/service.yml | 11 ++++++++ 4 files changed, 104 insertions(+) create mode 100644 Radarr/deployment.yml create mode 100644 Radarr/ingress.yml create mode 100644 Radarr/service.yml diff --git a/Radarr/README.md b/Radarr/README.md index e69de29..ce91fa4 100644 --- a/Radarr/README.md +++ b/Radarr/README.md @@ -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.
+\- [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) \ No newline at end of file diff --git a/Radarr/deployment.yml b/Radarr/deployment.yml new file mode 100644 index 0000000..1039b43 --- /dev/null +++ b/Radarr/deployment.yml @@ -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: + type: Directory + - name: downloads + hostPath: + path: + type: Directory +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: radarr-config-pvc +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 512Mi diff --git a/Radarr/ingress.yml b/Radarr/ingress.yml new file mode 100644 index 0000000..f55d77a --- /dev/null +++ b/Radarr/ingress.yml @@ -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: + - + secretName: radarr-tls + rules: + - host: + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: radarr + port: + number: 80 diff --git a/Radarr/service.yml b/Radarr/service.yml new file mode 100644 index 0000000..0f9686f --- /dev/null +++ b/Radarr/service.yml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: radarr +spec: + selector: + app: radarr + ports: + - name: http + port: 80 + targetPort: 7878 From 5bab8add83d578d480fde0aa505a139c2be822b0 Mon Sep 17 00:00:00 2001 From: Fishandchips321 Date: Wed, 15 Apr 2026 16:23:35 +0100 Subject: [PATCH 2/3] feat(sonarr): added readme content and kube config --- Sonarr/README.md | 8 ++++++ Sonarr/deployment.yml | 63 +++++++++++++++++++++++++++++++++++++++++++ Sonarr/ingress.yml | 22 +++++++++++++++ Sonarr/service.yml | 11 ++++++++ 4 files changed, 104 insertions(+) create mode 100644 Sonarr/deployment.yml create mode 100644 Sonarr/ingress.yml create mode 100644 Sonarr/service.yml diff --git a/Sonarr/README.md b/Sonarr/README.md index e69de29..dde17a7 100644 --- a/Sonarr/README.md +++ b/Sonarr/README.md @@ -0,0 +1,8 @@ +# Sonarr +Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
+\- [source](https://github.com/Sonarr/Sonarr) + +## 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 TV shows will be stored by Sonarr). Also set the user ID and group ID that Sonarr will run under. This will affect the user and group of files and folders managed by Sonarr + +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) \ No newline at end of file diff --git a/Sonarr/deployment.yml b/Sonarr/deployment.yml new file mode 100644 index 0000000..009eff7 --- /dev/null +++ b/Sonarr/deployment.yml @@ -0,0 +1,63 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: sonarr +spec: + replicas: 1 + selector: + matchLabels: + app: sonarr + template: + metadata: + labels: + app: sonarr + spec: + containers: + - name: sonarr + image: linuxserver/sonarr:latest + ports: + - containerPort: 8989 + resources: + requests: + cpu: "250m" + memory: "256Mi" + limits: + cpu: "500m" + memory: "1Gi" + volumeMounts: + - name: config + mountPath: /config + - name: media + mountPath: /media + - name: downloads + mountPath: /downloads + env: + - name: PUID + value: + - name: PGID + value: + - name: TZ + value: "UTC" + volumes: + - name: config + persistentVolumeClaim: + claimName: sonarr-config-pvc + - name: media + hostPath: + path: + type: Directory + - name: downloads + hostPath: + path: + type: Directory +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: sonarr-config-pvc +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 5Gi diff --git a/Sonarr/ingress.yml b/Sonarr/ingress.yml new file mode 100644 index 0000000..b631355 --- /dev/null +++ b/Sonarr/ingress.yml @@ -0,0 +1,22 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: sonarr-ingress + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-production" +spec: + tls: + - hosts: + - + secretName: sonarr-tls + rules: + - host: + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: sonarr + port: + number: 80 diff --git a/Sonarr/service.yml b/Sonarr/service.yml new file mode 100644 index 0000000..b55c86b --- /dev/null +++ b/Sonarr/service.yml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: sonarr +spec: + selector: + app: sonarr + ports: + - protocol: TCP + port: 80 + targetPort: 8989 From 68d9bb70e13c0db394df516dbe2444279ea38a5d Mon Sep 17 00:00:00 2001 From: Fishandchips321 Date: Wed, 15 Apr 2026 16:24:23 +0100 Subject: [PATCH 3/3] feat(radarr): Changed uid and gid env variables to be set by the user --- Radarr/README.md | 2 +- Radarr/deployment.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Radarr/README.md b/Radarr/README.md index ce91fa4..7d3cf15 100644 --- a/Radarr/README.md +++ b/Radarr/README.md @@ -3,6 +3,6 @@ Radarr is a movie collection manager for Usenet and BitTorrent users. It can mon \- [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 `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). Also set the user ID and group ID that Radarr will run under. This will affect the user and group of files and folders managed 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) \ No newline at end of file diff --git a/Radarr/deployment.yml b/Radarr/deployment.yml index 1039b43..8210d5b 100644 --- a/Radarr/deployment.yml +++ b/Radarr/deployment.yml @@ -19,9 +19,9 @@ spec: - containerPort: 7878 env: - name: PUID - value: "997" + value: - name: PGID - value: "997" + value: - name: TZ value: "UTC" resources: