Files
pipeline_backend/k8s/storage.yaml
2026-06-24 18:58:35 +03:00

32 lines
883 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Общее хранилище аудио для watcher / transcribe / tagging / analyse.
# На однонодовом k3s hostPath — самый простой вариант (все поды на одной ноде).
# Для кластера из нескольких нод нужен NFS/Longhorn с ReadWriteMany.
apiVersion: v1
kind: PersistentVolume
metadata:
name: audio-pipeline-storage
spec:
capacity:
storage: 20Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: manual
hostPath:
path: /var/lib/audio-pipeline/storage
type: DirectoryOrCreate
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: audio-storage
namespace: audio-pipeline
spec:
accessModes:
- ReadWriteMany
storageClassName: manual
resources:
requests:
storage: 20Gi
volumeName: audio-pipeline-storage