add jellyseerr

This commit is contained in:
Mans Ziesel 2024-10-31 13:53:33 +01:00
parent 987ee2a407
commit c88b74b6fe
5 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,43 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: jellyseerr
labels:
app: jellyseerr
spec:
replicas: 1
selector:
matchLabels:
app: jellyseerr
template:
metadata:
labels:
app: jellyseerr
annotations:
spec:
volumes:
- name: jellyseerr-config
persistentVolumeClaim:
claimName: mediaserver-jellyseerr-config-pvc
containers:
- name: jellyseerr
image: ghcr.io/hotio/jellyseerr:latest@sha256:312cd9dbe644a6aaac7d14aec1743c850d612c117815d27306f700090bff53c0
resources:
requests:
cpu: 1
memory: 512Mi
ports:
- name: web
containerPort: 5055
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "002"
- name: TZ
value: Europe/Amsterdam
volumeMounts:
- mountPath: /config
name: jellyseerr-config

View File

@ -0,0 +1,12 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: mediaserver-jellyseerr-ingressroute
spec:
routes:
- match: Host(`jellyseerr.k8s.mziesel.nl`) || Host(`jellyseerr.mziesel.nl`)
kind: Rule
services:
- name: mediaserver-jellyseerr
port: web
tls: {}

View File

@ -0,0 +1,11 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: mediaserver-jellyseerr-config-pvc
spec:
storageClassName: nfs-client
accessModes:
- ReadWriteMany
resources:
requests:
storage: 2Gi

View File

@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: mediaserver-jellyseerr
spec:
ports:
- name: web
port: 80
targetPort: web
selector:
app: jellyseerr

View File

@ -35,3 +35,7 @@ resources:
- ./base/mediaserver-jellyfin-ingress.yaml - ./base/mediaserver-jellyfin-ingress.yaml
- ./base/mediaserver-jellyfin-pvc.yaml - ./base/mediaserver-jellyfin-pvc.yaml
- ./base/mediaserver-jellyfin-svc.yaml - ./base/mediaserver-jellyfin-svc.yaml
- ./base/mediaserver-jellyseerr-deployment.yaml
- ./base/mediaserver-jellyseerr-ingress.yaml
- ./base/mediaserver-jellyseerr-pvc.yaml
- ./base/mediaserver-jellyseerr-svc.yaml