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:
parent
3246c4d112
commit
82b0f6c4cb
193 changed files with 825 additions and 177172 deletions
|
|
@ -3,20 +3,20 @@ variable "tier" { type = string }
|
|||
variable "nfs_server" { type = string }
|
||||
|
||||
|
||||
module "nfs_data" {
|
||||
module "nfs_data_host" {
|
||||
source = "../../../modules/kubernetes/nfs_volume"
|
||||
name = "servarr-lidarr-data"
|
||||
name = "servarr-lidarr-data-host"
|
||||
namespace = "servarr"
|
||||
nfs_server = var.nfs_server
|
||||
nfs_path = "/mnt/main/servarr/lidarr"
|
||||
nfs_server = "192.168.1.127"
|
||||
nfs_path = "/srv/nfs/servarr/lidarr"
|
||||
}
|
||||
|
||||
module "nfs_downloads" {
|
||||
module "nfs_downloads_host" {
|
||||
source = "../../../modules/kubernetes/nfs_volume"
|
||||
name = "servarr-lidarr-downloads"
|
||||
name = "servarr-lidarr-downloads-host"
|
||||
namespace = "servarr"
|
||||
nfs_server = var.nfs_server
|
||||
nfs_path = "/mnt/main/servarr/downloads"
|
||||
nfs_server = "192.168.1.127"
|
||||
nfs_path = "/srv/nfs/servarr/downloads"
|
||||
}
|
||||
|
||||
resource "kubernetes_deployment" "lidarr" {
|
||||
|
|
@ -97,19 +97,19 @@ resource "kubernetes_deployment" "lidarr" {
|
|||
volume {
|
||||
name = "data"
|
||||
persistent_volume_claim {
|
||||
claim_name = module.nfs_data.claim_name
|
||||
claim_name = module.nfs_data_host.claim_name
|
||||
}
|
||||
}
|
||||
volume {
|
||||
name = "downloads"
|
||||
persistent_volume_claim {
|
||||
claim_name = module.nfs_downloads.claim_name
|
||||
claim_name = module.nfs_downloads_host.claim_name
|
||||
}
|
||||
}
|
||||
volume {
|
||||
name = "deemix-config"
|
||||
persistent_volume_claim {
|
||||
claim_name = module.nfs_data.claim_name
|
||||
claim_name = module.nfs_data_host.claim_name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue