Rename BackendStoreDrivers

Longhorn 6126

Signed-off-by: Derek Su <derek.su@suse.com>
This commit is contained in:
Derek Su 2023-06-15 09:22:56 +08:00 committed by David Ko
parent b8069c547b
commit cdc6447b88
7 changed files with 24 additions and 24 deletions

View File

@ -685,20 +685,20 @@ Set the value to **0** to disable backup restore."
type: int type: int
min: 1 min: 1
default: 5 default: 5
- variable: defaultSettings.spdk - variable: defaultSettings.v2DataEngine
label: SPDK Data Engine label: V2 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 v2 data engine based on SPDK. 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 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 (Preview Feature) Settings" group: "Longhorn V2 Data Engine (Preview Feature) Settings"
type: boolean type: boolean
default: false default: false
- variable: persistence.offlineReplicaRebuilding - variable: defaultSettings.offlineReplicaRebuilding
label: Offline Replica Rebuilding label: Offline Replica Rebuilding
description: ""This setting allows users to enable the offline replica rebuilding for volumes using SPDK data engine." description: ""This setting allows users to enable the offline replica rebuilding for volumes using v2 data engine."
group: "Longhorn SPDK Data Engine (Preview Feature) Settings" group: "Longhorn V2 Data Engine (Preview Feature) Settings"
required: true required: true
type: enum type: enum
options: options:

View File

@ -1316,8 +1316,8 @@ spec:
type: boolean type: boolean
backendStoreDriver: backendStoreDriver:
enum: enum:
- longhorn - v1
- spdk - v2
type: string type: string
backupVolume: backupVolume:
type: string type: string
@ -2418,8 +2418,8 @@ spec:
type: boolean type: boolean
backendStoreDriver: backendStoreDriver:
enum: enum:
- longhorn - v1
- spdk - v2
type: string type: string
backingImage: backingImage:
type: string type: string
@ -3314,8 +3314,8 @@ spec:
type: string type: string
backendStoreDriver: backendStoreDriver:
enum: enum:
- longhorn - v1
- spdk - v2
type: string type: string
backingImage: backingImage:
type: string type: string

View File

@ -79,5 +79,5 @@ data:
{{ if not (kindIs "invalid" .Values.defaultSettings.backupCompressionMethod) }}backup-compression-method: {{ .Values.defaultSettings.backupCompressionMethod }}{{ end }} {{ if not (kindIs "invalid" .Values.defaultSettings.backupCompressionMethod) }}backup-compression-method: {{ .Values.defaultSettings.backupCompressionMethod }}{{ end }}
{{ 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.v2DataEngine) }}v2-data-engine: {{ .Values.defaultSettings.v2DataEngine }}{{ end }}
{{ if not (kindIs "invalid" .Values.defaultSettings.offlineReplicaRebuilding) }}offline-replica-rebuilding: {{ .Values.defaultSettings.offlineReplicaRebuilding }}{{ end }} {{ if not (kindIs "invalid" .Values.defaultSettings.offlineReplicaRebuilding) }}offline-replica-rebuilding: {{ .Values.defaultSettings.offlineReplicaRebuilding }}{{ end }}

View File

@ -165,7 +165,7 @@ defaultSettings:
backupCompressionMethod: ~ backupCompressionMethod: ~
backupConcurrentLimit: ~ backupConcurrentLimit: ~
restoreConcurrentLimit: ~ restoreConcurrentLimit: ~
spdk: ~ v2DataEngine: ~
offlineReplicaRebuilding: ~ offlineReplicaRebuilding: ~
privateRegistry: privateRegistry:
createSecret: ~ createSecret: ~

View File

@ -1419,8 +1419,8 @@ spec:
type: boolean type: boolean
backendStoreDriver: backendStoreDriver:
enum: enum:
- longhorn - v1
- spdk - v2
type: string type: string
backupVolume: backupVolume:
type: string type: string
@ -2538,8 +2538,8 @@ spec:
type: boolean type: boolean
backendStoreDriver: backendStoreDriver:
enum: enum:
- longhorn - v1
- spdk - v2
type: string type: string
backingImage: backingImage:
type: string type: string
@ -3462,8 +3462,8 @@ spec:
type: string type: string
backendStoreDriver: backendStoreDriver:
enum: enum:
- longhorn - v1
- spdk - v2
type: string type: string
backingImage: backingImage:
type: string type: string

View File

@ -68,7 +68,7 @@ While the node where the share-manager pod is running is down, the share-manager
│ │ │ │
HTTP API ┌─────────────┴──────────────┐ HTTP API ┌─────────────┴──────────────┐
│ │ │ │ │ │
│ │ endpint 1 │ endpoint N │ │ endpoint 1 │ endpoint N
┌──────────────────────┐ │ ┌─────────▼────────┐ ┌────────▼─────────┐ ┌──────────────────────┐ │ ┌─────────▼────────┐ ┌────────▼─────────┐
│ share-manager pod │ │ │ recovery-backend │ │ recovery-backend │ │ share-manager pod │ │ │ recovery-backend │ │ recovery-backend │
│ │ │ │ pod │ │ pod │ │ │ │ │ pod │ │ pod │

View File

@ -11,7 +11,7 @@ parameters:
numberOfReplicas: "2" numberOfReplicas: "2"
staleReplicaTimeout: "2880" staleReplicaTimeout: "2880"
fsType: "ext4" fsType: "ext4"
backendStoreDriver: "spdk" backendStoreDriver: "v2"
# mkfsParams: "-I 256 -b 4096 -O ^metadata_csum,^64bit" # mkfsParams: "-I 256 -b 4096 -O ^metadata_csum,^64bit"
# nodeSelector: "storage,fast" # nodeSelector: "storage,fast"
# recurringJobSelector: '[{"name":"snap-group", "isGroup":true}, # recurringJobSelector: '[{"name":"snap-group", "isGroup":true},