feat: change to statefulset (#5281)
All checks were successful
lint-test-helm / lint-helm (push) Successful in 1m16s
lint-test-helm / validate-kubeconform (push) Has been skipped
renovate / renovate (push) Successful in 3m50s

Reviewed-on: #5281
This commit was merged in pull request #5281.
This commit is contained in:
2026-03-30 02:34:50 +00:00
parent deee5fe36d
commit 0810010c72

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: