--- # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: &app jellyfin namespace: default spec: interval: 30m chart: spec: chart: app-template version: 3.5.1 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system maxHistory: 2 install: createNamespace: true remediation: retries: 3 upgrade: cleanupOnFail: true remediation: strategy: rollback retries: 3 uninstall: keepHistory: false values: defaultPodOptions: # affinity: # nodeAffinity: # preferredDuringSchedulingIgnoredDuringExecution: # - weight: 1 # preference: # matchExpressions: # # Intel N100 # - key: feature.node.kubernetes.io/cpu-model.id # operator: In # values: # - "190" # requiredDuringSchedulingIgnoredDuringExecution: # nodeSelectorTerms: # - matchExpressions: # # Intel N100 # - key: feature.node.kubernetes.io/cpu-model.id # operator: In # values: # - "190" # - key: intel.feature.node.kubernetes.io/gpu # operator: In # values: # - "true" enableServiceLinks: false securityContext: runAsUser: 568 runAsGroup: 568 fsGroup: 568 fsGroupChangePolicy: OnRootMismatch controllers: jellyfin: annotations: reloader.stakater.com/auto: "true" secret.reloader.stakater.com/reload: authelia-secret containers: app: image: repository: ghcr.io/jellyfin/jellyfin tag: 10.10.3@sha256:17c3a8d9dddb97789b5f37112840ebf96566442c14d4754193a6c2eb154bc221 env: DOTNET_SYSTEM_IO_DISABLEFILELOCKING: "true" JELLYFIN_FFmpeg__probesize: 50000000 JELLYFIN_FFmpeg__analyzeduration: 50000000 JELLYFIN_PublishedServerUrl: &loadBalancerIP ${CLUSTER_LB_JELLYFIN} TZ: ${TIMEZONE} 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 service: app: controller: *app type: LoadBalancer loadBalancerIP: 192.168.169.110 externalTrafficPolicy: Local ports: http: port: 8096 ingress: app: enabled: true className: nginx annotations: external-dns.alpha.kubernetes.io/enabled: "true" external-dns.alpha.kubernetes.io/target: services.${SECRET_DOMAIN}. hajimari.io/icon: simple-icons:jellyfin hosts: - host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}" paths: - path: / service: identifier: app port: http tls: - hosts: - *host persistence: config: enabled: true existingClaim: *app globalMounts: - path: /config music: enabled: true type: nfs server: 192.168.9.10 path: /var/mnt/vol1/music globalMounts: - path: /mnt/storage/music photo: enabled: true type: nfs server: 192.168.9.10 path: /var/mnt/vol1/photo globalMounts: - path: /mnt/storage/photo video: enabled: true type: nfs server: 192.168.9.10 path: /var/mnt/vol1/video globalMounts: - path: /mnt/storage/video transcode: enabled: true type: emptyDir globalMounts: - path: /transcode cache: enabled: true type: emptyDir globalMounts: - path: /cache