066dc41b55
The jellyfin-config Schedule had no PVC selector and the k8up chart runs skipWithoutAnnotation=false, so restic swept in every PVC in the namespace (media, transcode scratch, redis, per-pod cache, CNPG data) — RWO volumes also fail to mount while in use. k8up 4.10.0's Schedule CRD has no positive PVC selector, so exclude every non-config PVC by annotation. - Annotate media-tv, media-movies, transcode and redis-data PVCs with k8up.io/backup: "false". - Annotate the per-pod cache volumeClaimTemplate the same way. - Propagate the annotation to the CNPG data PVCs via inheritedMetadata (postgres has its own barmanObjectStore backup). - Leave jellyfin-config unannotated so it remains the only backup target.
20 lines
541 B
YAML
20 lines
541 B
YAML
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: jellyfin-redis-data
|
|
namespace: jellyfin
|
|
annotations:
|
|
# Exclude from the jellyfin-config k8up Schedule (skipWithoutAnnotation is
|
|
# false cluster-wide, so unannotated PVCs are swept in). Redis holds only
|
|
# ephemeral transcode-lease state; RWO would also fail to mount while in use.
|
|
k8up.io/backup: "false"
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 5Gi
|
|
storageClassName: cephrbd-fast-delete
|
|
volumeMode: Filesystem
|