From 6e97def00909c1f244498186f48168acc622ee6f Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Tue, 25 Aug 2026 11:38:03 -0700 Subject: [PATCH] fix: drop invalid nodeSelector param from paperless-media StorageClass Longhorn's StorageClass nodeSelector matches node tags (nodes.longhorn.io spec.tags), not k8s hostnames - "talos-cp-3" was never set as a node tag, so every PVC provision attempt failed with "specified node tag talos-cp-3 does not exist". diskSelector: paperless-media already pins placement correctly on its own. --- k8s/infra/longhorn/longhorn-paperless-storageclass.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/k8s/infra/longhorn/longhorn-paperless-storageclass.yaml b/k8s/infra/longhorn/longhorn-paperless-storageclass.yaml index df37642..57d1f18 100644 --- a/k8s/infra/longhorn/longhorn-paperless-storageclass.yaml +++ b/k8s/infra/longhorn/longhorn-paperless-storageclass.yaml @@ -16,7 +16,12 @@ reclaimPolicy: Retain volumeBindingMode: WaitForFirstConsumer parameters: numberOfReplicas: "1" + # diskSelector alone is sufficient: only cp-3 has a disk tagged + # paperless-media, so placement is already pinned. A nodeSelector value + # here must be a Longhorn *node* tag (set via nodes.longhorn.io spec.tags), + # not a Kubernetes hostname - "talos-cp-3" was never a node tag, which made + # every provision attempt fail with "specified node tag talos-cp-3 does + # not exist". diskSelector: "paperless-media" - nodeSelector: "talos-cp-3" staleReplicaTimeout: "30" fsType: "ext4"