From 976df67c61823396459c7547ccd3cf380ad36c21 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 29 Mar 2026 21:32:02 -0500 Subject: [PATCH] feat: change to statefulset --- clusters/cl01tl/helm/tdarr/values.yaml | 28 ++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/clusters/cl01tl/helm/tdarr/values.yaml b/clusters/cl01tl/helm/tdarr/values.yaml index 5d4a2df1c..c2c17eae4 100644 --- a/clusters/cl01tl/helm/tdarr/values.yaml +++ b/clusters/cl01tl/helm/tdarr/values.yaml @@ -39,9 +39,28 @@ tdarr: cpu: 200m memory: 1Gi node: - type: daemonset + type: statefulset + replicas: 3 revisionHistoryLimit: 3 + statefulset: + volumeClaimTemplates: + - name: transcode-cache + accessMode: ReadWriteOnce + size: 20Gi + storageClass: local-path + globalMounts: + - path: /tcache pod: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/instance + operator: In + values: + - tdarr + topologyKey: kubernetes.io/hostname nodeSelector: intel.feature.node.kubernetes.io/gpu: "true" containers: @@ -144,13 +163,6 @@ tdarr: main: - path: /tcache readOnly: false - node-cache: - type: emptyDir - advancedMounts: - node: - main: - - path: /tcache - readOnly: false media: existingClaim: tdarr-nfs-storage advancedMounts: