feat(jellyfin): add kubernetes manifests and migration scripts
Sync HTPC Manifests to GitOps / Sync Manifests to GitOps Repo (push) Successful in 4s

This commit is contained in:
bart
2026-11-07 10:44:11 +01:00
parent 3ab3a5f84b
commit bba3a09cfe
9 changed files with 409 additions and 0 deletions
+19
View File
@@ -98,3 +98,22 @@ De torrent indexer proxy (`jackett`) draait als pod in de `htpc` namespace:
# Oude host bestanden en service opruimen:
./cleanup_old_jackett.sh
```
### Jellyfin
De Jellyfin media server (`jellyfin`) draait als pod in de `htpc` namespace:
- **Dataopslag**: PersistentVolumeClaim `jellyfin-config` (30Gi, `local-path` op `/datadisk/infra/pv`), gemigreerd vanuit `/etc/jellyfin` en `/var/lib/jellyfin` via init-container (inclusief alle databases, metadata en plugins).
- **Mediaopslag**: HostPath `/datadisk` gemount op `/datadisk` en `/mnt/mp3` gemount op `/mnt/mp3` zodat alle bibliotheekpaden en symlinks exact behouden blijven.
- **Hardware Transcoding**: Directe hardware-acceleratie via VA-API met AMD Phoenix2 iGPU (`/dev/dri` hostPath gemount in container met `privileged: true`).
- **Netwerk & Ingress**: Luistert op poort `8096` (ClusterIP + HostPort `8096`). De Apache reverse proxy routeert `https://thuus.bnhmeijer.nl/jellyfin` en `wss://.../jellyfin/socket` naadloos door naar `127.0.0.1:8096`.
- **Migratie, Terugrol & Opruimen**:
```bash
# Migratie uitvoeren (maakt backup in /storage/backups/, stopt host service, synct data, start pod):
./migrate_jellyfin_to_cluster.sh
# Terugrollen naar standalone host service indien gewenst:
./rollback_jellyfin_migration.sh
# Oude host bestanden en service opruimen:
./cleanup_old_jellyfin.sh
```