Update Longhorn auto-balancing

This commit is contained in:
Greg Hellings
2025-12-29 00:41:55 -06:00
parent 8e602da466
commit 6eb270233b
+6 -6
View File
@@ -30,11 +30,11 @@ spec:
values: values:
defaultSettings: defaultSettings:
createDefaultDiskLabeledNodes: true createDefaultDiskLabeledNodes: true
# This should go back to null when I have more cluster replicaSoftAntiAffinity: true
replicaSoftAntiAffinity: null replicaAutoBalance: "best-effort"
persistence: persistence:
# This should go back to 3 when I have more cluster # This should go back to 3 when I have more cluster
defaultClassReplicaCount: 2 defaultClassReplicaCount: 3
--- ---
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
@@ -156,15 +156,15 @@ parameters:
apiVersion: storage.k8s.io/v1 apiVersion: storage.k8s.io/v1
kind: StorageClass kind: StorageClass
metadata: metadata:
name: longhorn-fast name: longhorn-3
provisioner: driver.longhorn.io provisioner: driver.longhorn.io
allowVolumeExpansion: true allowVolumeExpansion: true
reclaimPolicy: Delete reclaimPolicy: Delete
volumeBindingMode: Immediate volumeBindingMode: Immediate
parameters: parameters:
backupTargetName: default backupTargetName: default
numberOfReplicas: "1" numberOfReplicas: "3"
staleReplicaTimeout: "2880" staleReplicaTimeout: "2880"
fromBackup: "" fromBackup: ""
fsType: ext4 fsType: ext4
diskSelector: "ssd,fast" diskSelector: "hdd,large"