feat: change to statefulset #5281

Merged
alexlebens merged 1 commits from tmp/tdarr into main 2026-03-30 02:34:52 +00:00
Showing only changes of commit 976df67c61 - Show all commits

View File

@@ -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: