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:
Viktor Barzin 2026-04-02 22:13:04 +03:00
parent 337da2184d
commit dd59512153
14 changed files with 154 additions and 21 deletions

View file

@ -2,13 +2,13 @@
resource "kubernetes_persistent_volume_claim" "prometheus_server_pvc" {
metadata {
name = "prometheus-data"
name = "prometheus-data-proxmox"
namespace = kubernetes_namespace.monitoring.metadata[0].name
}
spec {
access_modes = ["ReadWriteOnce"]
storage_class_name = "iscsi-truenas"
storage_class_name = "proxmox-lvm"
resources {
requests = {
storage = "200Gi"

View file

@ -155,7 +155,7 @@ server:
- "storage.tsdb.wal-compression"
persistentVolume:
# enabled: false
existingClaim: prometheus-data
existingClaim: prometheus-data-proxmox
# storageClass: rook-cephfs
retention: "52w"
resources: