Compare commits
2 Commits
f9e07adc0a
...
740edf6174
Author | SHA1 | Date | |
---|---|---|---|
740edf6174 | |||
44d066dc01 |
49
mediaserver/base/mediaserver-jellyfin-deployment.yaml
Normal file
49
mediaserver/base/mediaserver-jellyfin-deployment.yaml
Normal file
@ -0,0 +1,49 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: jellyfin
|
||||
namespace: jellyfin
|
||||
labels:
|
||||
app: jellyfin
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: jellyfin
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: jellyfin
|
||||
annotations:
|
||||
spec:
|
||||
volumes:
|
||||
- name: jellyfin-config
|
||||
persistentVolumeClaim:
|
||||
claimName: mediaserver-jellyfin-config-pvc
|
||||
- name: plex-data
|
||||
persistentVolumeClaim:
|
||||
claimName: mediaserver-plex-data-pvc
|
||||
containers:
|
||||
- name: jellyfin
|
||||
image: ghcr.io/hotio/jellyfin:latest@sha256:691de0ddf8b3f27c8520f34cc566e4a18090ea2ac36a9ace1eec7184b6e9baca
|
||||
resources:
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 512Mi
|
||||
ports:
|
||||
- name: web
|
||||
containerPort: 8096
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: Europe/Amsterdam
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: jellyfin-config
|
||||
- mountPath: /data
|
||||
name: plex-data
|
12
mediaserver/base/mediaserver-jellyfin-ingress.yaml
Normal file
12
mediaserver/base/mediaserver-jellyfin-ingress.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: mediaserver-ingressroute
|
||||
spec:
|
||||
routes:
|
||||
- match: Host(`jellyfin.mziesel.nl`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: mediaserver-jellyfin
|
||||
port: web
|
||||
tls: {}
|
11
mediaserver/base/mediaserver-jellyfin-pvc.yaml
Normal file
11
mediaserver/base/mediaserver-jellyfin-pvc.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: mediaserver-jellyfin-config-pvc
|
||||
spec:
|
||||
storageClassName: nfs-client
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
11
mediaserver/base/mediaserver-jellyfin-svc.yaml
Normal file
11
mediaserver/base/mediaserver-jellyfin-svc.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mediaserver-jellyfin
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
targetPort: web
|
||||
selector:
|
||||
app: jellyfin
|
@ -21,7 +21,7 @@ spec:
|
||||
claimName: mediaserver-overseerr-config-pvc
|
||||
containers:
|
||||
- name: overseerr
|
||||
image: sctx/overseerr:latest@sha256:714ea6db2bc007a2262d112bef7eec74972eb33d9c72bddb9cbd98b8742de950
|
||||
image: ghcr.io/hotio/overseerr:latest@sha256:cb8533ef4e765c75d690d933fecb274a209f94225d418b79e8c34e6035ba920a
|
||||
resources:
|
||||
requests:
|
||||
cpu: 1
|
||||
|
@ -31,3 +31,7 @@ resources:
|
||||
- ./base/mediaserver-overseerr-ingress.yaml
|
||||
- ./base/mediaserver-overseerr-pvc.yaml
|
||||
- ./base/mediaserver-overseerr-svc.yaml
|
||||
- ./base/mediaserver-jellyfin-deployment.yaml
|
||||
- ./base/mediaserver-jellyfin-ingress.yaml
|
||||
- ./base/mediaserver-jellyfin-pvc.yaml
|
||||
- ./base/mediaserver-jellyfin-svc.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user