add prowlarr

This commit is contained in:
Mans Ziesel 2024-10-27 11:20:16 +01:00
parent 8541754892
commit b613e656bf
3 changed files with 69 additions and 2 deletions

View File

@ -61,3 +61,45 @@ spec:
name: plex-config
- mountPath: /data
name: plex-data
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: prowlarr
labels:
app: prowlarr
spec:
replicas: 1
selector:
matchLabels:
app: prowlarr
template:
metadata:
labels:
app: prowlarr
annotations:
spec:
volumes:
- name: prowlarr-config
persistentVolumeClaim:
claimName: mediaserver-prowlarr-config-pvc
containers:
- name: prowlarr
image: ghcr.io/hotio/prowlarr:nightly@sha256:a27cfcead7f6debe0e2e3409690ff2000076f902b38213555ad2716902823d45
resources:
requests:
cpu: 1
memory: 512Mi
ports:
- name: web
containerPort: 9696
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: Europe/Amsterdam
volumeMounts:
- mountPath: /config
name: prowlarr-config

View File

@ -7,6 +7,19 @@ spec:
- match: Host(`plex.mziesel.nl`)
kind: Rule
services:
- name: mediaserver
- name: mediaserver-plex
port: web
tls: {}
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: mediaserver-prowlarr-ingressroute
spec:
routes:
- match: Host(`prowlarr.k8s.mziesel.nl`)
kind: Rule
services:
- name: mediaserver-prowlarr
port: web
tls: {}

View File

@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: mediaserver
name: mediaserver-plex
spec:
ports:
- name: web
@ -9,3 +9,15 @@ spec:
targetPort: plex
selector:
app: plexserver
---
apiVersion: v1
kind: Service
metadata:
name: mediaserver-prowlarr
spec:
ports:
- name: web
port: 80
targetPort: web
selector:
app: prowlarr