# Longhorn Helm values — single-node config for the dezky AX41 (node1). # You install Longhorn; feed it these values, e.g.: # # helm repo add longhorn https://charts.longhorn.io && helm repo update # helm install longhorn longhorn/longhorn \ # -n longhorn-system --create-namespace \ # --version 1.12.0 -f values.yaml # # (Or paste this into Rancher → Apps → Longhorn → Edit YAML.) # # Host prereq (added to bootstrap.sh): open-iscsi + a running iscsid + nfs-common # on EVERY node. Verify: `systemctl is-active iscsid` → active. defaultSettings: # Single node → 1 replica. No cross-node redundancy yet (durability is the # same as local disk, but you gain snapshots + off-box backups). Bump to 2–3 # once you add nodes and Longhorn will rebalance. defaultReplicaCount: 1 # Replica data lives here on the AX41 NVMe. defaultDataPath: /var/lib/longhorn # Don't pack the disk to 100%. storageMinimalAvailablePercentage: 15 storageOverProvisioningPercentage: 100 # Tidy up orphaned replicas automatically. orphanResourceAutoDeletion: "replica-data" # ── Backups → Hetzner Object Storage (set after creating the bucket+secret; # see README). Can also be set in the UI under Settings → General. ── # backupTarget: s3://dezky-longhorn@fsn1/ # backupTargetCredentialSecret: longhorn-backup-secret persistence: # Make Longhorn the DEFAULT StorageClass so PVCs land on it automatically. # ALSO unset local-path's default flag (one default only — see README). defaultClass: true defaultClassReplicaCount: 1 # Databases: keep the volume if a PVC is deleted, until you reclaim it by hand. reclaimPolicy: Retain # The Longhorn UI is full storage admin — keep its Ingress OFF until you decide # how to protect it (IP allowlist at Traefik, or behind Authentik forward-auth). ingress: enabled: false