offline rebuilding/chart: add offline-replica-rebuilding setting
Longhorn 6071 Signed-off-by: Derek Su <derek.su@suse.com>
This commit is contained in:
parent
2ae85e8dcb
commit
b8069c547b
@ -686,15 +686,25 @@ Set the value to **0** to disable backup restore."
|
|||||||
min: 1
|
min: 1
|
||||||
default: 5
|
default: 5
|
||||||
- variable: defaultSettings.spdk
|
- variable: defaultSettings.spdk
|
||||||
label: Enable SPDK Data Engine (Preview Feature)
|
label: SPDK Data Engine
|
||||||
description: "This allows users to activate SPDK data engine. Currently, it is in the preview phase and should not be utilized in a production environment.
|
description: "This allows users to activate SPDK data engine. Currently, it is in the preview phase and should not be utilized in a production environment.
|
||||||
WARNING:
|
WARNING:
|
||||||
- The cluster must have pre-existing Multus installed, and NetworkAttachmentDefinition IPs are reachable between nodes.
|
- The cluster must have pre-existing Multus installed, and NetworkAttachmentDefinition IPs are reachable between nodes.
|
||||||
- DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES. Longhorn will try to block this setting update when there are attached volumes.
|
- DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES. Longhorn will try to block this setting update when there are attached volumes.
|
||||||
- When applying the setting, Longhorn will restart all instance-manager pods."
|
- When applying the setting, Longhorn will restart all instance-manager pods."
|
||||||
group: "Longhorn SPDK Data Engine Settings"
|
group: "Longhorn SPDK Data Engine (Preview Feature) Settings"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
- variable: persistence.offlineReplicaRebuilding
|
||||||
|
label: Offline Replica Rebuilding
|
||||||
|
description: ""This setting allows users to enable the offline replica rebuilding for volumes using SPDK data engine."
|
||||||
|
group: "Longhorn SPDK Data Engine (Preview Feature) Settings"
|
||||||
|
required: true
|
||||||
|
type: enum
|
||||||
|
options:
|
||||||
|
- "enabled"
|
||||||
|
- "disabled"
|
||||||
|
default: "enabled"
|
||||||
- variable: persistence.defaultClass
|
- variable: persistence.defaultClass
|
||||||
default: "true"
|
default: "true"
|
||||||
description: "Set as default StorageClass for Longhorn"
|
description: "Set as default StorageClass for Longhorn"
|
||||||
|
@ -80,3 +80,4 @@ data:
|
|||||||
{{ if not (kindIs "invalid" .Values.defaultSettings.backupConcurrentLimit) }}backup-concurrent-limit: {{ .Values.defaultSettings.backupConcurrentLimit }}{{ end }}
|
{{ if not (kindIs "invalid" .Values.defaultSettings.backupConcurrentLimit) }}backup-concurrent-limit: {{ .Values.defaultSettings.backupConcurrentLimit }}{{ end }}
|
||||||
{{ if not (kindIs "invalid" .Values.defaultSettings.restoreConcurrentLimit) }}restore-concurrent-limit: {{ .Values.defaultSettings.restoreConcurrentLimit }}{{ end }}
|
{{ if not (kindIs "invalid" .Values.defaultSettings.restoreConcurrentLimit) }}restore-concurrent-limit: {{ .Values.defaultSettings.restoreConcurrentLimit }}{{ end }}
|
||||||
{{ if not (kindIs "invalid" .Values.defaultSettings.spdk) }}spdk: {{ .Values.defaultSettings.spdk }}{{ end }}
|
{{ if not (kindIs "invalid" .Values.defaultSettings.spdk) }}spdk: {{ .Values.defaultSettings.spdk }}{{ end }}
|
||||||
|
{{ if not (kindIs "invalid" .Values.defaultSettings.offlineReplicaRebuilding) }}offline-replica-rebuilding: {{ .Values.defaultSettings.offlineReplicaRebuilding }}{{ end }}
|
||||||
|
@ -166,6 +166,7 @@ defaultSettings:
|
|||||||
backupConcurrentLimit: ~
|
backupConcurrentLimit: ~
|
||||||
restoreConcurrentLimit: ~
|
restoreConcurrentLimit: ~
|
||||||
spdk: ~
|
spdk: ~
|
||||||
|
offlineReplicaRebuilding: ~
|
||||||
privateRegistry:
|
privateRegistry:
|
||||||
createSecret: ~
|
createSecret: ~
|
||||||
registryUrl: ~
|
registryUrl: ~
|
||||||
|
Loading…
Reference in New Issue
Block a user