117 lines
3 KiB
YAML
117 lines
3 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helm.toolkit.fluxcd.io/helmrelease_v2beta1.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: jellyfin
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 2.4.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 2
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
dependsOn:
|
|
- name: intel-device-plugins-gpu
|
|
namespace: system
|
|
values:
|
|
controllers:
|
|
main:
|
|
type: statefulset
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: jellyfin/jellyfin
|
|
tag: 10.8.13
|
|
env:
|
|
DOTNET_SYSTEM_IO_DISABLEFILELOCKING: "true"
|
|
JELLYFIN_FFmpeg__probesize: 50000000
|
|
JELLYFIN_FFmpeg__analyzeduration: 50000000
|
|
JELLYFIN_PublishedServerUrl: jelly.hsn.dev
|
|
TZ: America/Chicago
|
|
probes:
|
|
liveness: &probes
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /health
|
|
port: &port 8096
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
failureThreshold: 3
|
|
readiness: *probes
|
|
startup:
|
|
enabled: false
|
|
resources:
|
|
requests:
|
|
gpu.intel.com/i915: 1
|
|
cpu: 100m
|
|
memory: 512Mi
|
|
limits:
|
|
gpu.intel.com/i915: 1
|
|
memory: 4Gi
|
|
pod:
|
|
enableServiceLinks: false
|
|
nodeSelector:
|
|
intel.feature.node.kubernetes.io/gpu: "true"
|
|
securityContext:
|
|
runAsUser: 568
|
|
runAsGroup: 568
|
|
fsGroup: 568
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
supplementalGroups: [44, 105, 10000]
|
|
statefulset:
|
|
volumeClaimTemplates:
|
|
- name: config
|
|
accessMode: ReadWriteOnce
|
|
size: 50Gi
|
|
storageClass: local-hostpath
|
|
globalMounts:
|
|
- path: /config
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: *port
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
className: hsn-nginx
|
|
annotations:
|
|
hosts:
|
|
- host: &host "jelly.hsn.dev"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
name: main
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
transcode:
|
|
type: emptyDir
|
|
globalMounts:
|
|
- path: /transcode
|
|
media:
|
|
existingClaim: media
|
|
globalMounts:
|
|
- path: /media
|