feat: change to statefulset #5281

Merged
alexlebens merged 1 commits from tmp/tdarr into main 2026-03-30 02:34:52 +00:00

View File

@@ -39,9 +39,28 @@ tdarr:
cpu: 200m cpu: 200m
memory: 1Gi memory: 1Gi
node: node:
type: daemonset type: statefulset
replicas: 3
revisionHistoryLimit: 3 revisionHistoryLimit: 3
statefulset:
volumeClaimTemplates:
- name: transcode-cache
accessMode: ReadWriteOnce
size: 20Gi
storageClass: local-path
globalMounts:
- path: /tcache
pod: pod:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/instance
operator: In
values:
- tdarr
topologyKey: kubernetes.io/hostname
nodeSelector: nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true" intel.feature.node.kubernetes.io/gpu: "true"
containers: containers:
@@ -144,13 +163,6 @@ tdarr:
main: main:
- path: /tcache - path: /tcache
readOnly: false readOnly: false
node-cache:
type: emptyDir
advancedMounts:
node:
main:
- path: /tcache
readOnly: false
media: media:
existingClaim: tdarr-nfs-storage existingClaim: tdarr-nfs-storage
advancedMounts: advancedMounts: