blob: a74987be94e1c6826e8b2b4be4259ed99ff6151d [file] [log] [blame]
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +04001# Default values for longhorn.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
4global:
gio3e1b96b2026-07-21 18:52:35 +04005 # -- Global override for container image registry.
6 imageRegistry: ""
7 # -- Global override for image pull secrets for container registry.
8 imagePullSecrets: []
9 # -- Set container timezone (TZ env) for all Longhorn workloads. Leave empty to use container default.
10 timezone: ""
gio16bb6382025-05-21 18:42:40 +040011 # -- Toleration for nodes allowed to run user-deployed components such as Longhorn Manager, Longhorn UI, and Longhorn Driver Deployer.
12 tolerations: []
13 # -- Node selector for nodes allowed to run user-deployed components such as Longhorn Manager, Longhorn UI, and Longhorn Driver Deployer.
14 nodeSelector: {}
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040015 cattle:
gio16bb6382025-05-21 18:42:40 +040016 # -- Default system registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040017 systemDefaultRegistry: ""
18 windowsCluster:
gio16bb6382025-05-21 18:42:40 +040019 # -- Setting that allows Longhorn to run on a Rancher Windows cluster.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040020 enabled: false
gio16bb6382025-05-21 18:42:40 +040021 # -- Toleration for Linux nodes that can run user-deployed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040022 tolerations:
gio2539d9e2025-05-22 12:19:30 +040023 - key: "cattle.io/os"
24 value: "linux"
25 effect: "NoSchedule"
26 operator: "Equal"
gio16bb6382025-05-21 18:42:40 +040027 # -- Node selector for Linux nodes that can run user-deployed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040028 nodeSelector:
29 kubernetes.io/os: "linux"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040030 defaultSetting:
gio16bb6382025-05-21 18:42:40 +040031 # -- Toleration for system-managed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040032 taintToleration: cattle.io/os=linux:NoSchedule
gio16bb6382025-05-21 18:42:40 +040033 # -- Node selector for system-managed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040034 systemManagedComponentsNodeSelector: kubernetes.io/os:linux
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040035networkPolicies:
gio16bb6382025-05-21 18:42:40 +040036 # -- Setting that allows you to enable network policies that control access to Longhorn pods.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040037 enabled: false
gio16bb6382025-05-21 18:42:40 +040038 # -- Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1")
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040039 type: "k3s"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040040image:
41 longhorn:
42 engine:
gio3e1b96b2026-07-21 18:52:35 +040043 # -- Registry for the Longhorn Engine image.
44 registry: ""
gio16bb6382025-05-21 18:42:40 +040045 # -- Repository for the Longhorn Engine image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040046 repository: longhornio/longhorn-engine
gioc9b92b12025-05-22 08:57:18 +040047 # -- Tag for the Longhorn Engine image.
gio3e1b96b2026-07-21 18:52:35 +040048 tag: v1.12.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040049 manager:
gio3e1b96b2026-07-21 18:52:35 +040050 # -- Registry for the Longhorn Manager image.
51 registry: ""
gio16bb6382025-05-21 18:42:40 +040052 # -- Repository for the Longhorn Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040053 repository: longhornio/longhorn-manager
gioc9b92b12025-05-22 08:57:18 +040054 # -- Tag for the Longhorn Manager image.
gio3e1b96b2026-07-21 18:52:35 +040055 tag: v1.12.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040056 ui:
gio3e1b96b2026-07-21 18:52:35 +040057 # -- Registry for the Longhorn UI image.
58 registry: ""
gio16bb6382025-05-21 18:42:40 +040059 # -- Repository for the Longhorn UI image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040060 repository: longhornio/longhorn-ui
gioc9b92b12025-05-22 08:57:18 +040061 # -- Tag for the Longhorn UI image.
gio3e1b96b2026-07-21 18:52:35 +040062 tag: v1.12.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040063 instanceManager:
gio3e1b96b2026-07-21 18:52:35 +040064 # -- Registry for the Longhorn Instance Manager image.
65 registry: ""
gio16bb6382025-05-21 18:42:40 +040066 # -- Repository for the Longhorn Instance Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040067 repository: longhornio/longhorn-instance-manager
gioc9b92b12025-05-22 08:57:18 +040068 # -- Tag for the Longhorn Instance Manager image.
gio3e1b96b2026-07-21 18:52:35 +040069 tag: v1.12.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040070 shareManager:
gio3e1b96b2026-07-21 18:52:35 +040071 # -- Registry for the Longhorn Share Manager image.
72 registry: ""
gio16bb6382025-05-21 18:42:40 +040073 # -- Repository for the Longhorn Share Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040074 repository: longhornio/longhorn-share-manager
gioc9b92b12025-05-22 08:57:18 +040075 # -- Tag for the Longhorn Share Manager image.
gio3e1b96b2026-07-21 18:52:35 +040076 tag: v1.12.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040077 backingImageManager:
gio3e1b96b2026-07-21 18:52:35 +040078 # -- Registry for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
79 registry: ""
gio16bb6382025-05-21 18:42:40 +040080 # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040081 repository: longhornio/backing-image-manager
gioc9b92b12025-05-22 08:57:18 +040082 # -- Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
gio3e1b96b2026-07-21 18:52:35 +040083 tag: v1.12.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040084 supportBundleKit:
gio3e1b96b2026-07-21 18:52:35 +040085 # -- Registry for the Longhorn Support Bundle Manager image.
86 registry: ""
gio16bb6382025-05-21 18:42:40 +040087 # -- Repository for the Longhorn Support Bundle Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040088 repository: longhornio/support-bundle-kit
gio16bb6382025-05-21 18:42:40 +040089 # -- Tag for the Longhorn Support Bundle Manager image.
gio3e1b96b2026-07-21 18:52:35 +040090 tag: v0.0.86
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040091 csi:
92 attacher:
gio3e1b96b2026-07-21 18:52:35 +040093 # -- Registry for the CSI attacher image. When unspecified, Longhorn uses the default value.
94 registry: ""
gio16bb6382025-05-21 18:42:40 +040095 # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040096 repository: longhornio/csi-attacher
gio16bb6382025-05-21 18:42:40 +040097 # -- Tag for the CSI attacher image. When unspecified, Longhorn uses the default value.
gio3e1b96b2026-07-21 18:52:35 +040098 tag: v4.12.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040099 provisioner:
gio3e1b96b2026-07-21 18:52:35 +0400100 # -- Registry for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
101 registry: ""
gio16bb6382025-05-21 18:42:40 +0400102 # -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400103 repository: longhornio/csi-provisioner
gio16bb6382025-05-21 18:42:40 +0400104 # -- Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
gio3e1b96b2026-07-21 18:52:35 +0400105 tag: v5.3.0-20260514
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400106 nodeDriverRegistrar:
gio3e1b96b2026-07-21 18:52:35 +0400107 # -- Registry for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
108 registry: ""
gio16bb6382025-05-21 18:42:40 +0400109 # -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400110 repository: longhornio/csi-node-driver-registrar
gio16bb6382025-05-21 18:42:40 +0400111 # -- Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
gio3e1b96b2026-07-21 18:52:35 +0400112 tag: v2.17.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400113 resizer:
gio3e1b96b2026-07-21 18:52:35 +0400114 # -- Registry for the CSI Resizer image. When unspecified, Longhorn uses the default value.
115 registry: ""
gio16bb6382025-05-21 18:42:40 +0400116 # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400117 repository: longhornio/csi-resizer
gio16bb6382025-05-21 18:42:40 +0400118 # -- Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value.
gio3e1b96b2026-07-21 18:52:35 +0400119 tag: v2.1.0-20260514
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400120 snapshotter:
gio3e1b96b2026-07-21 18:52:35 +0400121 # -- Registry for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
122 registry: ""
gio16bb6382025-05-21 18:42:40 +0400123 # -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400124 repository: longhornio/csi-snapshotter
gio16bb6382025-05-21 18:42:40 +0400125 # -- Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
gio3e1b96b2026-07-21 18:52:35 +0400126 tag: v8.5.0-20260514
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400127 livenessProbe:
gio3e1b96b2026-07-21 18:52:35 +0400128 # -- Registry for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
129 registry: ""
gio16bb6382025-05-21 18:42:40 +0400130 # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400131 repository: longhornio/livenessprobe
gio16bb6382025-05-21 18:42:40 +0400132 # -- Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
gio3e1b96b2026-07-21 18:52:35 +0400133 tag: v2.19.0
gio16bb6382025-05-21 18:42:40 +0400134 openshift:
135 oauthProxy:
gio3e1b96b2026-07-21 18:52:35 +0400136 # -- Registry for the OAuth Proxy image. Specify the upstream image (for example, "quay.io/openshift/origin-oauth-proxy"). This setting applies only to OpenShift users.
137 registry: ""
gio16bb6382025-05-21 18:42:40 +0400138 # -- Repository for the OAuth Proxy image. Specify the upstream image (for example, "quay.io/openshift/origin-oauth-proxy"). This setting applies only to OpenShift users.
139 repository: ""
gio3e1b96b2026-07-21 18:52:35 +0400140 # -- Tag for the OAuth Proxy image. Specify OCP/OKD version 4.1 or later (including version 4.18, which is available at quay.io/openshift/origin-oauth-proxy:4.18). This setting applies only to OpenShift users.
gio16bb6382025-05-21 18:42:40 +0400141 tag: ""
142 # -- Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400143 pullPolicy: IfNotPresent
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400144service:
145 ui:
gio16bb6382025-05-21 18:42:40 +0400146 # -- Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy")
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400147 type: ClusterIP
gio16bb6382025-05-21 18:42:40 +0400148 # -- NodePort port number for Longhorn UI. When unspecified, Longhorn selects a free port between 30000 and 32767.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400149 nodePort: null
gio3e1b96b2026-07-21 18:52:35 +0400150 # -- Class of a load balancer implementation
151 loadBalancerClass: ""
152 # -- Annotation for the Longhorn UI service.
153 annotations: {}
154 ## If you want to set annotations for the Longhorn UI service, delete the `{}` in the line above
155 ## and uncomment this example block
156 # annotation-key1: "annotation-value1"
157 # annotation-key2: "annotation-value2"
158 labels: {}
159 ## If you want to set additional labels for the Longhorn UI service, delete the `{}` in the line above
160 ## and uncomment this example block
161 # label-key1: "label-value1"
162 # label-key2: "label-value2"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400163 manager:
gio16bb6382025-05-21 18:42:40 +0400164 # -- Service type for Longhorn Manager.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400165 type: ClusterIP
gio16bb6382025-05-21 18:42:40 +0400166 # -- NodePort port number for Longhorn Manager. When unspecified, Longhorn selects a free port between 30000 and 32767.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400167 nodePort: ""
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400168persistence:
gio3e1b96b2026-07-21 18:52:35 +0400169 # -- Setting that allows you to create the default Longhorn StorageClass ConfigMap. Set to false to skip StorageClass creation.
170 createStorageClass: true
gio16bb6382025-05-21 18:42:40 +0400171 # -- Setting that allows you to specify the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400172 defaultClass: true
gio16bb6382025-05-21 18:42:40 +0400173 # -- Filesystem type of the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400174 defaultFsType: ext4
gio16bb6382025-05-21 18:42:40 +0400175 # -- mkfs parameters of the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400176 defaultMkfsParams: ""
gio16bb6382025-05-21 18:42:40 +0400177 # -- Replica count of the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400178 defaultClassReplicaCount: 3
gio16bb6382025-05-21 18:42:40 +0400179 # -- Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort")
180 defaultDataLocality: disabled
181 # -- Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete")
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400182 reclaimPolicy: Delete
giodbf4a852025-06-30 17:09:46 +0400183 # -- VolumeBindingMode controls when volume binding and dynamic provisioning should occur. (Options: "Immediate", "WaitForFirstConsumer") (Defaults to "Immediate")
184 volumeBindingMode: "Immediate"
gio16bb6382025-05-21 18:42:40 +0400185 # -- Setting that allows you to enable live migration of a Longhorn volume from one node to another.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400186 migratable: false
gioc9b92b12025-05-22 08:57:18 +0400187 # -- 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.
188 disableRevisionCounter: "true"
gio16bb6382025-05-21 18:42:40 +0400189 # -- Set NFS mount options for Longhorn StorageClass for RWX volumes
190 nfsOptions: ""
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400191 recurringJobSelector:
gio16bb6382025-05-21 18:42:40 +0400192 # -- Setting that allows you to enable the recurring job selector for a Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400193 enable: false
gio16bb6382025-05-21 18:42:40 +0400194 # -- Recurring job selector for a Longhorn StorageClass. Ensure that quotes are used correctly when specifying job parameters. (Example: `[{"name":"backup", "isGroup":true}]`)
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400195 jobList: []
196 backingImage:
gio16bb6382025-05-21 18:42:40 +0400197 # -- Setting that allows you to use a backing image in a Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400198 enable: false
gio16bb6382025-05-21 18:42:40 +0400199 # -- 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.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400200 name: ~
gio16bb6382025-05-21 18:42:40 +0400201 # -- Data source type of a backing image used in a Longhorn StorageClass.
202 # If the backing image exists in the cluster, Longhorn uses this setting to verify the image.
203 # If the backing image does not exist, Longhorn creates one using the specified data source type.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400204 dataSourceType: ~
gio16bb6382025-05-21 18:42:40 +0400205 # -- Data source parameters of a backing image used in a Longhorn StorageClass.
206 # You can specify a JSON string of a map. (Example: `'{\"url\":\"https://backing-image-example.s3-region.amazonaws.com/test-backing-image\"}'`)
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400207 dataSourceParameters: ~
gio16bb6382025-05-21 18:42:40 +0400208 # -- Expected SHA-512 checksum of a backing image used in a Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400209 expectedChecksum: ~
gioc9b92b12025-05-22 08:57:18 +0400210 defaultDiskSelector:
211 # -- Setting that allows you to enable the disk selector for the default Longhorn StorageClass.
212 enable: false
213 # -- Disk selector for the default Longhorn StorageClass. Longhorn uses only disks with the specified tags for storing volume data. (Examples: "nvme,sata")
214 selector: ""
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400215 defaultNodeSelector:
gio16bb6382025-05-21 18:42:40 +0400216 # -- Setting that allows you to enable the node selector for the default Longhorn StorageClass.
217 enable: false
218 # -- Node selector for the default Longhorn StorageClass. Longhorn uses only nodes with the specified tags for storing volume data. (Examples: "storage,fast")
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400219 selector: ""
gio3e1b96b2026-07-21 18:52:35 +0400220 shareManagerNodeSelector:
221 # -- Setting that allows you to enable the share manager node selector for the default Longhorn StorageClass.
222 enable: false
223 # -- Node selector for the share manager pods of the default Longhorn StorageClass. Longhorn schedules share manager pods only on nodes with the specified tags. (Examples: "storage,fast")
224 selector: ""
225 shareManagerTolerations:
226 # -- Setting that allows you to enable the share manager tolerations for the default Longhorn StorageClass.
227 enable: false
228 # -- Tolerations for the share manager pods of the default Longhorn StorageClass. Specify values using a semicolon-separated list in `kubectl taint` syntax. (Example: "key1=value1:effect; key2=value2:effect")
229 tolerations: ""
gio16bb6382025-05-21 18:42:40 +0400230 # -- Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled")
gio3e1b96b2026-07-21 18:52:35 +0400231 unmapMarkSnapChainRemoved: ignored
gioc9b92b12025-05-22 08:57:18 +0400232 # -- Setting that allows you to specify the data engine version for the default Longhorn StorageClass. (Options: "v1", "v2")
233 dataEngine: v1
gio2539d9e2025-05-22 12:19:30 +0400234 # -- Setting that allows you to specify the backup target for the default Longhorn StorageClass.
235 backupTargetName: default
gio3e1b96b2026-07-21 18:52:35 +0400236 # -- Setting that allows to set the annotations of the default Longhorn StorageClass.
237 annotations: {}
gio16bb6382025-05-21 18:42:40 +0400238preUpgradeChecker:
239 # -- Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions.
240 jobEnabled: true
241 # -- Setting that allows Longhorn to perform upgrade version checks after starting the Longhorn Manager DaemonSet Pods. Disabling this setting also disables `preUpgradeChecker.jobEnabled`. Longhorn recommends keeping this setting enabled.
242 upgradeVersionCheck: true
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400243csi:
gio16bb6382025-05-21 18:42:40 +0400244 # -- kubelet root directory. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400245 kubeletRootDir: ~
gio3e1b96b2026-07-21 18:52:35 +0400246 # -- Configures Pod anti-affinity to prevent multiple instances on the same node. Use soft (tries to separate) or hard (must separate). When unspecified, Longhorn uses the default value ("soft").
247 podAntiAffinityPreset: ~
gio16bb6382025-05-21 18:42:40 +0400248 # -- Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400249 attacherReplicaCount: ~
gio16bb6382025-05-21 18:42:40 +0400250 # -- Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400251 provisionerReplicaCount: ~
gio16bb6382025-05-21 18:42:40 +0400252 # -- Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400253 resizerReplicaCount: ~
gio16bb6382025-05-21 18:42:40 +0400254 # -- Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400255 snapshotterReplicaCount: ~
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400256defaultSettings:
gio16bb6382025-05-21 18:42:40 +0400257 # -- Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400258 allowRecurringJobWhileVolumeDetached: ~
gio16bb6382025-05-21 18:42:40 +0400259 # -- 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.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400260 createDefaultDiskLabeledNodes: ~
gio3e1b96b2026-07-21 18:52:35 +0400261 # -- Default path to use for storing data on a host. An absolute directory path indicates a filesystem-type disk used by the V1 Data Engine, while a path to a block device indicates a block-type disk used by the V2 Data Engine. The default value is "/var/lib/longhorn/".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400262 defaultDataPath: ~
gio16bb6382025-05-21 18:42:40 +0400263 # -- 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.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400264 defaultDataLocality: ~
gio16bb6382025-05-21 18:42:40 +0400265 # -- Setting that allows scheduling on nodes with healthy replicas of the same volume. This setting is disabled by default.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400266 replicaSoftAntiAffinity: ~
gio16bb6382025-05-21 18:42:40 +0400267 # -- Setting that automatically rebalances replicas when an available node is discovered.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400268 replicaAutoBalance: ~
gio16bb6382025-05-21 18:42:40 +0400269 # -- Percentage of storage that can be allocated relative to hard drive capacity. The default value is "100".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400270 storageOverProvisioningPercentage: ~
gio16bb6382025-05-21 18:42:40 +0400271 # -- Percentage of minimum available disk capacity. When the minimum available capacity exceeds the total available capacity, the disk becomes unschedulable until more space is made available for use. The default value is "25".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400272 storageMinimalAvailablePercentage: ~
gio16bb6382025-05-21 18:42:40 +0400273 # -- Percentage of disk space that is not allocated to the default disk on each new Longhorn node.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400274 storageReservedPercentageForDefaultDisk: ~
gio16bb6382025-05-21 18:42:40 +0400275 # -- 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
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400276 upgradeChecker: ~
gio2539d9e2025-05-22 12:19:30 +0400277 # -- 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.
278 upgradeResponderURL: ~
gio3e1b96b2026-07-21 18:52:35 +0400279 # -- URL prefix embedded in Longhorn Manager API response links (the "actions" and "links" fields). When set, internal components such as longhorn-driver-deployer and longhorn-csi-plugin will follow links using this URL, so it must be reachable from within the cluster without authentication. Setting this to an externally-facing URL that is protected by auth middleware (e.g. OAuth2 proxy, ingress auth) will cause internal components to receive an HTML redirect instead of JSON, resulting in "invalid character '<'" errors and CSI driver deployment failure. Use this setting only when the URL is accessible unauthenticated from inside the cluster. Format: scheme://host[:port] (for example, http://longhorn.example.com). Leave empty to use the default behavior (internal pod IP). Note: this value is persisted in the manager-url Setting CR; removing it from Helm values does not automatically clear the CR. To reset, manually set the manager-url Setting CR value to empty via the Longhorn UI or kubectl.
280 managerUrl: ~
281 # -- 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 "{"v1":"3","v2":"3"}".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400282 defaultReplicaCount: ~
gio2539d9e2025-05-22 12:19:30 +0400283 # -- Default name of Longhorn static StorageClass. "storageClassName" is assigned to PVs and PVCs that are created for an existing Longhorn volume. "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. "storageClassName" needs to be an existing StorageClass. The default value is "longhorn-static".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400284 defaultLonghornStaticStorageClass: ~
gio16bb6382025-05-21 18:42:40 +0400285 # -- Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400286 failedBackupTTL: ~
gioc9b92b12025-05-22 08:57:18 +0400287 # -- Number of minutes that Longhorn allows for the backup execution. The default value is "1".
288 backupExecutionTimeout: ~
gio16bb6382025-05-21 18:42:40 +0400289 # -- Setting that restores recurring jobs from a backup volume on a backup target and creates recurring jobs if none exist during backup restoration.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400290 restoreVolumeRecurringJobs: ~
gio16bb6382025-05-21 18:42:40 +0400291 # -- Maximum number of successful recurring backup and snapshot jobs to be retained. When the value is "0", a history of successful recurring jobs is not retained.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400292 recurringSuccessfulJobsHistoryLimit: ~
gio16bb6382025-05-21 18:42:40 +0400293 # -- 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.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400294 recurringFailedJobsHistoryLimit: ~
gio16bb6382025-05-21 18:42:40 +0400295 # -- Maximum number of snapshots or backups to be retained.
296 recurringJobMaxRetention: ~
297 # -- Maximum number of failed support bundles that can exist in the cluster. When the value is "0", Longhorn automatically purges all failed support bundles.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400298 supportBundleFailedHistoryLimit: ~
gio16bb6382025-05-21 18:42:40 +0400299 # -- Taint or toleration for system-managed Longhorn components.
300 # Specify values using a semicolon-separated list in `kubectl taint` syntax (Example: key1=value1:effect; key2=value2:effect).
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400301 taintToleration: ~
gio16bb6382025-05-21 18:42:40 +0400302 # -- Node selector for system-managed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400303 systemManagedComponentsNodeSelector: ~
gio3e1b96b2026-07-21 18:52:35 +0400304 # -- Resource limits for system-managed CSI components.
305 # This setting allows you to configure CPU and memory requests/limits for CSI attacher, provisioner, resizer, snapshotter, and plugin components.
306 # Supported components: csi-attacher, csi-provisioner, csi-resizer, csi-snapshotter, longhorn-csi-plugin, node-driver-registrar, longhorn-liveness-probe.
307 # Notice that changing resource limits will cause CSI components to restart, which may temporarily affect volume provisioning and attach/detach operations until the components are ready. The value should be a JSON object with component names as keys and ResourceRequirements as values.
308 systemManagedCSIComponentsResourceLimits: ~
gio16bb6382025-05-21 18:42:40 +0400309 # -- PriorityClass for system-managed Longhorn components.
310 # This setting can help prevent Longhorn components from being evicted under Node Pressure.
311 # Notice 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`.
312 priorityClass: &defaultPriorityClassNameRef "longhorn-critical"
313 # -- 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.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400314 autoSalvage: ~
gio16bb6382025-05-21 18:42:40 +0400315 # -- 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.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400316 autoDeletePodWhenVolumeDetachedUnexpectedly: ~
gio3e1b96b2026-07-21 18:52:35 +0400317 # -- Blacklist of controller api/kind values for the setting Automatically Delete Workload Pod when the Volume Is Detached Unexpectedly. If a workload pod is managed by a controller whose api/kind is listed in this blacklist, Longhorn will not automatically delete the pod when its volume is unexpectedly detached. Multiple controller api/kind entries can be specified, separated by semicolons. For example: `apps/StatefulSet;apps/DaemonSet`. Note that the controller api/kind is case sensitive and must exactly match the api/kind in the workload pod's owner reference.
318 blacklistForAutoDeletePodWhenVolumeDetachedUnexpectedly: ~
gio16bb6382025-05-21 18:42:40 +0400319 # -- Setting that prevents Longhorn Manager from scheduling replicas on a cordoned Kubernetes node. This setting is enabled by default.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400320 disableSchedulingOnCordonedNode: ~
gio16bb6382025-05-21 18:42:40 +0400321 # -- Setting that allows Longhorn to schedule new replicas of a volume to nodes in the same zone as existing healthy replicas. Nodes that do not belong to any zone are treated as existing in the zone that contains healthy replicas. When identifying zones, Longhorn relies on the label "topology.kubernetes.io/zone=<Zone name of the node>" in the Kubernetes node object.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400322 replicaZoneSoftAntiAffinity: ~
gio16bb6382025-05-21 18:42:40 +0400323 # -- Setting that allows scheduling on disks with existing healthy replicas of the same volume. This setting is enabled by default.
324 replicaDiskSoftAntiAffinity: ~
325 # -- Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400326 nodeDownPodDeletionPolicy: ~
gio16bb6382025-05-21 18:42:40 +0400327 # -- Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400328 nodeDrainPolicy: ~
gio16bb6382025-05-21 18:42:40 +0400329 # -- Setting that allows automatic detaching of manually-attached volumes when a node is cordoned.
330 detachManuallyAttachedVolumesWhenCordoned: ~
331 # -- Number of seconds that Longhorn waits before reusing existing data on a failed replica instead of creating a new replica of a degraded volume.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400332 replicaReplenishmentWaitInterval: ~
gio16bb6382025-05-21 18:42:40 +0400333 # -- Maximum number of replicas that can be concurrently rebuilt on each node.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400334 concurrentReplicaRebuildPerNodeLimit: ~
gio3e1b96b2026-07-21 18:52:35 +0400335 # -- Maximum number of file synchronization operations that can run concurrently during a single replica rebuild. Right now, it's for v1 data engine only.
336 rebuildConcurrentSyncLimit: ~
gio16bb6382025-05-21 18:42:40 +0400337 # -- 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.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400338 concurrentVolumeBackupRestorePerNodeLimit: ~
gio16bb6382025-05-21 18:42:40 +0400339 # -- 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.
gio3e1b96b2026-07-21 18:52:35 +0400340 disableRevisionCounter: '{"v1":"true"}'
gio16bb6382025-05-21 18:42:40 +0400341 # -- 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.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400342 systemManagedPodsImagePullPolicy: ~
gio16bb6382025-05-21 18:42:40 +0400343 # -- Setting that allows you to create and attach a volume without having all replicas scheduled at the time of creation.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400344 allowVolumeCreationWithDegradedAvailability: ~
gio16bb6382025-05-21 18:42:40 +0400345 # -- Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400346 autoCleanupSystemGeneratedSnapshot: ~
gio16bb6382025-05-21 18:42:40 +0400347 # -- Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job.
348 autoCleanupRecurringJobBackupSnapshot: ~
349 # -- 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.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400350 concurrentAutomaticEngineUpgradePerNodeLimit: ~
gio16bb6382025-05-21 18:42:40 +0400351 # -- Number of minutes that Longhorn waits before cleaning up the backing image file when no replicas in the disk are using it.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400352 backingImageCleanupWaitInterval: ~
gio16bb6382025-05-21 18:42:40 +0400353 # -- 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".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400354 backingImageRecoveryWaitInterval: ~
gio3e1b96b2026-07-21 18:52:35 +0400355 # -- Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod. The default value is {"v1":"12","v2":"12"}.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400356 guaranteedInstanceManagerCPU: ~
gio16bb6382025-05-21 18:42:40 +0400357 # -- Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400358 kubernetesClusterAutoscalerEnabled: ~
gio3e1b96b2026-07-21 18:52:35 +0400359 # -- 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.
giodbf4a852025-06-30 17:09:46 +0400360 # You need to specify the resource types to be deleted using a semicolon-separated list (e.g., `replica-data;instance`). Available items are: `replica-data`, `instance`.
361 orphanResourceAutoDeletion: ~
362 # -- Specifies the wait time, in seconds, before Longhorn automatically deletes an orphaned Custom Resource (CR) and its associated resources.
363 # Note that if a user manually deletes an orphaned CR, the deletion occurs immediately and does not respect this grace period.
364 orphanResourceAutoDeletionGracePeriod: ~
gio16bb6382025-05-21 18:42:40 +0400365 # -- Storage network for in-cluster traffic. When unspecified, Longhorn uses the Kubernetes cluster network.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400366 storageNetwork: ~
gio3e1b96b2026-07-21 18:52:35 +0400367 # -- Specifies a dedicated network for mounting RWX (ReadWriteMany) volumes. Leave this blank to use the default Kubernetes cluster network. **Caution**: This setting should change after all RWX volumes are detached because some Longhorn component pods must be recreated to apply the setting. You cannot modify this setting while RWX volumes are still attached.
368 endpointNetworkForRWXVolume: ~
gio16bb6382025-05-21 18:42:40 +0400369 # -- Flag that prevents accidental uninstallation of Longhorn.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400370 deletingConfirmationFlag: ~
gio16bb6382025-05-21 18:42:40 +0400371 # -- Timeout between the Longhorn Engine and replicas. Specify a value between "8" and "30" seconds. The default value is "8".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400372 engineReplicaTimeout: ~
gio16bb6382025-05-21 18:42:40 +0400373 # -- Setting that allows you to enable and disable snapshot hashing and data integrity checks.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400374 snapshotDataIntegrity: ~
gio16bb6382025-05-21 18:42:40 +0400375 # -- Setting that allows disabling of snapshot hashing after snapshot creation to minimize impact on system performance.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400376 snapshotDataIntegrityImmediateCheckAfterSnapshotCreation: ~
gio16bb6382025-05-21 18:42:40 +0400377 # -- Setting that defines when Longhorn checks the integrity of data in snapshot disk files. You must use the Unix cron expression format.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400378 snapshotDataIntegrityCronjob: ~
gio3e1b96b2026-07-21 18:52:35 +0400379 # -- Setting that controls how many snapshot heavy task operations (such as purge and clone) can run concurrently per node. This is a best-effort mechanism: due to the distributed nature of the system, temporary oversubscription may occur. The limiter reduces worst-case overload but does not guarantee perfect enforcement.
380 snapshotHeavyTaskConcurrentLimit: ~
gio16bb6382025-05-21 18:42:40 +0400381 # -- Setting that allows Longhorn to automatically mark the latest snapshot and its parent files as removed during a filesystem trim. Longhorn does not remove snapshots containing multiple child files.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400382 removeSnapshotsDuringFilesystemTrim: ~
gio16bb6382025-05-21 18:42:40 +0400383 # -- 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".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400384 fastReplicaRebuildEnabled: ~
gio16bb6382025-05-21 18:42:40 +0400385 # -- Number of seconds that an HTTP client waits for a response from a File Sync server before considering the connection to have failed.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400386 replicaFileSyncHttpClientTimeout: ~
gioc9b92b12025-05-22 08:57:18 +0400387 # -- Number of seconds that Longhorn allows for the completion of replica rebuilding and snapshot cloning operations.
388 longGRPCTimeOut: ~
gio16bb6382025-05-21 18:42:40 +0400389 # -- 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")
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400390 logLevel: ~
gio3e1b96b2026-07-21 18:52:35 +0400391 # -- Specifies the directory on the host where Longhorn stores log files for the instance manager pod. Currently, it is only used for instance manager pods in the v2 data engine.
392 logPath: ~
gio16bb6382025-05-21 18:42:40 +0400393 # -- Setting that allows you to specify a backup compression method.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400394 backupCompressionMethod: ~
gio16bb6382025-05-21 18:42:40 +0400395 # -- Maximum number of worker threads that can concurrently run for each backup.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400396 backupConcurrentLimit: ~
gio3e1b96b2026-07-21 18:52:35 +0400397 # -- Specifies the default backup block size, in MiB, used when creating a new volume. Supported values are 2 or 16.
398 defaultBackupBlockSize: ~
gio16bb6382025-05-21 18:42:40 +0400399 # -- Maximum number of worker threads that can concurrently run for each restore operation.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400400 restoreConcurrentLimit: ~
gio16bb6382025-05-21 18:42:40 +0400401 # -- Setting that allows you to enable the V1 Data Engine.
402 v1DataEngine: ~
gio2539d9e2025-05-22 12:19:30 +0400403 # -- 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.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400404 v2DataEngine: ~
gio3e1b96b2026-07-21 18:52:35 +0400405 # -- Applies only to the V2 Data Engine. Enables hugepages for the Storage Performance Development Kit (SPDK) target daemon. If disabled, legacy memory is used. Allocation size is set via the Data Engine Memory Size setting.
406 dataEngineHugepageEnabled: ~
407 # -- Applies only to the V2 Data Engine. Specifies the hugepage size, in MiB, for the Storage Performance Development Kit (SPDK) target daemon. The default value is "{"v2":"2048"}"
408 dataEngineMemorySize: ~
409 # -- Applies only to the V2 Data Engine. Specifies the CPU cores on which the Storage Performance Development Kit (SPDK) target daemon runs. The daemon is deployed in each Instance Manager pod. Ensure that the assigned CPU cores do not exceed the guaranteed CPUs allocated to the V2 Data Engine Instance Manager. A minimum of 2 CPU cores is recommended. SPDK uses a busy-polling reactor model where the master reactor handles both I/O polling and management RPCs. When only a single core is assigned, heavy I/O workloads can delay or starve RPC processing, resulting in increased latency, timeout events, and operational instability. Assigning 2 or more cores allows I/O and management tasks to run on separate reactors, improving responsiveness and operational stability. Accepts either hexadecimal CPU masks (for example, 0x3 or 0xff) or CPU list format (for example, 0-1,2,5). CPU lists are automatically converted to hexadecimal masks. The default value is 0x3.
410 dataEngineCPUMask: ~
411 # -- This setting specifies the default write bandwidth limit (in megabytes per second) for volume replica rebuilding when using the v2 data engine (SPDK). If this value is set to 0, there will be no write bandwidth limitation. Individual volumes can override this setting by specifying their own rebuilding bandwidth limit.
412 replicaRebuildingBandwidthLimit: ~
413 # -- This setting specifies the default depth of each queue for Ublk frontend. This setting applies to volumes using the V2 Data Engine with Ublk front end. Individual volumes can override this setting by specifying their own Ublk queue depth.
414 defaultUblkQueueDepth: ~
415 # -- This setting specifies the default the number of queues for ublk frontend. This setting applies to volumes using the V2 Data Engine with Ublk front end. Individual volumes can override this setting by specifying their own number of queues for ublk.
416 defaultUblkNumberOfQueue: ~
417 # -- In seconds. The setting specifies the interval between liveness probes for engine image pods. The default value is 5 seconds.
418 engineImagePodLivenessProbePeriod: ~
419 # -- In seconds. The setting specifies the timeout for the engine image pod liveness probe. The default value is 4 seconds.
420 engineImagePodLivenessProbeTimeout: ~
421 # -- The setting specifies the number of consecutive failed liveness probes before an engine image pod is restarted. The default value is 3.
422 engineImagePodLivenessProbeFailureThreshold: ~
423 # -- In seconds. The setting specifies the timeout for the instance manager pod liveness probe. The default value is 10 seconds.
424 instanceManagerPodLivenessProbeTimeout: ~
gio16bb6382025-05-21 18:42:40 +0400425 # -- Setting that allows scheduling of empty node selector volumes to any node.
426 allowEmptyNodeSelectorVolume: ~
427 # -- Setting that allows scheduling of empty disk selector volumes to any disk.
428 allowEmptyDiskSelectorVolume: ~
429 # -- 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.
430 allowCollectingLonghornUsageMetrics: ~
431 # -- Setting that temporarily prevents all attempts to purge volume snapshots.
432 disableSnapshotPurge: ~
433 # -- Maximum snapshot count for a volume. The value should be between 2 to 250
434 snapshotMaxCount: ~
gio3e1b96b2026-07-21 18:52:35 +0400435 # -- Warning threshold for the count-based TooManySnapshots volume condition. The value should be between 2 to 250. Default is 100.
436 snapshotCountWarningThreshold: ~
437 # -- Applies only to the V2 Data Engine. Specifies the log level for the Storage Performance Development Kit (SPDK) target daemon. Supported values are: Error, Warning, Notice, Info, and Debug. The default is Notice.
438 dataEngineLogLevel: ~
439 # -- Applies only to the V2 Data Engine. Specifies the log flags for the Storage Performance Development Kit (SPDK) target daemon.
440 dataEngineLogFlags: ~
gioc9b92b12025-05-22 08:57:18 +0400441 # -- Setting that freezes the filesystem on the root partition before a snapshot is created.
442 freezeFilesystemForSnapshot: ~
443 # -- Setting that automatically cleans up the snapshot when the backup is deleted.
444 autoCleanupSnapshotWhenDeleteBackup: ~
giodbf4a852025-06-30 17:09:46 +0400445 # -- Setting that automatically cleans up the snapshot after the on-demand backup is completed.
446 autoCleanupSnapshotAfterOnDemandBackupCompleted: ~
gio2539d9e2025-05-22 12:19:30 +0400447 # -- Setting that allows Longhorn to detect node failure and immediately migrate affected RWX volumes.
gioc9b92b12025-05-22 08:57:18 +0400448 rwxVolumeFastFailover: ~
giodbf4a852025-06-30 17:09:46 +0400449 # -- 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`.
gio3e1b96b2026-07-21 18:52:35 +0400450 offlineReplicaRebuilding: ~
451 # -- Controls whether Longhorn monitors and records health information for node disks. When disabled, disk health checks and status updates are skipped.
452 nodeDiskHealthMonitoring: ~
453 # -- Comma-separated list of topology keys that the Longhorn CSI driver is allowed to pass through. When empty (default), no topology keys are passed through, and PVs will have no nodeAffinity. When configured (e.g., "topology.kubernetes.io/zone,topology.kubernetes.io/region"), only the specified keys are kept in topology segments. All other keys are filtered out from both CreateVolumeResponse.AccessibleTopology and NodeGetInfo topology.
454 csiAllowedTopologyKeys: ~
455 # -- Setting that controls CSI storage capacity tracking, which allows the kube-scheduler to filter nodes that cannot fit the requested volume.
456 csiStorageCapacityTracking: ~
457 # -- Setting that allows Longhorn to query the Kubernetes Metrics Server ('metrics.k8s.io') for pod and node resource usage.
458 kubernetesMetricsServerMetricsEnabled: ~
gio2539d9e2025-05-22 12:19:30 +0400459# -- Setting that allows you to update the default backupstore.
460defaultBackupStore:
461 # -- Endpoint used to access the default backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE")
462 backupTarget: ~
463 # -- Name of the Kubernetes secret associated with the default backup target.
464 backupTargetCredentialSecret: ~
465 # -- Number of seconds that Longhorn waits before checking the default backupstore for new backups. The default value is "300". When the value is "0", polling is disabled.
466 pollInterval: ~
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400467privateRegistry:
gio3e1b96b2026-07-21 18:52:35 +0400468 # -- Set to `true` to automatically create a new private registry secret.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400469 createSecret: ~
gio16bb6382025-05-21 18:42:40 +0400470 # -- URL of a private registry. When unspecified, Longhorn uses the default system registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400471 registryUrl: ~
gio16bb6382025-05-21 18:42:40 +0400472 # -- User account used for authenticating with a private registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400473 registryUser: ~
gio16bb6382025-05-21 18:42:40 +0400474 # -- Password for authenticating with a private registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400475 registryPasswd: ~
gio3e1b96b2026-07-21 18:52:35 +0400476 # -- If create a new private registry secret is true, create a Kubernetes secret with this name; else use the existing secret of this name. Use it to pull images from your private registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400477 registrySecret: ~
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400478longhornManager:
479 log:
gio16bb6382025-05-21 18:42:40 +0400480 # -- Format of Longhorn Manager logs. (Options: "plain", "json")
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400481 format: plain
gio3e1b96b2026-07-21 18:52:35 +0400482 # -- Optional distro identifier used for upgrade responder reporting.
483 distro: "longhorn"
gio16bb6382025-05-21 18:42:40 +0400484 # -- PriorityClass for Longhorn Manager.
485 priorityClass: *defaultPriorityClassNameRef
486 # -- Toleration for Longhorn Manager on nodes allowed to run Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400487 tolerations: []
488 ## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above
489 ## and uncomment this example block
490 # - key: "key"
491 # operator: "Equal"
492 # value: "value"
493 # effect: "NoSchedule"
gio3e1b96b2026-07-21 18:52:35 +0400494 # -- Resource requests and limits for Longhorn Manager pods.
495 resources: ~
gio16bb6382025-05-21 18:42:40 +0400496 # -- Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400497 nodeSelector: {}
498 ## If you want to set node selector for Longhorn Manager DaemonSet, delete the `{}` in the line above
499 ## and uncomment this example block
500 # label-key1: "label-value1"
501 # label-key2: "label-value2"
gio16bb6382025-05-21 18:42:40 +0400502 # -- Annotation for the Longhorn Manager service.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400503 serviceAnnotations: {}
504 ## If you want to set annotations for the Longhorn Manager service, delete the `{}` in the line above
505 ## and uncomment this example block
506 # annotation-key1: "annotation-value1"
507 # annotation-key2: "annotation-value2"
gio3e1b96b2026-07-21 18:52:35 +0400508 serviceLabels: {}
509 ## If you want to set labels for the Longhorn Manager service, delete the `{}` in the line above
510 ## and uncomment this example block
511 # label-key1: "label-value1"
512 # label-key2: "label-value2"
513 ## DaemonSet update strategy. Default "100% unavailable" matches the upgrade
514 ## flow (old managers removed before new start); override for rolling updates
515 ## if you prefer that behavior.
516 updateStrategy:
517 rollingUpdate:
518 maxUnavailable: "100%"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400519longhornDriver:
gio16bb6382025-05-21 18:42:40 +0400520 log:
521 # -- Format of longhorn-driver logs. (Options: "plain", "json")
522 format: plain
523 # -- PriorityClass for Longhorn Driver.
524 priorityClass: *defaultPriorityClassNameRef
525 # -- Toleration for Longhorn Driver on nodes allowed to run Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400526 tolerations: []
527 ## If you want to set tolerations for Longhorn Driver Deployer Deployment, delete the `[]` in the line above
528 ## and uncomment this example block
529 # - key: "key"
530 # operator: "Equal"
531 # value: "value"
532 # effect: "NoSchedule"
gio16bb6382025-05-21 18:42:40 +0400533 # -- Node selector for Longhorn Driver. Specify the nodes allowed to run Longhorn Driver.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400534 nodeSelector: {}
535 ## If you want to set node selector for Longhorn Driver Deployer Deployment, delete the `{}` in the line above
536 ## and uncomment this example block
537 # label-key1: "label-value1"
538 # label-key2: "label-value2"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400539longhornUI:
gio16bb6382025-05-21 18:42:40 +0400540 # -- Replica count for Longhorn UI.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400541 replicas: 2
gio16bb6382025-05-21 18:42:40 +0400542 # -- PriorityClass for Longhorn UI.
543 priorityClass: *defaultPriorityClassNameRef
giodbf4a852025-06-30 17:09:46 +0400544 # -- Affinity for Longhorn UI pods. Specify the affinity you want to use for Longhorn UI.
545 affinity:
546 podAntiAffinity:
547 preferredDuringSchedulingIgnoredDuringExecution:
548 - weight: 1
549 podAffinityTerm:
550 labelSelector:
551 matchExpressions:
552 - key: app
553 operator: In
554 values:
555 - longhorn-ui
556 topologyKey: kubernetes.io/hostname
gio16bb6382025-05-21 18:42:40 +0400557 # -- Toleration for Longhorn UI on nodes allowed to run Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400558 tolerations: []
559 ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above
560 ## and uncomment this example block
561 # - key: "key"
562 # operator: "Equal"
563 # value: "value"
564 # effect: "NoSchedule"
gio16bb6382025-05-21 18:42:40 +0400565 # -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400566 nodeSelector: {}
567 ## If you want to set node selector for Longhorn UI Deployment, delete the `{}` in the line above
568 ## and uncomment this example block
569 # label-key1: "label-value1"
570 # label-key2: "label-value2"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400571ingress:
gio16bb6382025-05-21 18:42:40 +0400572 # -- Setting that allows Longhorn to generate ingress records for the Longhorn UI service.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400573 enabled: false
gio16bb6382025-05-21 18:42:40 +0400574 # -- IngressClass resource that contains ingress configuration, including the name of the Ingress controller.
575 # ingressClassName can replace the kubernetes.io/ingress.class annotation used in earlier Kubernetes releases.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400576 ingressClassName: ~
gio16bb6382025-05-21 18:42:40 +0400577 # -- Hostname of the Layer 7 load balancer.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400578 host: sslip.io
gio3e1b96b2026-07-21 18:52:35 +0400579 # -- Extra hostnames for TLS (Subject Alternative Names - SAN). Used when you need multiple FQDNs for the same ingress.
580 # Example:
581 # extraHosts:
582 # - longhorn.example.com
583 # - longhorn-ui.internal.local
584 extraHosts: []
gio16bb6382025-05-21 18:42:40 +0400585 # -- Setting that allows you to enable TLS on ingress records.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400586 tls: false
gio16bb6382025-05-21 18:42:40 +0400587 # -- Setting that allows you to enable secure connections to the Longhorn UI service via port 443.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400588 secureBackends: false
gio16bb6382025-05-21 18:42:40 +0400589 # -- TLS secret that contains the private key and certificate to be used for TLS. This setting applies only when TLS is enabled on ingress records.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400590 tlsSecret: longhorn.local-tls
gio16bb6382025-05-21 18:42:40 +0400591 # -- Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400592 path: /
gioc9b92b12025-05-22 08:57:18 +0400593 # -- Ingress path type. To maintain backward compatibility, the default value is "ImplementationSpecific".
594 pathType: ImplementationSpecific
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400595 ## If you're using kube-lego, you will want to add:
596 ## kubernetes.io/tls-acme: true
597 ##
598 ## For a full list of possible ingress annotations, please see
599 ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md
600 ##
601 ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
gio16bb6382025-05-21 18:42:40 +0400602 # -- Ingress annotations in the form of key-value pairs.
gio3e1b96b2026-07-21 18:52:35 +0400603 annotations: {}
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400604 # kubernetes.io/ingress.class: nginx
605 # kubernetes.io/tls-acme: true
606
gio16bb6382025-05-21 18:42:40 +0400607 # -- Secret that contains a TLS private key and certificate. Use secrets if you want to use your own certificates to secure ingresses.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400608 secrets:
609 ## If you're providing your own certificates, please use this to add the certificates as secrets
610 ## key and certificate should start with -----BEGIN CERTIFICATE----- or
611 ## -----BEGIN RSA PRIVATE KEY-----
612 ##
613 ## name should line up with a tlsSecret set further up
614 ## If you're using kube-lego, this is unneeded, as it will create the secret for you if it is not set
615 ##
616 ## It is also possible to create and manage the certificates outside of this helm chart
617 ## Please see README.md for more information
618 # - name: longhorn.local-tls
619 # key:
620 # certificate:
gio3e1b96b2026-07-21 18:52:35 +0400621httproute:
622 # -- Setting that allows Longhorn to generate HTTPRoute records for the Longhorn UI service using Gateway API.
623 enabled: false
624 # -- Gateway references for HTTPRoute. Specify which Gateway(s) should handle this route.
625 parentRefs: []
626 ## Example:
627 # - name: gateway-name
628 # namespace: gateway-namespace
629 # # Optional fields with defaults:
630 # # group: gateway.networking.k8s.io # default
631 # # kind: Gateway # default
632 # # sectionName: https # optional, targets a specific listener
633 # -- List of hostnames for the HTTPRoute. Multiple hostnames are supported.
634 hostnames: []
635 ## Example:
636 # - longhorn.example.com
637 # - longhorn.example.org
638 # -- Default path for HTTPRoute. You can access the Longhorn UI by following the full path.
639 path: /
640 # -- Path match type for HTTPRoute. (Options: "Exact", "PathPrefix")
641 pathType: PathPrefix
642 # -- Annotations for the HTTPRoute resource in the form of key-value pairs.
643 annotations: {}
644 ## Example:
645 # annotation-key1: "annotation-value1"
gio16bb6382025-05-21 18:42:40 +0400646# -- 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.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400647enablePSP: false
gio16bb6382025-05-21 18:42:40 +0400648# -- Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400649namespaceOverride: ""
gio16bb6382025-05-21 18:42:40 +0400650# -- Annotation for the Longhorn Manager DaemonSet pods. This setting is optional.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400651annotations: {}
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400652serviceAccount:
gio16bb6382025-05-21 18:42:40 +0400653 # -- Annotations to add to the service account
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400654 annotations: {}
gio16bb6382025-05-21 18:42:40 +0400655metrics:
656 serviceMonitor:
657 # -- Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components.
658 enabled: false
659 # -- Additional labels for the Prometheus ServiceMonitor resource.
660 additionalLabels: {}
661 # -- Annotations for the Prometheus ServiceMonitor resource.
662 annotations: {}
663 # -- Interval at which Prometheus scrapes the metrics from the target.
664 interval: ""
665 # -- Timeout after which Prometheus considers the scrape to be failed.
666 scrapeTimeout: ""
667 # -- Configures the relabeling rules to apply the target’s metadata labels. See the [Prometheus Operator
668 # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for
669 # formatting details.
670 relabelings: []
671 # -- Configures the relabeling rules to apply to the samples before ingestion. See the [Prometheus Operator
672 # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for
673 # formatting details.
674 metricRelabelings: []
gio3e1b96b2026-07-21 18:52:35 +0400675 # -- Per-scrape sample limit. A value of 0 (default) omits sampleLimit.
676 sampleLimit: 0
gio16bb6382025-05-21 18:42:40 +0400677## openshift settings
678openshift:
679 # -- Setting that allows Longhorn to integrate with OpenShift.
680 enabled: false
681 ui:
682 # -- Route for connections between Longhorn and the OpenShift web console.
683 route: "longhorn-ui"
684 # -- Port for accessing the OpenShift web console.
685 port: 443
686 # -- Port for proxy that provides access to the OpenShift web console.
687 proxy: 8443
gio16bb6382025-05-21 18:42:40 +0400688# -- Setting that allows Longhorn to generate code coverage profiles.
689enableGoCoverDir: false
giodbf4a852025-06-30 17:09:46 +0400690# -- Add extra objects manifests
691extraObjects: []