P6: Migrate Kiwix and Transmission to Kubernetes #39

Merged
eblume merged 8 commits from feature/p6-kiwix-transmission-take2 into main 2026-01-21 18:07:41 -08:00
4 changed files with 6 additions and 19 deletions
Showing only changes of commit a243384d22 - Show all commits

Use direct NFS mount for kiwix instead of PVC

A PV can only bind to one PVC, so kiwix cannot share a PV with torrent.
Instead, mount NFS directly in the pod spec for kiwix - this is simpler
and works without needing a shared PV/PVC strategy.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Erich Blume 2026-01-21 17:08:39 -08:00

View file

@ -50,8 +50,9 @@ spec:
restartPolicy: OnFailure
volumes:
- name: torrents
persistentVolumeClaim:
claimName: torrents-storage
nfs:
server: sifaka
path: /volume1/torrents
---
apiVersion: v1
kind: ServiceAccount

View file

@ -86,8 +86,9 @@ spec:
volumes:
- name: torrents
persistentVolumeClaim:
claimName: torrents-storage
nfs:
server: sifaka
path: /volume1/torrents
- name: zim-torrents-config
configMap:
name: kiwix-zim-torrents

View file

@ -3,7 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kiwix
resources:
- pvc.yaml
- configmap-zim-torrents.yaml
- configmap-sync-script.yaml
- deployment.yaml

View file

@ -1,14 +0,0 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: torrents-storage
namespace: kiwix
spec:
accessModes:
- ReadWriteMany
storageClassName: ""
volumeName: torrents-nfs-pv
resources:
requests:
storage: 1Ti