Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor jellyfin changes #252

Merged
merged 1 commit into from
Feb 1, 2025
Merged

Conversation

RonaldPhilipsen
Copy link
Owner

No description provided.

Copy link
Contributor

github-actions bot commented Feb 1, 2025

--- kubernetes/apps/default/jellyfin/app Kustomization: flux-system/jellyfin HelmRelease: default/jellyfin

+++ kubernetes/apps/default/jellyfin/app Kustomization: flux-system/jellyfin HelmRelease: default/jellyfin

@@ -13,12 +13,15 @@

       chart: app-template
       sourceRef:
         kind: HelmRepository
         name: bjw-s
         namespace: flux-system
       version: 3.6.1
+  dependsOn:
+  - name: intel-device-plugin-gpu
+    namespace: kube-system
   install:
     remediation:
       retries: 0
   interval: 15m
   maxHistory: 2
   uninstall:
@@ -27,19 +30,22 @@

     cleanupOnFail: true
     remediation:
       retries: 0
   values:
     controllers:
       jellyfin:
+        annotations:
+          reloader.stakater.com/auto: 'true'
         containers:
           main:
             env:
               DOTNET_SYSTEM_IO_DISABLEFILELOCKING: 'true'
               JELLYFIN_FFmpeg__analyzeduration: 50000000
               JELLYFIN_FFmpeg__probesize: 50000000
               JELLYFIN_PublishedServerUrl: '{{ .Release.Name }}...PLACEHOLDER_SECRET_DOMAIN..'
+              TZ: Europe/Amsterdam
             image:
               pullPolicy: Always
               repository: jellyfin/jellyfin
               tag: 10.10.5
             probes:
               liveness:
@@ -113,24 +119,23 @@

           paths:
           - path: /
             service:
               identifier: app
               port: http
     persistence:
+      cache:
+        globalMounts:
+        - path: /cache
+        type: emptyDir
       config:
         existingClaim: jellyfin
       data:
         existingClaim: media-nfs
-      tmp:
-        enabled: true
+      transcode:
         globalMounts:
-        - path: /tmp
-          subPath: tmp
         - path: /transcode
-          subPath: transcode
-        medium: Memory
         type: emptyDir
     service:
       app:
         controller: jellyfin
         ports:
           http:

Copy link
Contributor

github-actions bot commented Feb 1, 2025

--- HelmRelease: default/jellyfin Deployment: default/jellyfin

+++ HelmRelease: default/jellyfin Deployment: default/jellyfin

@@ -5,12 +5,14 @@

   name: jellyfin
   labels:
     app.kubernetes.io/component: jellyfin
     app.kubernetes.io/instance: jellyfin
     app.kubernetes.io/managed-by: Helm
     app.kubernetes.io/name: jellyfin
+  annotations:
+    reloader.stakater.com/auto: 'true'
 spec:
   revisionHistoryLimit: 3
   replicas: 1
   strategy:
     type: Recreate
   selector:
@@ -56,12 +58,14 @@

         - name: JELLYFIN_FFmpeg__analyzeduration
           value: 5e+07
         - name: JELLYFIN_FFmpeg__probesize
           value: 5e+07
         - name: JELLYFIN_PublishedServerUrl
           value: jellyfin...PLACEHOLDER_SECRET_DOMAIN..
+        - name: TZ
+          value: Europe/Amsterdam
         image: jellyfin/jellyfin:10.10.5
         imagePullPolicy: Always
         livenessProbe:
           failureThreshold: 3
           httpGet:
             path: /health
@@ -91,27 +95,26 @@

             path: /health
             port: 8096
           initialDelaySeconds: 0
           periodSeconds: 10
           timeoutSeconds: 1
         volumeMounts:
+        - mountPath: /cache
+          name: cache
         - mountPath: /config
           name: config
         - mountPath: /data
           name: data
-        - mountPath: /tmp
-          name: tmp
-          subPath: tmp
         - mountPath: /transcode
-          name: tmp
-          subPath: transcode
+          name: transcode
       volumes:
+      - emptyDir: {}
+        name: cache
       - name: config
         persistentVolumeClaim:
           claimName: jellyfin
       - name: data
         persistentVolumeClaim:
           claimName: media-nfs
-      - emptyDir:
-          medium: Memory
-        name: tmp
+      - emptyDir: {}
+        name: transcode
 

Copy link
Contributor

github-actions bot commented Feb 1, 2025

--- kubernetes/apps/default/jellyfin/app Kustomization: flux-system/jellyfin HelmRelease: default/jellyfin

+++ kubernetes/apps/default/jellyfin/app Kustomization: flux-system/jellyfin HelmRelease: default/jellyfin

@@ -13,12 +13,15 @@

       chart: app-template
       sourceRef:
         kind: HelmRepository
         name: bjw-s
         namespace: flux-system
       version: 3.6.1
+  dependsOn:
+  - name: intel-device-plugin-gpu
+    namespace: kube-system
   install:
     remediation:
       retries: 0
   interval: 15m
   maxHistory: 2
   uninstall:
@@ -27,19 +30,22 @@

     cleanupOnFail: true
     remediation:
       retries: 0
   values:
     controllers:
       jellyfin:
+        annotations:
+          reloader.stakater.com/auto: 'true'
         containers:
           main:
             env:
               DOTNET_SYSTEM_IO_DISABLEFILELOCKING: 'true'
               JELLYFIN_FFmpeg__analyzeduration: 50000000
               JELLYFIN_FFmpeg__probesize: 50000000
               JELLYFIN_PublishedServerUrl: '{{ .Release.Name }}...PLACEHOLDER_SECRET_DOMAIN..'
+              TZ: Europe/Amsterdam
             image:
               pullPolicy: Always
               repository: jellyfin/jellyfin
               tag: 10.10.5
             probes:
               liveness:
@@ -113,24 +119,23 @@

           paths:
           - path: /
             service:
               identifier: app
               port: http
     persistence:
+      cache:
+        globalMounts:
+        - path: /cache
+        type: emptyDir
       config:
         existingClaim: jellyfin
       data:
         existingClaim: media-nfs
-      tmp:
-        enabled: true
+      transcode:
         globalMounts:
-        - path: /tmp
-          subPath: tmp
         - path: /transcode
-          subPath: transcode
-        medium: Memory
         type: emptyDir
     service:
       app:
         controller: jellyfin
         ports:
           http:

Copy link
Contributor

github-actions bot commented Feb 1, 2025

--- HelmRelease: default/jellyfin Deployment: default/jellyfin

+++ HelmRelease: default/jellyfin Deployment: default/jellyfin

@@ -5,12 +5,14 @@

   name: jellyfin
   labels:
     app.kubernetes.io/component: jellyfin
     app.kubernetes.io/instance: jellyfin
     app.kubernetes.io/managed-by: Helm
     app.kubernetes.io/name: jellyfin
+  annotations:
+    reloader.stakater.com/auto: 'true'
 spec:
   revisionHistoryLimit: 3
   replicas: 1
   strategy:
     type: Recreate
   selector:
@@ -56,12 +58,14 @@

         - name: JELLYFIN_FFmpeg__analyzeduration
           value: 5e+07
         - name: JELLYFIN_FFmpeg__probesize
           value: 5e+07
         - name: JELLYFIN_PublishedServerUrl
           value: jellyfin...PLACEHOLDER_SECRET_DOMAIN..
+        - name: TZ
+          value: Europe/Amsterdam
         image: jellyfin/jellyfin:10.10.5
         imagePullPolicy: Always
         livenessProbe:
           failureThreshold: 3
           httpGet:
             path: /health
@@ -91,27 +95,26 @@

             path: /health
             port: 8096
           initialDelaySeconds: 0
           periodSeconds: 10
           timeoutSeconds: 1
         volumeMounts:
+        - mountPath: /cache
+          name: cache
         - mountPath: /config
           name: config
         - mountPath: /data
           name: data
-        - mountPath: /tmp
-          name: tmp
-          subPath: tmp
         - mountPath: /transcode
-          name: tmp
-          subPath: transcode
+          name: transcode
       volumes:
+      - emptyDir: {}
+        name: cache
       - name: config
         persistentVolumeClaim:
           claimName: jellyfin
       - name: data
         persistentVolumeClaim:
           claimName: media-nfs
-      - emptyDir:
-          medium: Memory
-        name: tmp
+      - emptyDir: {}
+        name: transcode
 

@RonaldPhilipsen RonaldPhilipsen merged commit 8fe7d46 into main Feb 1, 2025
5 checks passed
@RonaldPhilipsen RonaldPhilipsen deleted the feat-jellyfin-modifications branch February 1, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant