diff --git a/chart/questions.yml b/chart/questions.yml index 128b070..dceff61 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -433,6 +433,16 @@ Warning: This option works only when there is a failed replica in the volume. An type: int min: 0 default: 60 + - variable: defaultSettings.backingImageRecoveryWaitInterval + label: Backing Image Recovery Wait Interval + description: "This interval in seconds determines how long Longhorn will wait before re-downloading the backing image file when all disk files of this backing image become failed or unknown. + WARNING: + - This recovery only works for the backing image of which the creation type is \"download\". + - File state \"unknown\" means the related manager pods on the pod is not running or the node itself is down/disconnected.", + group: "Longhorn Default Settings" + type: int + min: 0 + default: 300 - variable: defaultSettings.guaranteedEngineManagerCPU label: Guaranteed Engine Manager CPU description: "This integer value indicates how many percentage of the total allocatable CPU on each node will be reserved for each engine manager Pod. For example, 10 means 10% of the total CPU on a node will be allocated to each engine manager pod on this node. This will help maintain engine stability during high node workload. diff --git a/chart/templates/default-setting.yaml b/chart/templates/default-setting.yaml index 2b8ec21..2e32c72 100644 --- a/chart/templates/default-setting.yaml +++ b/chart/templates/default-setting.yaml @@ -38,5 +38,6 @@ data: auto-cleanup-system-generated-snapshot: {{ .Values.defaultSettings.autoCleanupSystemGeneratedSnapshot }} concurrent-automatic-engine-upgrade-per-node-limit: {{ .Values.defaultSettings.concurrentAutomaticEngineUpgradePerNodeLimit }} backing-image-cleanup-wait-interval: {{ .Values.defaultSettings.backingImageCleanupWaitInterval }} + backing-image-recovery-wait-interval: {{ .Values.defaultSettings.backingImageRecoveryWaitInterval }} guaranteed-engine-manager-cpu: {{ .Values.defaultSettings.guaranteedEngineManagerCPU }} guaranteed-replica-manager-cpu: {{ .Values.defaultSettings.guaranteedReplicaManagerCPU }} diff --git a/chart/values.yaml b/chart/values.yaml index 40672cb..b145676 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -106,6 +106,7 @@ defaultSettings: autoCleanupSystemGeneratedSnapshot: ~ concurrentAutomaticEngineUpgradePerNodeLimit: ~ backingImageCleanupWaitInterval: ~ + backingImageRecoveryWaitInterval: ~ guaranteedEngineManagerCPU: ~ guaranteedReplicaManagerCPU: ~ privateRegistry: