diff --git a/chart/questions.yml b/chart/questions.yml index f9f4918..cb0510e 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -391,6 +391,13 @@ Warning: This option works only when there is a failed replica in the volume. An type: int min: 0 default: 600 + - variable: defaultSettings.concurrentReplicaRebuildPerNodeLimit + label: Concurrent Replica Rebuild Per Node Limit + description: "This setting controls how many replicas on a node can be rebuilt simultaneously. If the value is 0, Longhorn will not limit the rebuilding." + group: "Longhorn Default Settings" + type: int + min: 0 + default: 0 - variable: defaultSettings.disableRevisionCounter label: Disable Revision Counter description: "This setting is only for volumes created by UI. By default, this is false meaning there will be a reivision counter file to track every write to the volume. During salvage recovering Longhorn will pick the repica with largest reivision counter as candidate to recover the whole volume. If revision counter is disabled, Longhorn will not track every write to the volume. During the salvage recovering, Longhorn will use the 'volume-head-xxx.img' file last modification time and file size to pick the replica candidate to recover the whole volume." diff --git a/chart/templates/default-setting.yaml b/chart/templates/default-setting.yaml index 2e32c72..6f87996 100644 --- a/chart/templates/default-setting.yaml +++ b/chart/templates/default-setting.yaml @@ -32,6 +32,7 @@ data: mkfs-ext4-parameters: {{ .Values.defaultSettings.mkfsExt4Parameters }} disable-replica-rebuild: {{ .Values.defaultSettings.disableReplicaRebuild }} replica-replenishment-wait-interval: {{ .Values.defaultSettings.replicaReplenishmentWaitInterval }} + concurrent-replica-rebuild-per-node-limit: {{ .Values.defaultSettings.concurrentReplicaRebuildPerNodeLimit }} disable-revision-counter: {{ .Values.defaultSettings.disableRevisionCounter }} system-managed-pods-image-pull-policy: {{ .Values.defaultSettings.systemManagedPodsImagePullPolicy }} allow-volume-creation-with-degraded-availability: {{ .Values.defaultSettings.allowVolumeCreationWithDegradedAvailability }} diff --git a/chart/values.yaml b/chart/values.yaml index d9515c1..9a6373a 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -100,6 +100,7 @@ defaultSettings: mkfsExt4Parameters: ~ disableReplicaRebuild: ~ replicaReplenishmentWaitInterval: ~ + concurrentReplicaRebuildPerNodeLimit: ~ disableRevisionCounter: ~ systemManagedPodsImagePullPolicy: ~ allowVolumeCreationWithDegradedAvailability: ~