truenas deprecation: migrate all non-immich storage to proxmox NFS

- Migrate 7 backup CronJobs to Proxmox host NFS (192.168.1.127)
  (etcd, mysql, postgresql, nextcloud, redis, vaultwarden, plotting-book)
- Migrate headscale backup, ebook2audiobook, osm_routing to Proxmox NFS
- Migrate servarr (lidarr, readarr, soulseek) NFS refs to Proxmox
- Remove 79 orphaned TrueNAS NFS module declarations from 49 stacks
- Delete stacks/platform/modules/ (27 dead module copies, 65MB)
- Update nfs-truenas StorageClass to point to Proxmox (192.168.1.127)
- Remove iscsi DNS record from config.tfvars
- Fix woodpecker persistence config and alertmanager PV

Only Immich (8 PVCs, ~1.4TB) remains on TrueNAS.
This commit is contained in:
Viktor Barzin 2026-04-12 14:35:39 +01:00
parent 3246c4d112
commit 82b0f6c4cb
193 changed files with 825 additions and 177172 deletions

View file

@ -22,20 +22,20 @@ resource "kubernetes_namespace" "ebook2audiobook" {
}
module "nfs_data" {
module "nfs_data_host" {
source = "../../modules/kubernetes/nfs_volume"
name = "ebook2audiobook-data"
name = "ebook2audiobook-data-host"
namespace = kubernetes_namespace.ebook2audiobook.metadata[0].name
nfs_server = var.nfs_server
nfs_path = "/mnt/main/ebook2audiobook"
nfs_server = "192.168.1.127"
nfs_path = "/srv/nfs/ebook2audiobook"
}
module "nfs_audiblez_data" {
module "nfs_audiblez_data_host" {
source = "../../modules/kubernetes/nfs_volume"
name = "ebook2audiobook-audiblez-data"
name = "ebook2audiobook-audiblez-data-host"
namespace = kubernetes_namespace.ebook2audiobook.metadata[0].name
nfs_server = var.nfs_server
nfs_path = "/mnt/main/audiblez"
nfs_server = "192.168.1.127"
nfs_path = "/srv/nfs/audiblez"
}
resource "kubernetes_deployment" "ebook2audiobook" {
@ -109,7 +109,7 @@ resource "kubernetes_deployment" "ebook2audiobook" {
volume {
name = "data"
persistent_volume_claim {
claim_name = module.nfs_data.claim_name
claim_name = module.nfs_data_host.claim_name
}
}
}
@ -306,7 +306,7 @@ resource "kubernetes_deployment" "audiblez" {
volume {
name = "data"
persistent_volume_claim {
claim_name = module.nfs_audiblez_data.claim_name
claim_name = module.nfs_audiblez_data_host.claim_name
}
}
}
@ -392,7 +392,7 @@ resource "kubernetes_deployment" "audiblez-web" {
volume {
name = "data"
persistent_volume_claim {
claim_name = module.nfs_audiblez_data.claim_name
claim_name = module.nfs_audiblez_data_host.claim_name
}
}
}