changes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user