From 6eb270233b6e1d57fc5b0531d1d94b9271f49878 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 29 Dec 2025 00:41:55 -0600 Subject: [PATCH] Update Longhorn auto-balancing --- manifests/helm/longhorn.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/manifests/helm/longhorn.yaml b/manifests/helm/longhorn.yaml index dc7d757..fa23272 100644 --- a/manifests/helm/longhorn.yaml +++ b/manifests/helm/longhorn.yaml @@ -30,11 +30,11 @@ spec: values: defaultSettings: createDefaultDiskLabeledNodes: true - # This should go back to null when I have more cluster - replicaSoftAntiAffinity: null + replicaSoftAntiAffinity: true + replicaAutoBalance: "best-effort" persistence: # This should go back to 3 when I have more cluster - defaultClassReplicaCount: 2 + defaultClassReplicaCount: 3 --- apiVersion: v1 kind: ConfigMap @@ -156,15 +156,15 @@ parameters: apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: - name: longhorn-fast + name: longhorn-3 provisioner: driver.longhorn.io allowVolumeExpansion: true reclaimPolicy: Delete volumeBindingMode: Immediate parameters: backupTargetName: default - numberOfReplicas: "1" + numberOfReplicas: "3" staleReplicaTimeout: "2880" fromBackup: "" fsType: ext4 - diskSelector: "ssd,fast" + diskSelector: "hdd,large"