migrate iSCSI block volumes from democratic-csi to Proxmox CSI [ci skip]
Replace TrueNAS iSCSI (democratic-csi) with Proxmox CSI plugin for all block storage PVCs. Eliminates double-CoW (ZFS + LVM-thin) and removes the iSCSI network hop for database I/O. New stack: stacks/proxmox-csi/ — deploys proxmox-csi-plugin Helm chart with StorageClass "proxmox-lvm" using existing local-lvm thin pool. Migrated PVCs (12 total): - Phase 1 standalone: plotting-book, novelapp, vaultwarden, nextcloud, prometheus - Phase 2 StatefulSets: CNPG PostgreSQL (2), MySQL InnoDB (3), Redis (2) All services verified healthy post-migration.
This commit is contained in:
parent
337da2184d
commit
dd59512153
14 changed files with 154 additions and 21 deletions
|
|
@ -156,7 +156,7 @@ resource "helm_release" "mysql_cluster" {
|
|||
}
|
||||
|
||||
datadirVolumeClaimTemplate = {
|
||||
storageClassName = "iscsi-truenas"
|
||||
storageClassName = "proxmox-lvm"
|
||||
resources = {
|
||||
requests = {
|
||||
storage = "30Gi"
|
||||
|
|
@ -189,7 +189,7 @@ resource "helm_release" "mysql_cluster" {
|
|||
memory = "2Gi"
|
||||
}
|
||||
limits = {
|
||||
memory = "5Gi"
|
||||
memory = "4Gi"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -225,7 +225,7 @@ resource "helm_release" "mysql_cluster" {
|
|||
cpu = "250m"
|
||||
}
|
||||
limits = {
|
||||
memory = "5Gi"
|
||||
memory = "4Gi"
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
|
@ -876,7 +876,7 @@ resource "null_resource" "pg_cluster" {
|
|||
instances = "2"
|
||||
image = "ghcr.io/cloudnative-pg/postgis:16"
|
||||
storage_size = "20Gi"
|
||||
storage_class = "iscsi-truenas"
|
||||
storage_class = "proxmox-lvm"
|
||||
memory_limit = "512Mi"
|
||||
|
||||
}
|
||||
|
|
@ -899,7 +899,7 @@ resource "null_resource" "pg_cluster" {
|
|||
enableSuperuserAccess: true
|
||||
storage:
|
||||
size: 20Gi
|
||||
storageClass: iscsi-truenas
|
||||
storageClass: proxmox-lvm
|
||||
resources:
|
||||
requests:
|
||||
cpu: "50m"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue