feat: change to statefulset
All checks were successful
lint-test-helm / lint-helm (pull_request) Successful in 31s
lint-test-helm / validate-kubeconform (pull_request) Successful in 35s
render-manifests / render-manifests (pull_request) Successful in 37s

This commit is contained in:
2026-03-29 21:32:02 -05:00
parent 4130942c87
commit 976df67c61

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: