From e6234d468327e1c58d97a226cd0b577d29998715 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Fri, 6 Mar 2026 21:05:21 +0000 Subject: [PATCH] [ci skip] update claude knowledge: iSCSI migration for Redis, Prometheus, Loki --- .claude/CLAUDE.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 46d57e11..dfd4bf2f 100755 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -63,11 +63,10 @@ For platform modules, use `source = "../../../../modules/kubernetes/nfs_volume"` ### iSCSI Storage for Databases **StorageClass**: `iscsi-truenas` (deployed via `stacks/platform/modules/iscsi-csi/` using democratic-csi). -- Used by: PostgreSQL (CNPG), MySQL (InnoDB Cluster) — any pod, any node, same data +- Used by: PostgreSQL (CNPG), MySQL (InnoDB Cluster), Redis, Prometheus, Loki — any pod, any node, same data - Driver: `freenas-iscsi` (SSH-based, NOT `freenas-api-iscsi` which is TrueNAS SCALE only) - ZFS datasets: `main/iscsi` (zvols), `main/iscsi-snaps` (snapshots) - All K8s nodes have `open-iscsi` + `iscsid` running -- Redis stays on `local-path` (StatefulSet `volumeClaimTemplates` are immutable) ### Adding NFS Exports 1. **Create the directory on TrueNAS first**: `ssh root@10.0.10.15 "mkdir -p /mnt/main/ && chmod 777 /mnt/main/"`