From bfef6cdfe26ae5c09c469859d22bf39fc781d79d Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Thu, 26 Nov 2026 23:59:35 +1100 Subject: [PATCH 1/2] Scale cheeztv and fafflix to zero replicas --- 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: -- 2.47.3 From 775a47dbe6afd78b8bcb2d30539a9e3d52a7ad85 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Fri, 27 Nov 2026 00:00:00 +1100 Subject: [PATCH 2/2] Remove cheeztv and fafflix config and transcode PVCs --- 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 -- 2.47.3