blob: 4f723248dc8351a95f1a764d05339f60e64445c4 [file] [log] [blame]
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +04001categories:
giodbf4a852025-06-30 17:09:46 +04002 - storage
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +04003namespace: longhorn-system
4questions:
giodbf4a852025-06-30 17:09:46 +04005 - variable: image.defaultImage
6 default: 'true'
7 description: Use default Longhorn images
8 label: Use Default Images
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +04009 type: boolean
giodbf4a852025-06-30 17:09:46 +040010 show_subquestion_if: false
11 group: Longhorn Images
12 subquestions:
13 - variable: image.longhorn.manager.repository
14 default: longhornio/longhorn-manager
15 description: Repository for the Longhorn Manager image.
16 type: string
17 label: Longhorn Manager Image Repository
18 group: Longhorn Images Settings
19 - variable: image.longhorn.manager.tag
20 default: v1.9.0
21 description: Tag for the Longhorn Manager image.
22 type: string
23 label: Longhorn Manager Image Tag
24 group: Longhorn Images Settings
25 - variable: image.longhorn.engine.repository
26 default: longhornio/longhorn-engine
27 description: Repository for the Longhorn Engine image.
28 type: string
29 label: Longhorn Engine Image Repository
30 group: Longhorn Images Settings
31 - variable: image.longhorn.engine.tag
32 default: v1.9.0
33 description: Tag for the Longhorn Engine image.
34 type: string
35 label: Longhorn Engine Image Tag
36 group: Longhorn Images Settings
37 - variable: image.longhorn.ui.repository
38 default: longhornio/longhorn-ui
39 description: Repository for the Longhorn UI image.
40 type: string
41 label: Longhorn UI Image Repository
42 group: Longhorn Images Settings
43 - variable: image.longhorn.ui.tag
44 default: v1.9.0
45 description: Tag for the Longhorn UI image.
46 type: string
47 label: Longhorn UI Image Tag
48 group: Longhorn Images Settings
49 - variable: image.longhorn.instanceManager.repository
50 default: longhornio/longhorn-instance-manager
51 description: Repository for the Longhorn Instance Manager image.
52 type: string
53 label: Longhorn Instance Manager Image Repository
54 group: Longhorn Images Settings
55 - variable: image.longhorn.instanceManager.tag
56 default: v1.9.0
57 description: Tag for the Longhorn Instance Manager image.
58 type: string
59 label: Longhorn Instance Manager Image Tag
60 group: Longhorn Images Settings
61 - variable: image.longhorn.shareManager.repository
62 default: longhornio/longhorn-share-manager
63 description: Repository for the Longhorn Share Manager image.
64 type: string
65 label: Longhorn Share Manager Image Repository
66 group: Longhorn Images Settings
67 - variable: image.longhorn.shareManager.tag
68 default: v1.9.0
69 description: Tag for the Longhorn Share Manager image.
70 type: string
71 label: Longhorn Share Manager Image Tag
72 group: Longhorn Images Settings
73 - variable: image.longhorn.backingImageManager.repository
74 default: longhornio/backing-image-manager
75 description: >-
76 Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
77 type: string
78 label: Longhorn Backing Image Manager Image Repository
79 group: Longhorn Images Settings
80 - variable: image.longhorn.backingImageManager.tag
81 default: v1.9.0
82 description: >-
83 Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
84 type: string
85 label: Longhorn Backing Image Manager Image Tag
86 group: Longhorn Images Settings
87 - variable: image.longhorn.supportBundleKit.repository
88 default: longhornio/support-bundle-kit
89 description: Repository for the Longhorn Support Bundle Manager image.
90 type: string
91 label: Longhorn Support Bundle Kit Image Repository
92 group: Longhorn Images Settings
93 - variable: image.longhorn.supportBundleKit.tag
94 default: v0.0.55
95 description: Tag for the Longhorn Support Bundle Manager image.
96 type: string
97 label: Longhorn Support Bundle Kit Image Tag
98 group: Longhorn Images Settings
99 - variable: image.csi.attacher.repository
100 default: longhornio/csi-attacher
101 description: >-
102 Repository for the CSI attacher image. When unspecified, Longhorn uses the default value.
103 type: string
104 label: Longhorn CSI Attacher Image Repository
105 group: Longhorn CSI Driver Images
106 - variable: image.csi.attacher.tag
107 default: v4.8.1
108 description: >-
109 Tag for the CSI attacher image. When unspecified, Longhorn uses the default value.
110 type: string
111 label: Longhorn CSI Attacher Image Tag
112 group: Longhorn CSI Driver Images
113 - variable: image.csi.provisioner.repository
114 default: longhornio/csi-provisioner
115 description: >-
116 Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
117 type: string
118 label: Longhorn CSI Provisioner Image Repository
119 group: Longhorn CSI Driver Images
120 - variable: image.csi.provisioner.tag
121 default: v5.2.0
122 description: >-
123 Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
124 type: string
125 label: Longhorn CSI Provisioner Image Tag
126 group: Longhorn CSI Driver Images
127 - variable: image.csi.nodeDriverRegistrar.repository
128 default: longhornio/csi-node-driver-registrar
129 description: >-
130 Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
131 type: string
132 label: Longhorn CSI Node Driver Registrar Image Repository
133 group: Longhorn CSI Driver Images
134 - variable: image.csi.nodeDriverRegistrar.tag
135 default: v2.13.0
136 description: >-
137 Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
138 type: string
139 label: Longhorn CSI Node Driver Registrar Image Tag
140 group: Longhorn CSI Driver Images
141 - variable: image.csi.resizer.repository
142 default: longhornio/csi-resizer
143 description: >-
144 Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value.
145 type: string
146 label: Longhorn CSI Driver Resizer Image Repository
147 group: Longhorn CSI Driver Images
148 - variable: image.csi.resizer.tag
149 default: v1.13.2
150 description: >-
151 Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value.
152 type: string
153 label: Longhorn CSI Driver Resizer Image Tag
154 group: Longhorn CSI Driver Images
155 - variable: image.csi.snapshotter.repository
156 default: longhornio/csi-snapshotter
157 description: >-
158 Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
159 type: string
160 label: Longhorn CSI Driver Snapshotter Image Repository
161 group: Longhorn CSI Driver Images
162 - variable: image.csi.snapshotter.tag
163 default: v8.2.0
164 description: >-
165 Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
166 type: string
167 label: Longhorn CSI Driver Snapshotter Image Tag
168 group: Longhorn CSI Driver Images
169 - variable: image.csi.livenessProbe.repository
170 default: longhornio/livenessprobe
171 description: >-
172 Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
173 type: string
174 label: Longhorn CSI Liveness Probe Image Repository
175 group: Longhorn CSI Driver Images
176 - variable: image.csi.livenessProbe.tag
177 default: v2.15.0
178 description: >-
179 Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
180 type: string
181 label: Longhorn CSI Liveness Probe Image Tag
182 group: Longhorn CSI Driver Images
183 - variable: privateRegistry.registryUrl
184 label: Private registry URL
gio2539d9e2025-05-22 12:19:30 +0400185 description: >-
giodbf4a852025-06-30 17:09:46 +0400186 URL of a private registry. When unspecified, Longhorn uses the default system registry.
187 group: Private Registry Settings
188 type: string
189 default: ''
190 subquestions: []
191 - variable: privateRegistry.registrySecret
192 label: Private registry secret name
193 description: >-
194 Kubernetes secret that allows you to pull images from a private registry. This setting applies only when creation of private registry secrets is enabled. You must include the private registry name in the secret name.
195 group: Private Registry Settings
196 type: string
197 default: ''
198 subquestions: []
199 - variable: privateRegistry.createSecret
200 default: 'true'
201 description: Setting that allows you to create a private registry secret.
202 type: boolean
203 group: Private Registry Settings
204 label: Create Secret for Private Registry Settings
205 show_subquestion_if: true
206 subquestions:
207 - variable: privateRegistry.registryUser
208 label: Private registry user
209 description: User account used for authenticating with a private registry.
210 type: string
211 default: ''
212 - variable: privateRegistry.registryPasswd
213 label: Private registry password
214 description: Password for authenticating with a private registry.
215 type: password
216 default: ''
217 - variable: longhorn.default_setting
218 default: 'false'
219 description: >-
220 Customize the default settings before installing Longhorn for the first time. This option will only work if the cluster hasn't installed Longhorn.
221 label: Customize Default Settings
222 type: boolean
223 show_subquestion_if: true
gio2539d9e2025-05-22 12:19:30 +0400224 group: Longhorn Default Settings
giodbf4a852025-06-30 17:09:46 +0400225 subquestions:
226 - variable: csi.kubeletRootDir
227 default: null
228 description: >-
229 kubelet root directory. When unspecified, Longhorn uses the default value.
230 type: string
231 label: Kubelet Root Directory
232 group: Longhorn CSI Driver Settings
233 - variable: csi.attacherReplicaCount
234 type: int
235 default: 3
236 min: 1
237 max: 10
238 description: >-
239 Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3").
240 label: Longhorn CSI Attacher replica count
241 group: Longhorn CSI Driver Settings
242 - variable: csi.provisionerReplicaCount
243 type: int
244 default: 3
245 min: 1
246 max: 10
247 description: >-
248 Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3").
249 label: Longhorn CSI Provisioner replica count
250 group: Longhorn CSI Driver Settings
251 - variable: csi.resizerReplicaCount
252 type: int
253 default: 3
254 min: 1
255 max: 10
256 description: >-
257 Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3").
258 label: Longhorn CSI Resizer replica count
259 group: Longhorn CSI Driver Settings
260 - variable: csi.snapshotterReplicaCount
261 type: int
262 default: 3
263 min: 1
264 max: 10
265 description: >-
266 Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3").
267 label: Longhorn CSI Snapshotter replica count
268 group: Longhorn CSI Driver Settings
269 - variable: defaultSettings.allowRecurringJobWhileVolumeDetached
270 label: Allow Recurring Job While Volume Is Detached
271 description: >-
272 Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run.
273 group: Longhorn Default Settings
274 type: boolean
275 default: 'false'
276 - variable: defaultSettings.snapshotMaxCount
277 label: Snapshot Maximum Count
278 description: >-
279 Maximum snapshot count for a volume. The value should be between 2 to 250.
280 group: Longhorn Default Settings
281 type: int
282 min: 2
283 max: 250
284 default: 250
285 - variable: defaultSettings.createDefaultDiskLabeledNodes
286 label: Create Default Disk on Labeled Nodes
287 description: >-
288 Setting that allows Longhorn to automatically create a default disk only on nodes with the label "node.longhorn.io/create-default-disk=true" (if no other disks exist). When this setting is disabled, Longhorn creates a default disk on each node that is added to the cluster.
289 group: Longhorn Default Settings
290 type: boolean
291 default: 'false'
292 - variable: defaultSettings.defaultDataPath
293 label: Default Data Path
294 description: >-
295 Default path for storing data on a host. The default value is "/var/lib/longhorn/".
296 group: Longhorn Default Settings
297 type: string
298 default: /var/lib/longhorn/
299 - variable: defaultSettings.defaultDataLocality
300 label: Default Data Locality
301 description: >-
302 Default data locality. A Longhorn volume has data locality if a local replica of the volume exists on the same node as the pod that is using the volume.
303 group: Longhorn Default Settings
304 type: enum
305 options:
306 - disabled
307 - best-effort
308 default: disabled
309 - variable: defaultSettings.replicaSoftAntiAffinity
310 label: Replica Node Level Soft Anti-Affinity
311 description: >-
312 Allow scheduling on nodes with existing healthy replicas of the same volume. By default, false.
313 group: Longhorn Default Settings
314 type: boolean
315 default: 'false'
316 - variable: defaultSettings.replicaAutoBalance
317 label: Replica Auto Balance
318 description: >-
319 Enable this setting automatically re-balances replicas when discovered an available node.
320 group: Longhorn Default Settings
321 type: enum
322 options:
323 - disabled
324 - least-effort
325 - best-effort
326 default: disabled
327 - variable: defaultSettings.storageOverProvisioningPercentage
328 label: Storage Over Provisioning Percentage
329 description: >-
330 Percentage of storage that can be allocated relative to hard drive capacity. The default value is 100.
331 group: Longhorn Default Settings
332 type: int
333 min: 0
334 default: 100
335 - variable: defaultSettings.storageMinimalAvailablePercentage
336 label: Storage Minimal Available Percentage
337 description: >-
338 If the minimum available disk capacity exceeds the actual percentage of available disk capacity, the disk becomes unschedulable until more space is freed up. By default, 25.
339 group: Longhorn Default Settings
340 type: int
341 min: 0
342 max: 100
343 default: 25
344 - variable: defaultSettings.storageReservedPercentageForDefaultDisk
345 label: Storage Reserved Percentage For Default Disk
346 description: >-
347 The reserved percentage specifies the percentage of disk space that will not be allocated to the default disk on each new Longhorn node.
348 group: Longhorn Default Settings
349 type: int
350 min: 0
351 max: 100
352 default: 30
353 - variable: defaultSettings.upgradeChecker
354 label: Enable Upgrade Checker
355 description: >-
356 Upgrade Checker that periodically checks for new Longhorn versions. When a new version is available, a notification appears on the Longhorn UI. This setting is enabled by default.
357 group: Longhorn Default Settings
358 type: boolean
359 default: 'true'
360 - variable: defaultSettings.upgradeResponderURL
361 label: Upgrade Responder URL
362 description: >-
363 The Upgrade Responder sends a notification whenever a new Longhorn version that you can upgrade to becomes available. The default value is "https://longhorn-upgrade-responder.rancher.io/v1/checkupgrade".
364 group: Longhorn Default Settings
365 type: string
366 default: 'https://longhorn-upgrade-responder.rancher.io/v1/checkupgrade'
367 - variable: defaultSettings.defaultReplicaCount
368 label: Default Replica Count
369 description: >-
370 Default number of replicas for volumes created using the Longhorn UI. For Kubernetes configuration, modify the `numberOfReplicas` field in the StorageClass. The default value is "3".
371 group: Longhorn Default Settings
372 type: int
373 min: 1
374 max: 20
375 default: 3
376 - variable: defaultSettings.defaultLonghornStaticStorageClass
377 label: Default Longhorn Static StorageClass Name
378 description: >-
379 Default name of Longhorn Static StorageClass. The "storageClassName" is assigned to PVs and PVCs that are created for an existing Longhorn volume. The "storageClassName" can also be used as a label, so it is possible to use a Longhorn StorageClass to bind a workload to an existing PV without creating a Kubernetes StorageClass object. The "storageClassName" needs to be an existing StorageClass. The default value is "longhorn-static".
380 group: Longhorn Default Settings
381 type: string
382 default: longhorn-static
383 - variable: defaultSettings.failedBackupTTL
384 label: Failed Backup Time to Live
385 description: >-
386 Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled.
387 group: Longhorn Default Settings
388 type: int
389 min: 0
390 default: 1440
391 - variable: defaultSettings.backupExecutionTimeout
392 label: Backup Execution Timeout
393 description: >-
394 Number of minutes that Longhorn allows for the backup execution. The default value is "1".
395 group: Longhorn Default Settings
396 type: int
397 min: 1
398 default: 1
399 - variable: defaultSettings.restoreVolumeRecurringJobs
400 label: Restore Volume Recurring Jobs
401 description: >-
402 Restore recurring jobs from the backup volume on the backup target and create recurring jobs if not exist during a backup restoration.
403 group: Longhorn Default Settings
404 type: boolean
405 default: 'false'
406 - variable: defaultSettings.recurringSuccessfulJobsHistoryLimit
407 label: Cronjob Successful Jobs History Limit
408 description: >-
409 This setting specifies how many successful backup or snapshot job histories should be retained. History will not be retained if the value is 0.
410 group: Longhorn Default Settings
411 type: int
412 min: 0
413 default: 1
414 - variable: defaultSettings.recurringFailedJobsHistoryLimit
415 label: Cronjob Failed Jobs History Limit
416 description: >-
417 Maximum number of failed recurring backup and snapshot jobs to be retained. When the value is "0", a history of failed recurring jobs is not retained.
418 group: Longhorn Default Settings
419 type: int
420 min: 0
421 default: 1
422 - variable: defaultSettings.recurringJobMaxRetention
423 label: Maximum Retention Number for Recurring Job
424 description: Maximum number of snapshots or backups to be retained.
425 group: Longhorn Default Settings
426 type: int
427 default: 100
428 - variable: defaultSettings.supportBundleFailedHistoryLimit
429 label: SupportBundle Failed History Limit
430 description: >-
431 This setting specifies how many failed support bundles can exist in the cluster. Set this value to **0** to have Longhorn automatically purge all failed support bundles.
432 group: Longhorn Default Settings
433 type: int
434 min: 0
435 default: 1
436 - variable: defaultSettings.autoSalvage
437 label: Automatic salvage
438 description: >-
439 Setting that allows Longhorn to automatically salvage volumes when all replicas become faulty (for example, when the network connection is interrupted). Longhorn determines which replicas are usable and then uses these replicas for the volume. This setting is enabled by default.
440 group: Longhorn Default Settings
441 type: boolean
442 default: 'true'
443 - variable: defaultSettings.autoDeletePodWhenVolumeDetachedUnexpectedly
444 label: >-
445 Automatically Delete Workload Pod when The Volume Is Detached Unexpectedly
446 description: >-
447 Setting that allows Longhorn to automatically delete a workload pod that is managed by a controller (for example, daemonset) whenever a Longhorn volume is detached unexpectedly (for example, during Kubernetes upgrades). After deletion, the controller restarts the pod and then Kubernetes handles volume reattachment and remounting.
448 group: Longhorn Default Settings
449 type: boolean
450 default: 'true'
451 - variable: defaultSettings.disableSchedulingOnCordonedNode
452 label: Disable Scheduling On Cordoned Node
453 description: >-
454 Setting that prevents Longhorn Manager from scheduling replicas on a cordoned Kubernetes node. This setting is enabled by default.
455 group: Longhorn Default Settings
456 type: boolean
457 default: 'true'
458 - variable: defaultSettings.replicaZoneSoftAntiAffinity
459 label: Replica Zone Level Soft Anti-Affinity
460 description: >-
461 Allow scheduling new Replicas of Volume to the Nodes in the same Zone as existing healthy Replicas. Nodes don't belong to any Zone will be treated as in the same Zone. Notice that Longhorn relies on label `topology.kubernetes.io/zone=<Zone name of the node>` in the Kubernetes node object to identify the zone. By, default true.
462 group: Longhorn Default Settings
463 type: boolean
464 default: 'true'
465 - variable: defaultSettings.replicaDiskSoftAntiAffinity
466 label: Replica Disk Level Soft Anti-Affinity
467 description: >-
468 Allow scheduling on disks with existing healthy replicas of the same volume. By default, true.
469 group: Longhorn Default Settings
470 type: boolean
471 default: 'true'
472 - variable: defaultSettings.allowEmptyNodeSelectorVolume
473 label: Allow Empty Node Selector Volume
474 description: >-
475 Setting that allows scheduling of empty node selector volumes to any node.
476 group: Longhorn Default Settings
477 type: boolean
478 default: 'true'
479 - variable: defaultSettings.allowEmptyDiskSelectorVolume
480 label: Allow Empty Disk Selector Volume
481 description: >-
482 Setting that allows scheduling of empty disk selector volumes to any disk.
483 group: Longhorn Default Settings
484 type: boolean
485 default: 'true'
486 - variable: defaultSettings.nodeDownPodDeletionPolicy
487 label: Pod Deletion Policy When Node is Down
488 description: >-
489 Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed.
490 group: Longhorn Default Settings
491 type: enum
492 options:
493 - do-nothing
494 - delete-statefulset-pod
495 - delete-deployment-pod
496 - delete-both-statefulset-and-deployment-pod
497 default: do-nothing
498 - variable: defaultSettings.nodeDrainPolicy
499 label: Node Drain Policy
500 description: >-
501 Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained.
502 group: Longhorn Default Settings
503 type: enum
504 options:
505 - block-for-eviction
506 - block-for-eviction-if-contains-last-replica
507 - block-if-contains-last-replica
508 - allow-if-replica-is-stopped
509 - always-allow
510 default: block-if-contains-last-replica
511 - variable: defaultSettings.detachManuallyAttachedVolumesWhenCordoned
512 label: Detach Manually Attached Volumes When Cordoned
513 description: >-
514 Setting that allows automatic detaching of manually-attached volumes when a node is cordoned.
515 group: Longhorn Default Settings
516 type: boolean
517 default: 'false'
518 - variable: defaultSettings.priorityClass
519 label: Priority Class
520 description: >-
521 PriorityClass for system-managed Longhorn components. This setting can help prevent Longhorn components from being evicted under Node Pressure. Longhorn system contains user deployed components (E.g, Longhorn manager, Longhorn driver, Longhorn UI) and system managed components (E.g, instance manager, engine image, CSI driver, etc.) Note that this will be applied to Longhorn user-deployed components by default if there are no priority class values set yet, such as `longhornManager.priorityClass`. WARNING: DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES.
522 group: Longhorn Default Settings
523 type: string
524 default: longhorn-critical
525 - variable: defaultSettings.replicaReplenishmentWaitInterval
526 label: Replica Replenishment Wait Interval
527 description: >-
528 The interval in seconds determines how long Longhorn will at least wait to reuse the existing data on a failed replica rather than directly creating a new replica for a degraded volume.
529 group: Longhorn Default Settings
530 type: int
531 min: 0
532 default: 600
533 - variable: defaultSettings.concurrentReplicaRebuildPerNodeLimit
534 label: Concurrent Replica Rebuild Per Node Limit
535 description: >-
536 Maximum number of replicas that can be concurrently rebuilt on each node. **Caution**: [1] This setting replaces "Disable Replica Rebuild". Instead of delaying replica startup, Longhorn skips replica object replenishment to limit the number of concurrently rebuilding replicas. [2] When the value is "0", the eviction and data locality features do not work, but ongoing replica rebuilding and backup/restoration operations should remain unaffected.
537 group: Longhorn Default Settings
538 type: int
539 min: 0
540 default: 5
541 - variable: defaultSettings.concurrentVolumeBackupRestorePerNodeLimit
542 label: Concurrent Volume Backup Restore Per Node Limit
543 description: >-
544 Maximum number of volumes that can be concurrently restored on each node using a backup. When the value is "0", restoration of volumes using a backup is disabled.
545 group: Longhorn Default Settings
546 type: int
547 min: 0
548 default: 5
549 - variable: defaultSettings.disableRevisionCounter
550 label: Disable Revision Counter
551 description: >-
552 Setting that disables the revision counter and thereby prevents Longhorn from tracking all write operations to a volume. When salvaging a volume, Longhorn uses properties of the "volume-head-xxx.img" file (the last file size and the last time the file was modified) to select the replica to be used for volume recovery. This setting applies only to volumes created using the Longhorn UI.
553 group: Longhorn Default Settings
554 type: boolean
555 default: 'true'
556 - variable: defaultSettings.systemManagedPodsImagePullPolicy
557 label: System Managed Pod Image Pull Policy
558 description: >-
559 Image pull policy for system-managed pods, such as Instance Manager, engine images, and CSI Driver. Changes to the image pull policy are applied only after the system-managed pods restart.
560 group: Longhorn Default Settings
561 type: enum
562 options:
563 - if-not-present
564 - always
565 - never
566 default: if-not-present
567 - variable: defaultSettings.allowVolumeCreationWithDegradedAvailability
568 label: Allow Volume Creation with Degraded Availability
569 description: >-
570 Setting that allows you to create and attach a volume without having all replicas scheduled at the time of creation.
571 group: Longhorn Default Settings
572 type: boolean
573 default: 'true'
574 - variable: defaultSettings.autoCleanupSystemGeneratedSnapshot
575 label: Automatically Cleanup System Generated Snapshot
576 description: >-
577 Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed.
578 group: Longhorn Default Settings
579 type: boolean
580 default: 'true'
581 - variable: defaultSettings.autoCleanupRecurringJobBackupSnapshot
582 label: Automatically Cleanup Recurring Job Backup Snapshot
583 description: >-
584 Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job.
585 group: Longhorn Default Settings
586 type: boolean
587 default: 'true'
588 - variable: defaultSettings.concurrentAutomaticEngineUpgradePerNodeLimit
589 label: Concurrent Automatic Engine Upgrade Per Node Limit
590 description: >-
591 Maximum number of engines that are allowed to concurrently upgrade on each node after Longhorn Manager is upgraded. When the value is "0", Longhorn does not automatically upgrade volume engines to the new default engine image version.
592 group: Longhorn Default Settings
593 type: int
594 min: 0
595 default: 0
596 - variable: defaultSettings.backingImageCleanupWaitInterval
597 label: Backing Image Cleanup Wait Interval
598 description: >-
599 Number of minutes that Longhorn waits before cleaning up the backing image file when no replicas in the disk are using it.
600 group: Longhorn Default Settings
601 type: int
602 min: 0
603 default: 60
604 - variable: defaultSettings.backingImageRecoveryWaitInterval
605 label: Backing Image Recovery Wait Interval
606 description: >-
607 Number of seconds that Longhorn waits before downloading a backing image file again when the status of all image disk files changes to "failed" or "unknown".
608 group: Longhorn Default Settings
609 type: int
610 min: 0
611 default: 300
612 - variable: defaultSettings.guaranteedInstanceManagerCPU
613 label: Guaranteed Instance Manager CPU
614 description: >-
615 Percentage of the total allocatable CPU resources on each node to be reserved for each Instance Manager pod when the V1 Data Engine is enabled. You can specify a value between "0" and "40" to accommodate the possible number of new Instance Manager pods during upgrades. The default value is "12". **Caution**: [1] When the value is "0", CPU requests are removed from the spec of Instance Manager pods. [2] A new set of Instance Manager pods must be deployed when Longhorn is upgraded. If the available CPUs are not sufficient for the new pods, you must detach the volumes using the oldest Instance Manager pods so that Longhorn can automatically clean up the old pods and release the CPU resources. Once completed, the new pods with the latest Instance Manager image are launched. [3] This global setting is not applied to nodes with a specified value for the "InstanceManagerCPURequest" field. [4] After this setting is configured, Instance Manager pods on all nodes that use this setting are automatically restarted. **Do not change this setting while volumes are still attached.**
616 group: Longhorn Default Settings
617 type: int
618 min: 0
619 max: 40
620 default: 12
621 - variable: defaultSettings.logLevel
622 label: Log Level
623 description: >-
624 Log levels that indicate the type and severity of logs in Longhorn Manager. The default value is "Info". (Options: "Panic", "Fatal", "Error", "Warn", "Info", "Debug", "Trace")
625 group: Longhorn Default Settings
626 type: string
627 default: Info
628 - variable: defaultSettings.disableSnapshotPurge
629 label: Disable Snapshot Purge
630 description: >-
631 Setting that temporarily prevents all attempts to purge volume snapshots.
632 group: Longhorn Default Settings
633 type: boolean
634 default: 'false'
635 - variable: defaultSettings.freezeFilesystemForSnapshot
636 description: >-
637 Setting that freezes the filesystem on the root partition before a snapshot is created.
638 group: Longhorn Default Settings
639 type: boolean
640 default: 'false'
641 - variable: defaultSettings.kubernetesClusterAutoscalerEnabled
642 label: Kubernetes Cluster Autoscaler Enabled (Experimental)
643 description: >-
644 Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler. **Caution**: Replica rebuilding may consume significant resources if the Kubernetes Cluster Autoscaler removes nodes with reusable replicas.
645 group: Longhorn Default Settings
646 type: boolean
647 default: false
648 - variable: defaultSettings.orphanResourceAutoDeletion
649 label: Orphaned Data Cleanup
650 description: >-
651 Enables Longhorn to automatically delete orphaned resources and their associated data or processes (e.g., stale replicas). Orphaned resources on failed or unknown nodes are not automatically cleaned up. You need to specify the resource types to be deleted using a semicolon-separated list (e.g., `replica-data;instance`). Valid resource types: `replica-data`, `instance`.
652 group: Longhorn Default Settings
653 type: string
654 default: null
655 - variable: defaultSettings.orphanResourceAutoDeletionGracePeriod
656 label: Orphaned Data Cleanup
657 description: >-
658 Specifies the wait time, in seconds, before Longhorn automatically deletes an orphaned Custom Resource (CR) and its associated resources. Note that if a user manually deletes an orphaned CR, the deletion occurs immediately and does not respect this grace period.
659 group: Longhorn Default Settings
660 type: int
661 default: '300'
662 - variable: defaultSettings.storageNetwork
663 label: Storage Network
664 description: >-
665 Longhorn uses the storage network for in-cluster data traffic. Leave this blank to use the Kubernetes cluster network. **Caution**: This setting should change after all volumes are detached because some Longhorn component pods must be recreated to apply the setting. You cannot modify this setting while volumes are still attached.
666 group: Longhorn Default Settings
667 type: string
668 default: null
669 - variable: defaultSettings.taintToleration
670 label: Taint Toleration
671 description: >-
672 Taint or toleration for system-managed Longhorn components. Specify values using a semicolon-separated list in `kubectl taint` syntax (Example: key1=value1:effect; key2=value2:effect). **Caution**: This setting should change after all volumes are detached because some Longhorn component pods must be recreated to apply the setting. You cannot modify this setting while volumes are still attached.
673 group: Longhorn Default Settings
674 type: string
675 default: null
676 - variable: defaultSettings.systemManagedComponentsNodeSelector
677 label: System Managed Components NodeSelector
678 description: >-
679 Node selector for system-managed Longhorn components.. **Caution**: This setting should change after all volumes are detached because some Longhorn component pods must be recreated to apply the setting. You cannot modify this setting while volumes are still attached.
680 group: Longhorn Default Settings
681 type: string
682 default: null
683 - variable: defaultSettings.deletingConfirmationFlag
684 label: Deleting Confirmation Flag
685 description: Flag that prevents accidental uninstallation of Longhorn.
686 group: Longhorn Default Settings
687 type: boolean
688 default: 'false'
689 - variable: defaultSettings.engineReplicaTimeout
690 label: Timeout between Engine and Replica
691 description: >-
692 Timeout between the Longhorn Engine and replicas. Specify a value between "8" and "30" seconds. The default value is "8".
693 group: Longhorn Default Settings
694 type: int
695 default: '8'
696 - variable: defaultSettings.snapshotDataIntegrity
697 label: Snapshot Data Integrity
698 description: >-
699 This setting allows users to enable or disable snapshot hashing and data integrity checking.
700 group: Longhorn Default Settings
701 type: enum
702 options:
703 - enabled
704 - fast-check
705 - disabled
706 default: disabled
707 - variable: >-
708 defaultSettings.snapshotDataIntegrityImmediateCheckAfterSnapshotCreation
709 label: Immediate Snapshot Data Integrity Check After Creating a Snapshot
710 description: >-
711 Hashing snapshot disk files impacts the performance of the system. The immediate snapshot hashing and checking can be disabled to minimize the impact after creating a snapshot.
712 group: Longhorn Default Settings
713 type: boolean
714 default: 'false'
715 - variable: defaultSettings.snapshotDataIntegrityCronjob
716 label: Snapshot Data Integrity Check CronJob
717 description: >-
718 Unix-cron string format. The setting specifies when Longhorn checks the data integrity of snapshot disk files.
719 group: Longhorn Default Settings
720 type: string
721 default: 0 0 */7 * *
722 - variable: defaultSettings.removeSnapshotsDuringFilesystemTrim
723 label: Remove Snapshots During Filesystem Trim
724 description: >-
725 This setting allows Longhorn filesystem trim feature to automatically mark the latest snapshot and its ancestors as removed and stops at the snapshot containing multiple children.
726 group: Longhorn Default Settings
727 type: boolean
728 default: 'false'
729 - variable: defaultSettings.fastReplicaRebuildEnabled
730 label: Fast Replica Rebuild Enabled
731 description: >-
732 Setting that allows fast rebuilding of replicas using the checksum of snapshot disk files. Before enabling this setting, you must set the snapshot-data-integrity value to "enable" or "fast-check".
733 group: Longhorn Default Settings
734 type: boolean
735 default: false
736 - variable: defaultSettings.replicaFileSyncHttpClientTimeout
737 label: Timeout of HTTP Client to Replica File Sync Server
738 description: >-
739 In seconds. The setting specifies the HTTP client timeout to the file sync server.
740 group: Longhorn Default Settings
741 type: int
742 default: '30'
743 - variable: defaultSettings.longGRPCTimeOut
744 label: Long gRPC Timeout
745 description: >-
746 Number of seconds that Longhorn allows for the completion of replica rebuilding and snapshot cloning operations.
747 group: Longhorn Default Settings
748 type: int
749 default: '86400'
750 - variable: defaultSettings.backupCompressionMethod
751 label: Backup Compression Method
752 description: Setting that allows you to specify a backup compression method.
753 group: Longhorn Default Settings
754 type: string
755 default: lz4
756 - variable: defaultSettings.backupConcurrentLimit
757 label: Backup Concurrent Limit Per Backup
758 description: >-
759 Maximum number of worker threads that can concurrently run for each backup.
760 group: Longhorn Default Settings
761 type: int
762 min: 1
763 default: 2
764 - variable: defaultSettings.restoreConcurrentLimit
765 label: Restore Concurrent Limit Per Backup
766 description: >-
767 This setting controls how many worker threads per restore concurrently.
768 group: Longhorn Default Settings
769 type: int
770 min: 1
771 default: 2
772 - variable: defaultSettings.allowCollectingLonghornUsageMetrics
773 label: Allow Collecting Longhorn Usage Metrics
774 description: >-
775 Setting that allows Longhorn to periodically collect anonymous usage data for product improvement purposes. Longhorn sends collected data to the [Upgrade Responder](https://github.com/longhorn/upgrade-responder) server, which is the data source of the Longhorn Public Metrics Dashboard (https://metrics.longhorn.io). The Upgrade Responder server does not store data that can be used to identify clients, including IP addresses.
776 group: Longhorn Default Settings
777 type: boolean
778 default: true
779 - variable: defaultSettings.v1DataEngine
780 label: V1 Data Engine
781 description: Setting that allows you to enable the V1 Data Engine.
782 group: Longhorn V1 Data Engine Settings
783 type: boolean
784 default: true
785 - variable: defaultSettings.v2DataEngine
786 label: V2 Data Engine
787 description: >-
788 Setting that allows you to enable the V2 Data Engine, which is based on the Storage Performance Development Kit (SPDK). The V2 Data Engine is an experimental feature and should not be used in production environments. **Caution**: [1] **Do not modify this setting while volumes are still attached.** [2] When the V2 Data Engine is enabled, each Instance Manager pod for the V2 Data Engine uses 1 CPU core. The high CPU usage is caused by `spdk_tgt`, a process running in each Instance Manager pod that handles input/output (IO) operations and requires intensive polling. `spdk_tgt` consumes 100% of a dedicated CPU core to efficiently manage and process the IO requests, ensuring optimal performance and responsiveness for storage operations.
789 group: Longhorn V2 Data Engine (Experimental Feature) Settings
790 type: boolean
791 default: false
792 - variable: defaultSettings.v2DataEngineHugepageLimit
793 label: V2 Data Engine
794 description: >-
795 This allows users to configure maximum huge page size (in MiB) for the V2 Data Engine.
796 group: Longhorn V2 Data Engine (Experimental Feature) Settings
797 type: int
798 default: '2048'
799 - variable: defaultSettings.v2DataEngineLogLevel
800 label: V2 Data Engine Log Level
801 description: >-
802 Setting that allows you to configure the log level of the SPDK target daemon (spdk_tgt) of the V2 Data Engine.
803 group: Longhorn V2 Data Engine (Experimental Feature) Settings
804 type: enum
805 options:
806 - Disabled
807 - Error
808 - Warn
809 - Notice
810 - Info
811 - Debug
812 default: Notice
813 - variable: defaultSettings.v2DataEngineLogFlags
814 label: V2 Data Engine Log Flags
815 description: >-
816 Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine.
817 group: Longhorn V2 Data Engine (Experimental Feature) Settings
818 type: string
819 default: null
820 - variable: defaultSettings.v2DataEngineSnapshotDataIntegrity
821 label: V2 Data Engine Snapshot Data Integrity
822 description: >-
823 Setting that allows you to enable or disable snapshot hashing and data integrity checking for the V2 Data Engine.
824 group: Longhorn V2 Data Engine (Experimental Feature) Settings
825 type: enum
826 options:
827 - fast-check
828 - disabled
829 default: disabled
830 - variable: defaultSettings.autoCleanupSnapshotWhenDeleteBackup
831 label: Auto Cleanup Snapshot When Delete Backup
832 description: >-
833 Setting that automatically cleans up the snapshot when the backup is deleted.
834 group: Longhorn Default Settings
835 type: boolean
836 default: false
837 - variable: defaultSettings.autoCleanupSnapshotAfterOnDemandBackupCompleted
838 label: Auto Cleanup Snapshot After On-Demand Backup Completed
839 description: >-
840 Setting that automatically cleans up the snapshot after the on-demand backup is completed.
841 group: Longhorn Default Settings
842 type: boolean
843 default: false
844 - variable: defaultSettings.rwxVolumeFastFailover
845 label: RWX Volume Fast Failover (Experimental)
846 description: >-
847 Setting that allows Longhorn to detect node failure and immediately migrate affected RWX volumes.
848 group: Longhorn Default Settings
849 type: boolean
850 default: false
851 - variable: defaultSettings.offlineRelicaRebuilding
852 label: Offline Replica Rebuilding
853 description: >-
854 Enables automatic rebuilding of degraded replicas while the volume is detached. This setting only takes effect if the individual volume setting is set to `ignored` or `enabled`.
855 group: Longhorn Default Settings
856 type: boolean
857 default: false
858 - variable: persistence.defaultClass
859 default: 'true'
860 description: Setting that allows you to specify the default Longhorn StorageClass.
861 label: Default Storage Class
862 group: Longhorn Storage Class Settings
863 required: true
864 type: boolean
865 subquestions: []
866 - variable: persistence.reclaimPolicy
867 label: Storage Class Retain Policy
868 description: >-
869 Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete")
870 group: Longhorn Storage Class Settings
871 required: true
872 type: enum
873 options:
874 - Delete
875 - Retain
876 default: Delete
877 subquestions: []
878 - variable: persistence.volumeBindingMode
879 label: Storage Class Volume Binding Mode
880 description: >-
881 VolumeBindingMode controls when volume binding and dynamic provisioning should occur. (Options: "Immediate", "WaitForFirstConsumer") (Defaults to "Immediate")
882 group: Longhorn Storage Class Settings
883 required: true
884 type: enum
885 options:
886 - Immediate
887 - WaitForFirstConsumer
888 default: Immediate
889 subquestions: []
890 - variable: persistence.defaultFsType
891 label: Storage Class Filesystem Type
892 description: Filesystem type of the default Longhorn StorageClass
893 group: Longhorn Storage Class Settings
894 type: enum
895 options:
896 - xfs
897 - ext4
898 default: ext4
899 subquestions: []
900 - variable: persistence.disableRevisionCounter
901 label: Default Storage Class Disable Revision Counter
902 description: >-
903 Setting that disables the revision counter and thereby prevents Longhorn from tracking all write operations to a volume. When salvaging a volume, Longhorn uses properties of the volume-head-xxx.img file (the last file size and the last time the file was modified) to select the replica to be used for volume recovery. (Options: "true", "false")
904 group: Longhorn Storage Class Settings
905 required: true
906 type: enum
907 options:
908 - 'true'
909 - 'false'
910 default: 'true'
911 subquestions: []
912 - variable: persistence.defaultClassReplicaCount
913 description: Replica count of the default Longhorn StorageClass.
914 label: Default Storage Class Replica Count
915 group: Longhorn Storage Class Settings
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400916 type: int
917 min: 1
giodbf4a852025-06-30 17:09:46 +0400918 max: 10
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400919 default: 3
giodbf4a852025-06-30 17:09:46 +0400920 subquestions: []
921 - variable: persistence.defaultDataLocality
922 description: >-
923 Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort")
924 label: Default Storage Class Data Locality
925 group: Longhorn Storage Class Settings
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400926 type: enum
927 options:
giodbf4a852025-06-30 17:09:46 +0400928 - disabled
929 - best-effort
930 default: disabled
931 subquestions: []
932 - variable: persistence.recurringJobSelector.enable
933 description: >-
934 Setting that allows you to enable the recurring job selector for a Longhorn StorageClass.
935 group: Longhorn Storage Class Settings
936 label: Enable Storage Class Recurring Job Selector
gio2539d9e2025-05-22 12:19:30 +0400937 type: boolean
938 default: false
giodbf4a852025-06-30 17:09:46 +0400939 show_subquestion_if: true
940 subquestions:
941 - variable: persistence.recurringJobSelector.jobList
942 description: >-
943 Recurring job selector for a Longhorn StorageClass. Ensure that quotes are used correctly when specifying job parameters. (Example: `[{"name":"backup", "isGroup":true}]`)
944 label: Storage Class Recurring Job Selector List
945 group: Longhorn Storage Class Settings
946 type: string
947 default: null
948 - variable: persistence.defaultDiskSelector.enable
949 description: >-
950 Setting that allows you to enable the disk selector for the default Longhorn StorageClass.
951 group: Longhorn Storage Class Settings
952 label: Enable Storage Class Disk Selector
gio2539d9e2025-05-22 12:19:30 +0400953 type: boolean
954 default: false
giodbf4a852025-06-30 17:09:46 +0400955 show_subquestion_if: true
956 subquestions:
957 - variable: persistence.defaultDiskSelector.selector
958 label: Storage Class Disk Selector
959 description: >-
960 Disk selector for the default Longhorn StorageClass. Longhorn uses only disks with the specified tags for storing volume data. (Examples: "nvme,sata")
961 group: Longhorn Storage Class Settings
962 type: string
963 default: null
964 - variable: persistence.defaultNodeSelector.enable
965 description: >-
966 Setting that allows you to enable the node selector for the default Longhorn StorageClass.
967 group: Longhorn Storage Class Settings
968 label: Enable Storage Class Node Selector
gio2539d9e2025-05-22 12:19:30 +0400969 type: boolean
970 default: false
giodbf4a852025-06-30 17:09:46 +0400971 show_subquestion_if: true
972 subquestions:
973 - variable: persistence.defaultNodeSelector.selector
974 label: Storage Class Node Selector
975 description: >-
976 Node selector for the default Longhorn StorageClass. Longhorn uses only nodes with the specified tags for storing volume data. (Examples: "storage,fast")
977 group: Longhorn Storage Class Settings
978 type: string
979 default: null
980 - variable: persistence.backingImage.enable
981 description: Setting that allows you to use a backing image in a Longhorn StorageClass.
982 group: Longhorn Storage Class Settings
983 label: Default Storage Class Backing Image
gio2539d9e2025-05-22 12:19:30 +0400984 type: boolean
985 default: false
giodbf4a852025-06-30 17:09:46 +0400986 show_subquestion_if: true
987 subquestions:
988 - variable: persistence.backingImage.name
989 description: >-
990 Backing image to be used for creating and restoring volumes in a Longhorn StorageClass. When no backing images are available, specify the data source type and parameters that Longhorn can use to create a backing image.
991 label: Storage Class Backing Image Name
992 group: Longhorn Storage Class Settings
993 type: string
994 default: null
995 - variable: persistence.backingImage.expectedChecksum
996 description: >-
997 Expected SHA-512 checksum of a backing image used in a Longhorn StorageClass. **Caution** [1] This field is useful only if the backing image name is specified. [2] Specifying a checksum is not recommended when the data source type is \"export-from-volume\".
998 label: Storage Class Backing Image Expected SHA512 Checksum
999 group: Longhorn Storage Class Settings
1000 type: string
1001 default: null
1002 - variable: persistence.backingImage.dataSourceType
1003 description: >-
1004 Data source type of a backing image used in a Longhorn StorageClass. If the backing image exists in the cluster, Longhorn uses this setting to verify the image. If the backing image does not exist, Longhorn creates one using the specified data source type. **Caution** [1] This field is useful only if the backing image name is specified. [2] Backing images with data source type \"upload\" are best created using the Longhorn UI. Uploading requires sending file data to Longhorn after object creation, which can be complicated when performed manually.
1005 label: Storage Class Backing Image Data Source Type
1006 group: Longhorn Storage Class Settings
1007 type: enum
1008 options:
1009 - ''
1010 - download
1011 - upload
1012 - export-from-volume
1013 default: ''
1014 - variable: persistence.backingImage.dataSourceParameters
1015 description: >-
1016 Data source parameters of a backing image used in a Longhorn StorageClass. You can specify a JSON string of a map. (Example: `'{"url":"https://backing-image-example.s3-region.amazonaws.com/test-backing-image"}'`) **Caution** [1] This field is useful only if the backing image name is specified. [2] Ensure that quotes are used correctly when specifying parameters.
1017 label: Storage Class Backing Image Data Source Parameters
1018 group: Longhorn Storage Class Settings
1019 type: string
1020 default: null
1021 - variable: persistence.removeSnapshotsDuringFilesystemTrim
1022 description: >-
1023 Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled")
1024 label: Default Storage Class Remove Snapshots During Filesystem Trim
1025 group: Longhorn Storage Class Settings
gio2539d9e2025-05-22 12:19:30 +04001026 type: enum
1027 options:
giodbf4a852025-06-30 17:09:46 +04001028 - ignored
1029 - enabled
1030 - disabled
1031 default: ignored
1032 subquestions: []
1033 - variable: persistence.dataEngine
1034 description: >-
1035 Setting that allows you to specify the data engine version for the default Longhorn StorageClass. (Options: "v1", "v2")
1036 label: Default Storage Class Data Engine
1037 group: Longhorn Storage Class Settings
1038 type: enum
1039 options:
1040 - v1
1041 - v2
1042 default: v1
1043 subquestions: []
1044 - variable: persistence.backupTargetName
1045 description: >-
1046 Setting that allows you to specify the backup target for the default Longhorn StorageClass
1047 label: Default Storage Class Backup Target Name
1048 group: Longhorn Storage Class Settings
gio2539d9e2025-05-22 12:19:30 +04001049 type: string
giodbf4a852025-06-30 17:09:46 +04001050 default: default
1051 subquestions: []
1052 - variable: ingress.enabled
1053 default: 'false'
1054 description: Expose app using Layer 7 Load Balancer - ingress
gio2539d9e2025-05-22 12:19:30 +04001055 type: boolean
giodbf4a852025-06-30 17:09:46 +04001056 group: Services and Load Balancing
1057 label: Expose app using Layer 7 Load Balancer
1058 show_subquestion_if: true
1059 subquestions:
1060 - variable: ingress.host
1061 default: xip.io
1062 description: Hostname of the Layer 7 load balancer.
1063 type: hostname
1064 required: true
1065 label: Layer 7 Load Balancer Hostname
1066 - variable: ingress.path
1067 default: /
1068 description: >-
1069 Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}.
1070 type: string
1071 required: true
1072 label: Ingress Path
1073 - variable: ingress.pathType
1074 default: ImplementationSpecific
1075 description: >-
1076 Path type for the ingress. (Options: "ImplementationSpecific", "Exact", "Prefix")
1077 type: enum
1078 options:
1079 - ImplementationSpecific
1080 - Exact
1081 - Prefix
1082 required: true
1083 label: Ingress Path Type
1084 - variable: service.ui.type
1085 default: Rancher-Proxy
1086 description: >-
1087 Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy")
1088 type: enum
1089 options:
1090 - ClusterIP
1091 - NodePort
1092 - LoadBalancer
1093 - Rancher-Proxy
1094 label: Longhorn UI Service
1095 show_if: ingress.enabled=false
1096 group: Services and Load Balancing
1097 show_subquestion_if: NodePort
1098 subquestions:
1099 - variable: service.ui.nodePort
1100 default: ''
1101 description: >-
1102 NodePort port number for Longhorn UI. When unspecified, Longhorn selects a free port between 30000 and 32767.
1103 type: int
1104 min: 30000
1105 max: 32767
1106 show_if: service.ui.type=NodePort||service.ui.type=LoadBalancer
1107 label: UI Service NodePort number
1108 - variable: longhorn.default_resource
1109 default: 'false'
1110 description: >-
1111 Customize the default resource before installing Longhorn for the first time. This option will only work if the cluster hasn't installed Longhorn.
1112 label: Customize Default Resources
gio2539d9e2025-05-22 12:19:30 +04001113 type: boolean
giodbf4a852025-06-30 17:09:46 +04001114 show_subquestion_if: true
1115 group: Longhorn Default Resources
1116 subquestions:
1117 - variable: defaultBackupStore.backupTarget
1118 label: Backup Target
1119 description: >-
1120 Endpoint used to access the backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE")
1121 group: Longhorn Default Resources
1122 type: string
1123 default: null
1124 - variable: defaultBackupStore.backupTargetCredentialSecret
1125 label: Backup Target Credential Secret
1126 description: Name of the Kubernetes secret associated with the backup target.
1127 group: Longhorn Default Resources
1128 type: string
1129 default: null
1130 - variable: defaultBackupStore.backupstorePollInterval
1131 label: Backupstore Poll Interval
1132 description: >-
1133 Number of seconds that Longhorn waits before checking the backupstore for new backups. The default value is "300". When the value is "0", polling is disabled.
1134 group: Longhorn Default Resources
1135 type: int
1136 min: 0
1137 default: 300
1138 - variable: enablePSP
1139 default: 'false'
1140 description: >-
1141 Setting that allows you to enable pod security policies (PSPs) that allow privileged Longhorn pods to start. This setting applies only to clusters running Kubernetes 1.25 and earlier, and with the built-in Pod Security admission controller enabled.
1142 label: Pod Security Policy
1143 type: boolean
1144 group: Other Settings
1145 subquestions: []
1146 - variable: global.cattle.windowsCluster.enabled
1147 default: 'false'
1148 description: Setting that allows Longhorn to run on a Rancher Windows cluster.
1149 label: Rancher Windows Cluster
1150 type: boolean
1151 group: Other Settings
1152 subquestions: []
1153 - variable: networkPolicies.enabled
1154 description: >-
1155 Setting that allows you to enable network policies that control access to Longhorn pods. **Caution** The Rancher Proxy will work only if this feature is enabled and a custom NetworkPolicy is added.
1156 group: Other Settings
1157 label: Network Policies
1158 default: 'false'
1159 type: boolean
1160 subquestions:
1161 - variable: networkPolicies.type
1162 label: Network Policies for Ingress
1163 description: >-
1164 Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1")
1165 show_if: networkPolicies.enabled=true&&ingress.enabled=true
1166 type: enum
1167 default: rke2
1168 options:
1169 - rke1
1170 - rke2
1171 - k3s
1172 - variable: defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU
1173 label: Guaranteed Instance Manager CPU for V2 Data Engine
1174 description: >-
1175 Number of millicpu on each node to be reserved for each Instance Manager pod when the V2 Data Engine is enabled. The default value is \"1250\". **Caution** [1] Specifying a value of \"0\" disables CPU requests for Instance Manager pods. You must specify an integer larger than \"1000\". [2] This is a global setting. Modifying the value triggers an automatic restart of the Instance Manager pods. Do not modify the value while volumes are still attached.
1176 type: int
1177 min: 1000
1178 default: 1250
1179 - variable: defaultSettings.v2DataEngineCPUMask
1180 label: CPU Mask for V2 Data Engine
1181 description: >-
1182 CPU cores on which the Storage Performance Development Kit (SPDK) target daemon should run. The SPDK target daemon is located in each Instance Manager pod. Ensure that the number of cores is less than or equal to the guaranteed Instance Manager CPUs for the V2 Data Engine. The default value is \"0x1\".
1183 type: string
1184 default: '0x1'