add jellyfin

This commit is contained in:
TapTap committed 2026-10-18 18:39:59 +02:00
1 parent 4d4200bda8
commit 2945150fbd
3 files changed
+95

No files matched your search

+85
View File
@@ -0,0 +1,85 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: jellyfin-deployment
labels:
app: jellyfin
spec:
replicas: 1
selector:
matchLabels:
app: jellyfin
template:
metadata:
labels:
app: jellyfin
spec:
containers:
- name: jellyfin
image: lscr.io/linuxserver/jellyfin:latest
ports:
- name: http
containerPort: 8096
- name: https
containerPort: 8920
env:
- name: TZ
value: Europe/Berlin
- name: JELLYFIN_PublishedServerUrl
value: https://jellyfin.tap-tap.win
volumeMounts:
- name: jellyfin-config
mountPath: /config
- name: jellyfin-media
mountPath: /media/family
readOnly: true
- name: jellyfin-music
mountPath: /media/music
readOnly: true
volumes:
- name: jellyfin-config
hostPath:
path: /root/kubernetes/jellyfin/data/config
- name: jellyfin-media
hostPath:
path: "/root/kubernetes/nextcloud/data/mount/html/data/TapTap/files/Media/Media Family"
- name: jellyfin-music
hostPath:
path: "/root/kubernetes/nextcloud/data/mount/html/data/TapTap/files/Media/Music"
---
apiVersion: v1
kind: Service
metadata:
name: jellyfin-service
spec:
selector:
app: jellyfin
ports:
- name: http
protocol: TCP
port: 80
targetPort: 8096
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jellyfin-ingress
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-issuer"
spec:
ingressClassName: "traefik"
tls:
- hosts:
- jellyfin.tap-tap.win
secretName: jellyfin-tls-secret
rules:
- host: jellyfin.tap-tap.win
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: jellyfin-service
port:
number: 80
+6
View File
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: jellyfin
resources:
- namespace.yaml
- jellyfin.yaml
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: jellyfin