# Two volumes, deliberately separate storage classes: # # - media: the actual documents (originals + OCR'd archive PDFs + thumbnails). # Lives on the cp-3 USB HDD, single replica (see # k8s/infra/longhorn/longhorn-paperless-storageclass.yaml). The 4TB disk is # now split 2TB/2TB with Immich's immich-media PVC # (k8s/apps/immich/pvc.yaml), same StorageClass/disk tag - capped at 2000Gi # here to leave Immich its half. # - data: the SQLite classification model + search index. Small (low GB), # frequently rewritten, and disposable (rebuilds from the DB + media on # next consume) - stays on the default 3-replica pool instead of the # single-disk HDD. apiVersion: v1 kind: PersistentVolumeClaim metadata: name: paperless-media spec: accessModes: - ReadWriteOnce storageClassName: longhorn-paperless-media resources: requests: storage: 2000Gi --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: paperless-data spec: accessModes: - ReadWriteOnce storageClassName: longhorn resources: requests: storage: 5Gi