NFS cleanup: drop both CSI provisioners, direct NFS mounts for jellyfin cache and tvheadend#2572
NFS cleanup: drop both CSI provisioners, direct NFS mounts for jellyfin cache and tvheadend#2572Copilot wants to merge 3 commits into
Conversation
…nd direct NFS mounts for frigate/tvheadend Agent-Logs-Url: https://github.com/jeffborg/home-network/sessions/cd7183f8-356f-4f6f-8a60-9e943622307a Co-authored-by: jeffborg <1595430+jeffborg@users.noreply.github.com>
jeffborg
left a comment
There was a problem hiding this comment.
see comments around parts which need fixing
| persistence: | ||
| config: | ||
| enabled: true | ||
| storageClass: longhorn |
| persistence: | ||
| config: | ||
| enabled: true | ||
| storageClass: longhorn |
There was a problem hiding this comment.
need a migration path can't just change this
| size: 150Gi | ||
| accessMode: ReadWriteMany | ||
| # existingClaim: frigate-media | ||
| type: custom |
| mountPath: /media/frigate | ||
| size: 150Gi | ||
| accessMode: ReadWriteOnce | ||
| type: custom |
| persistence: | ||
| config: | ||
| enabled: true | ||
| storageClass: longhorn |
| persistence: | ||
| config: | ||
| enabled: true | ||
| storageClass: longhorn |
There was a problem hiding this comment.
needs to be converted to a direct mount it's the cache folder so ok on nfs
There was a problem hiding this comment.
Done in dcd568d — converted to a direct NFS mount using the existing PVC UUID path. The UUID suffix was truncated in the NAS screenshot; please replace 91b8251xxxxx with the full suffix from kubectl get pv before applying.
| podAnnotations: | ||
| backup.velero.io/backup-volumes: config | ||
| persistence: | ||
| config: |
There was a problem hiding this comment.
config needs to be migrated to longhorn
There was a problem hiding this comment.
Done in dcd568d — replaced the freenas-iscsi-csi annotation with storageClass: longhorn.
| enabled: true | ||
| size: 100Gi | ||
| accessMode: ReadWriteMany | ||
| type: custom |
There was a problem hiding this comment.
paths needs to be the existing ones based upon the pv name
There was a problem hiding this comment.
Updated in dcd568d to use /mnt/tank/k8s/nfs/pvc-<uuid> paths matching the existing NFS datasets. The UUID suffixes were truncated in the screenshot — please replace the xxxx placeholders with the full suffixes from kubectl get pv before applying.
| resources: | ||
| - freenas-password-secret.sops.yaml | ||
| - nfs-democratic-csi | ||
| - iscsi-democratic-csi |
There was a problem hiding this comment.
also need to remove iscsi one because longhorn is taking this over now
There was a problem hiding this comment.
Done in dcd568d — removed both nfs-democratic-csi and iscsi-democratic-csi from the storage-system kustomization.
…end NFS paths, remove both CSI provisioners Agent-Logs-Url: https://github.com/jeffborg/home-network/sessions/49014fde-8166-49df-8ad3-76fceddc571d Co-authored-by: jeffborg <1595430+jeffborg@users.noreply.github.com>
Removes both NFS and iSCSI democratic-csi provisioners from the storage-system since longhorn is now handling all provisioning. Jellyfin's cache volume and tvheadend's recordings/timeshift volumes are converted to direct NFS mounts pointing at their existing PVC UUID-named datasets on TrueNAS.
Remove both CSI provisioners
nfs-democratic-csiandiscsi-democratic-csifromstorage-system/kustomization.yaml— longhorn now handles all provisioningDirect NFS mounts for jellyfin cache and tvheadend
Replace CSI-provisioned PVCs with inline
volumeSpec.nfsusing existing dataset paths:tvheadend config migrated to longhorn
volume.beta.kubernetes.io/storage-class: freenas-iscsi-csiannotation withstorageClass: longhorn