summaryrefslogtreecommitdiff
path: root/f3s/beets-art/helm-chart/templates/persistent-volume.yaml
blob: 0b6c422bf473aa8a9df67b4ccf8ec5e98f9d2447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# beets-art-state-pvc: small local-path PVC on r1 for the beets SQLite DB,
# logs, and any temp working files. Same reasoning as navidrome-data-pvc:
#   - SQLite over NFS is fragile under concurrent locks.
#   - The CronJob is pinned to r1 (see cronjob.yaml nodeSelector), and the
#     local-path provisioner pins the PV to whichever node first consumes
#     it (WaitForFirstConsumer), so r1 is always the home.
# Contents are essentially regenerable: deleting this PVC just forces the
# next run to re-import the library (slower one-off, then incremental again).
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: beets-art-state-pvc
  namespace: services
spec:
  storageClassName: local-path
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 2Gi