From d0f79871c74ff77588d75cf144b28a7ba965dc83 Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Tue, 25 Aug 2026 18:34:22 -0700 Subject: [PATCH] fix: shrink immich-media to 1400Gi, real disk headroom smaller than assumed 2000Gi didn't schedule - "insufficient storage; tags not fulfilled". The cp-3 HDD's real usable capacity (~3724GiB) minus paperless-media's 2000Gi and ~231GiB of other apps' default-class replicas that Longhorn placed here anyway (tags only pull matching volumes in, don't exclude others when the untagged pool elsewhere is full) only leaves ~1493Gi of real scheduling headroom. 1400Gi fits with margin. --- k8s/apps/immich/pvc.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/k8s/apps/immich/pvc.yaml b/k8s/apps/immich/pvc.yaml index a2af6d2..c97203e 100644 --- a/k8s/apps/immich/pvc.yaml +++ b/k8s/apps/immich/pvc.yaml @@ -1,10 +1,14 @@ # Two volumes: # # - media: original photos/videos + generated thumbnails/encoded videos. -# Shares the cp-3 USB HDD with paperless-media - the 4TB disk is split -# 2TB/2TB between the two (see k8s/apps/paperless/pvc.yaml), same -# StorageClass/disk tag, single replica (single disk, no redundancy -# possible - same tradeoff paperless already accepts). +# Shares the cp-3 USB HDD with paperless-media, same StorageClass/disk tag, +# single replica (single disk, no redundancy possible - same tradeoff +# paperless already accepts). Sized 1400Gi, not 2000Gi: the disk's real +# usable capacity (~3724GiB, formatting overhead) minus paperless-media's +# 2000Gi and ~231GiB of other apps' default-class replicas that Longhorn +# placed here anyway (disk tags only pull matching volumes in, they don't +# exclude non-matching ones when the untagged pool elsewhere is full) only +# leaves ~1493Gi of real scheduling headroom right now. # - ml-cache: downloaded ML model weights for immich-machine-learning # (face detection / CLIP embeddings). Small, disposable (re-downloads on # loss), but persisted so a pod restart doesn't re-pull multi-GB models - @@ -19,7 +23,7 @@ spec: storageClassName: longhorn-paperless-media resources: requests: - storage: 2000Gi + storage: 1400Gi --- apiVersion: v1 kind: PersistentVolumeClaim