add overseerr

This commit is contained in:
Mans Ziesel 2024-10-30 14:09:59 +01:00
parent 55de03de3d
commit 8fee4b760f
5 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,41 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: overseerr
labels:
app: overseerr
spec:
replicas: 1
selector:
matchLabels:
app: overseerr
template:
metadata:
labels:
app: overseerr
annotations:
spec:
volumes:
- name: overseerr-config
persistentVolumeClaim:
claimName: mediaserver-overseerr-config-pvc
containers:
- name: overseerr
image: sctx/overseerr:latest@sha256:714ea6db2bc007a2262d112bef7eec74972eb33d9c72bddb9cbd98b8742de950
resources:
requests:
cpu: 1
memory: 512Mi
ports:
- name: web
containerPort: 5055
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: Europe/Amsterdam
volumeMounts:
- mountPath: /app/config
name: overseerr-config

View File

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

View File

@ -0,0 +1,11 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: mediaserver-overseerr-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-overseerr
spec:
ports:
- name: web
port: 80
targetPort: web
selector:
app: overseerr

View File

@ -27,3 +27,7 @@ resources:
- ./base/mediaserver-sonarr-svc.yaml
- ./base/mediaserver-flaresolverr-deployment.yaml
- ./base/mediaserver-flaresolverr-svc.yaml
- ./base/mediaserver-overseerr-deployment.yaml
- ./base/mediaserver-overseerr-ingress.yaml
- ./base/mediaserver-overseerr-pvc.yaml
- ./base/mediaserver-overseerr-svc.yaml