blumeops/ansible/roles
Erich Blume 7ec98210a9 P6: Migrate Kiwix and Transmission to Kubernetes (#39)
## Summary
- Add Transmission BitTorrent daemon to k8s (torrent namespace)
- Add Kiwix ZIM archive server to k8s (kiwix namespace)
- NFS storage from sifaka for shared torrent/ZIM data
- Torrent-sync sidecar in kiwix deployment to manage declarative ZIM list
- ZIM-watcher CronJob to auto-restart kiwix when new archives appear
- Remove transmission, transmission_metrics, and kiwix ansible roles from indri
- Remove svc:kiwix from tailscale_serve defaults

## Key Decisions
- Direct NFS mount for kiwix (no PVC) since it shares storage with transmission
- Shell wrapper for kiwix-serve command (glob expansion)
- Accept HTTP 409 as "ready" in torrent sync (transmission session ID mechanism)
- Completed downloads stored in `/downloads/complete/` on sifaka

## Deployment and Testing
- [x] Deployed transmission to k8s
- [x] Verified transmission web UI at torrent.tail8d86e.ts.net
- [x] Moved existing ZIM files to complete folder
- [x] Deployed kiwix to k8s
- [x] Verified kiwix web UI at kiwix.tail8d86e.ts.net
- [x] Stopped old services on indri
- [x] Cleared svc:kiwix from Tailscale serve on indri
- [x] Updated zk documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Reviewed-on: https://forge.tail8d86e.ts.net/eblume/blumeops/pulls/39
2026-01-21 18:07:40 -08:00
..
alloy P5: Migrate devpi to Kubernetes (#34) 2026-01-20 14:55:37 -08:00
borgmatic P5: Migrate devpi to Kubernetes (#34) 2026-01-20 14:55:37 -08:00
borgmatic_metrics Fix borgmatic-metrics script PATH issue (#28) 2026-01-18 14:57:35 -08:00
devpi Add pre-commit hooks for code quality (#19) 2026-01-16 19:33:02 -08:00
devpi_metrics Remove ansible role meta dependencies to fix duplicate execution (#20) 2026-01-16 22:50:34 -08:00
forgejo Add pre-commit hooks for code quality (#19) 2026-01-16 19:33:02 -08:00
kiwix Remove ansible role meta dependencies to fix duplicate execution (#20) 2026-01-16 22:50:34 -08:00
loki K8s Migration Phase 2: Grafana to Kubernetes (#30) 2026-01-19 14:40:25 -08:00
minikube P5.1: Migrate minikube from podman to QEMU2 driver (#38) 2026-01-21 16:03:37 -08:00
minikube_metrics K8s Migration Phase 0: Foundation Infrastructure (#26) 2026-01-18 12:06:28 -08:00
node_exporter Add pre-commit hooks for code quality (#19) 2026-01-16 19:33:02 -08:00
plex_metrics Remove ansible role meta dependencies to fix duplicate execution (#20) 2026-01-16 22:50:34 -08:00
podman P4: Miniflux migration + PostgreSQL consolidation (#33) 2026-01-20 09:04:47 -08:00
prometheus Add pre-commit hooks for code quality (#19) 2026-01-16 19:33:02 -08:00
tailscale_serve P6: Migrate Kiwix and Transmission to Kubernetes (#39) 2026-01-21 18:07:40 -08:00
transmission Add pre-commit hooks for code quality (#19) 2026-01-16 19:33:02 -08:00
transmission_metrics Remove ansible role meta dependencies to fix duplicate execution (#20) 2026-01-16 22:50:34 -08:00
zot K8s Migration Phase 0: Foundation Infrastructure (#26) 2026-01-18 12:06:28 -08:00
zot_metrics K8s Migration Phase 0: Foundation Infrastructure (#26) 2026-01-18 12:06:28 -08:00