PERF(longhorn): reduce longhorn replica count
- from 3 to 2 Due to storage capacity constraints with 50GB disks per node, reducing replica count to 2 to fit all volumes within available capacity.
This commit is contained in:
@@ -9,13 +9,13 @@ preUpgradeChecker:
|
|||||||
# Persistence settings
|
# Persistence settings
|
||||||
persistence:
|
persistence:
|
||||||
defaultClass: true # Set Longhorn as default StorageClass
|
defaultClass: true # Set Longhorn as default StorageClass
|
||||||
defaultClassReplicaCount: 3 # Number of replicas for high availability
|
defaultClassReplicaCount: 2 # Number of replicas for high availability
|
||||||
reclaimPolicy: Retain # Keep PV data when PVC is deleted
|
reclaimPolicy: Retain # Keep PV data when PVC is deleted
|
||||||
|
|
||||||
# Default settings
|
# Default settings
|
||||||
defaultSettings:
|
defaultSettings:
|
||||||
# Storage
|
# Storage
|
||||||
defaultReplicaCount: 3 # Default number of replicas for volumes
|
defaultReplicaCount: 2 # Default number of replicas for volumes
|
||||||
defaultDataPath: /mnt/longhorn-storage # Data storage path on nodes (NEW: dedicated 50GB disks)
|
defaultDataPath: /mnt/longhorn-storage # Data storage path on nodes (NEW: dedicated 50GB disks)
|
||||||
|
|
||||||
# Backup settings
|
# Backup settings
|
||||||
@@ -113,7 +113,7 @@ defaultStorageClass:
|
|||||||
reclaimPolicy: Retain
|
reclaimPolicy: Retain
|
||||||
allowVolumeExpansion: true
|
allowVolumeExpansion: true
|
||||||
parameters:
|
parameters:
|
||||||
numberOfReplicas: "3"
|
numberOfReplicas: "2"
|
||||||
staleReplicaTimeout: "2880" # 48 hours
|
staleReplicaTimeout: "2880" # 48 hours
|
||||||
fromBackup: ""
|
fromBackup: ""
|
||||||
fsType: "ext4"
|
fsType: "ext4"
|
||||||
|
|||||||
Reference in New Issue
Block a user