---
# Shared transcode scratch. ReadWriteMany is the hard requirement for the HA
# fork: a taking-over pod must read the in-flight HLS segments written by the
# pod it replaces. Scratch data (delete reclaim); raid5 avoids the raid6
# double-parity write penalty on the many small HLS segment writes.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: cheeztv-transcode
  namespace: cheeztv
  annotations:
    # Exclude from the cheeztv-config k8up Schedule (skipWithoutAnnotation is
    # false cluster-wide, so unannotated PVCs are swept in). Transcode is RWX
    # scratch — nothing to back up.
    k8up.io/backup: "false"
spec:
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: 100Gi
  storageClassName: cephfs-raid5-delete
  volumeMode: Filesystem
