Files
homelab-k3s/apps/tududi/storage.yaml
T

32 lines
767 B
YAML
Raw Normal View History

2026-08-12 12:46:58 -07:00
# One volume for both of tududi's data paths, mounted twice with subPath.
# Declaring the same PVC as two separate volume entries in one pod wedges
# kubelet's volume setup (pod stuck in Init with no events) -- that is what
# happened with limesurvey; do not split this into db-pv and uploads-pv.
apiVersion: v1
kind: PersistentVolume
metadata:
name: tududi-pv
spec:
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
volumeMode: Filesystem
hostPath:
path: /mnt/gvolume0/tududi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: tududi
namespace: tududi
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: ""
volumeName: tududi-pv