This commit is contained in:
2026-01-02 13:57:00 -07:00
parent e0093b0e53
commit 094aa7efd2
6 changed files with 99 additions and 45 deletions

View File

@@ -13,13 +13,18 @@ spec:
labels:
app: jellyfin
spec:
hostNetwork: true
containers:
- name: jellyfin
image: jellyfin/jellyfin
securityContext:
runAsUser: 1000
runAsGroup: 1000
supplementalGroups:
- 303 # render group for GPU access
volumeMounts:
- name: dri-device
mountPath: /dev/dri/renderD128
- name: config-volume
mountPath: /config
- name: cache-volume
@@ -52,4 +57,8 @@ spec:
- name: tvshows-volume
hostPath:
path: /data/jellyfin/tvshows
restartPolicy: Always
- name: dri-device
hostPath:
path: /dev/dri/renderD128
type: CharDevice
restartPolicy: Always

View File

@@ -1,14 +1,14 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jellyfin-ingress
namespace: projects
spec:
rules:
- host: jellyfin.alexmickelson.guru
http:
paths:
- path: /
backend:
service: jellyfin
port: 8096
# apiVersion: networking.k8s.io/v1
# kind: Ingress
# metadata:
# name: jellyfin-ingress
# namespace: projects
# spec:
# rules:
# - host: jellyfin.alexmickelson.guru
# http:
# paths:
# - path: /
# backend:
# service: jellyfin
# port: 8096

View File

@@ -10,4 +10,18 @@ spec:
- protocol: TCP
port: 8096
targetPort: 8096
type: ClusterIP
nodePort: 30096
type: NodePort
# apiVersion: v1
# kind: Service
# metadata:
# name: jellyfin
# namespace: projects
# spec:
# selector:
# app: jellyfin
# ports:
# - protocol: TCP
# port: 8096
# targetPort: 8096
# type: ClusterIP