From 994d408c8ff7f41ad1eb3b8ce0536a432ad634c5 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Fri, 27 Nov 2026 00:02:53 +1100 Subject: [PATCH 1/2] Scale cheeztv and fafflix to zero (#600) storageClassName is immutable, so moving the Jellyfin config/transcode PVCs from raid5 to raid6 means deleting and recreating them under the same names. Pods must be gone first so the PVCs can actually be released. - set cheeztv and fafflix StatefulSets to replicas: 0 Reviewed-on: https://git.unkin.net/unkin/argocd-apps/pulls/600 Co-authored-by: unkin-agent Co-committed-by: unkin-agent --- apps/base/cheeztv/statefulset.yaml | 2 +- apps/base/fafflix/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/base/cheeztv/statefulset.yaml b/apps/base/cheeztv/statefulset.yaml index 8a3fc99..106c10c 100644 --- a/apps/base/cheeztv/statefulset.yaml +++ b/apps/base/cheeztv/statefulset.yaml @@ -10,7 +10,7 @@ spec: # HA: two replicas coordinate transcode session ownership through Valkey and # resume each other's HLS segments off the shared RWX transcode PVC. Stable # pod names (cheeztv-0/1) are the lease owner identity, hence StatefulSet. - replicas: 2 + replicas: 0 serviceName: cheeztv podManagementPolicy: Parallel updateStrategy: diff --git a/apps/base/fafflix/statefulset.yaml b/apps/base/fafflix/statefulset.yaml index 12b9007..2a59f11 100644 --- a/apps/base/fafflix/statefulset.yaml +++ b/apps/base/fafflix/statefulset.yaml @@ -10,7 +10,7 @@ spec: # HA: two replicas coordinate transcode session ownership through Valkey and # resume each other's HLS segments off the shared RWX transcode PVC. Stable # pod names (fafflix-0/1) are the lease owner identity, hence StatefulSet. - replicas: 2 + replicas: 0 serviceName: fafflix podManagementPolicy: Parallel updateStrategy: From ae9234886f8b55b9b317fde90397ef1c5d196451 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Fri, 27 Nov 2026 00:10:41 +1100 Subject: [PATCH 2/2] Remove cheeztv and fafflix config and transcode PVCs (#601) storageClassName is immutable, so the raid5 Jellyfin PVCs are pruned here and recreated on raid6 under the same names in the follow-up PR. The delete reclaim policy discards their contents. - remove cheeztv-config, cheeztv-transcode, fafflix-config and fafflix-transcode PVCs Reviewed-on: https://git.unkin.net/unkin/argocd-apps/pulls/601 Co-authored-by: unkin-agent Co-committed-by: unkin-agent --- apps/base/cheeztv/kustomization.yaml | 2 -- apps/base/cheeztv/pvc-config.yaml | 17 ----------------- apps/base/cheeztv/pvc-transcode.yaml | 23 ----------------------- apps/base/fafflix/kustomization.yaml | 2 -- apps/base/fafflix/pvc-config.yaml | 17 ----------------- apps/base/fafflix/pvc-transcode.yaml | 23 ----------------------- 6 files changed, 84 deletions(-) delete mode 100644 apps/base/cheeztv/pvc-config.yaml delete mode 100644 apps/base/cheeztv/pvc-transcode.yaml delete mode 100644 apps/base/fafflix/pvc-config.yaml delete mode 100644 apps/base/fafflix/pvc-transcode.yaml diff --git a/apps/base/cheeztv/kustomization.yaml b/apps/base/cheeztv/kustomization.yaml index 3c953ff..906e083 100644 --- a/apps/base/cheeztv/kustomization.yaml +++ b/apps/base/cheeztv/kustomization.yaml @@ -11,8 +11,6 @@ resources: - vaultauth.yaml - vaultstaticsecret.yaml - schedule.yaml - - pvc-config.yaml - - pvc-transcode.yaml - pv-media-tv.yaml - pv-media-movies.yaml - pv-mediastore.yaml diff --git a/apps/base/cheeztv/pvc-config.yaml b/apps/base/cheeztv/pvc-config.yaml deleted file mode 100644 index 7b2e4bb..0000000 --- a/apps/base/cheeztv/pvc-config.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# Jellyfin config: metadata images, plugins, subtitles and config XML. Shared -# ReadWriteMany across replicas (all pods read/write the same library metadata); -# the main library DB now lives in PostgreSQL, not here (on CephFS, raid5-delete). -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: cheeztv-config - namespace: cheeztv -spec: - accessModes: - - ReadWriteMany - resources: - requests: - storage: 20Gi - storageClassName: cephfs-raid5-delete - volumeMode: Filesystem diff --git a/apps/base/cheeztv/pvc-transcode.yaml b/apps/base/cheeztv/pvc-transcode.yaml deleted file mode 100644 index bb47d13..0000000 --- a/apps/base/cheeztv/pvc-transcode.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -# 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 diff --git a/apps/base/fafflix/kustomization.yaml b/apps/base/fafflix/kustomization.yaml index 3c953ff..906e083 100644 --- a/apps/base/fafflix/kustomization.yaml +++ b/apps/base/fafflix/kustomization.yaml @@ -11,8 +11,6 @@ resources: - vaultauth.yaml - vaultstaticsecret.yaml - schedule.yaml - - pvc-config.yaml - - pvc-transcode.yaml - pv-media-tv.yaml - pv-media-movies.yaml - pv-mediastore.yaml diff --git a/apps/base/fafflix/pvc-config.yaml b/apps/base/fafflix/pvc-config.yaml deleted file mode 100644 index e8cf284..0000000 --- a/apps/base/fafflix/pvc-config.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# Jellyfin config: metadata images, plugins, subtitles and config XML. Shared -# ReadWriteMany across replicas (all pods read/write the same library metadata); -# the main library DB now lives in PostgreSQL, not here (on CephFS, raid5-delete). -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: fafflix-config - namespace: fafflix -spec: - accessModes: - - ReadWriteMany - resources: - requests: - storage: 20Gi - storageClassName: cephfs-raid5-delete - volumeMode: Filesystem diff --git a/apps/base/fafflix/pvc-transcode.yaml b/apps/base/fafflix/pvc-transcode.yaml deleted file mode 100644 index 809f19e..0000000 --- a/apps/base/fafflix/pvc-transcode.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -# 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: fafflix-transcode - namespace: fafflix - annotations: - # Exclude from the fafflix-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