# Longhorn StorageClass - single unified `longhorn` storage class for the whole # cluster. This is the only Longhorn class anything should reference. apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: longhorn annotations: storageclass.kubernetes.io/is-default-class: "true" description: "Longhorn distributed storage - 3 replicas, CP nodes only" argocd.argoproj.io/sync-options: Replace=true,Force=true provisioner: driver.longhorn.io allowVolumeExpansion: true reclaimPolicy: Delete volumeBindingMode: Immediate # Immediate binding for StatefulSets (matches deployed config) parameters: numberOfReplicas: "3" # HA across all 3 CP nodes diskSelector: "storage" # Only schedule on CP node disks, not GPU worker staleReplicaTimeout: "30" fromBackup: "" dataLocality: "disabled" # Match deployed config (not best-effort) fsType: "ext4" disableRevisionCounter: "true" # Performance optimization unmapMarkSnapChainRemoved: "ignored"