| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 1 | categories: |
| 2 | - storage |
| 3 | namespace: longhorn-system |
| 4 | questions: |
| 5 | - variable: image.defaultImage |
| 6 | default: "true" |
| 7 | description: "Use default Longhorn images" |
| 8 | label: Use Default Images |
| 9 | type: boolean |
| 10 | show_subquestion_if: false |
| 11 | group: "Longhorn Images" |
| 12 | subquestions: |
| 13 | - variable: image.longhorn.manager.repository |
| 14 | default: longhornio/longhorn-manager |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 15 | description: "Repository for the Longhorn Manager image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 16 | type: string |
| 17 | label: Longhorn Manager Image Repository |
| 18 | group: "Longhorn Images Settings" |
| 19 | - variable: image.longhorn.manager.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 20 | default: v1.8.1 |
| 21 | description: "Tag for the Longhorn Manager image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 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 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 27 | description: "Repository for the Longhorn Engine image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 28 | type: string |
| 29 | label: Longhorn Engine Image Repository |
| 30 | group: "Longhorn Images Settings" |
| 31 | - variable: image.longhorn.engine.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 32 | default: v1.8.1 |
| 33 | description: "Tag for the Longhorn Engine image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 34 | type: string |
| 35 | label: Longhorn Engine Image Tag |
| 36 | group: "Longhorn Images Settings" |
| 37 | - variable: image.longhorn.ui.repository |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 38 | default: longhornio/longhorn-ui |
| 39 | description: "Repository for the Longhorn UI image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 40 | type: string |
| 41 | label: Longhorn UI Image Repository |
| 42 | group: "Longhorn Images Settings" |
| 43 | - variable: image.longhorn.ui.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 44 | default: v1.8.1 |
| 45 | description: "Tag for the Longhorn UI image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 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 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 51 | description: "Repository for the Longhorn Instance Manager image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 52 | type: string |
| 53 | label: Longhorn Instance Manager Image Repository |
| 54 | group: "Longhorn Images Settings" |
| 55 | - variable: image.longhorn.instanceManager.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 56 | default: v1.8.1 |
| 57 | description: "Tag for the Longhorn Instance Manager image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 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 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 63 | description: "Repository for the Longhorn Share Manager image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 64 | type: string |
| 65 | label: Longhorn Share Manager Image Repository |
| 66 | group: "Longhorn Images Settings" |
| 67 | - variable: image.longhorn.shareManager.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 68 | default: v1.8.1 |
| 69 | description: "Tag for the Longhorn Share Manager image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 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 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 75 | description: "Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 76 | type: string |
| 77 | label: Longhorn Backing Image Manager Image Repository |
| 78 | group: "Longhorn Images Settings" |
| 79 | - variable: image.longhorn.backingImageManager.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 80 | default: v1.8.1 |
| 81 | description: "Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 82 | type: string |
| 83 | label: Longhorn Backing Image Manager Image Tag |
| 84 | group: "Longhorn Images Settings" |
| 85 | - variable: image.longhorn.supportBundleKit.repository |
| 86 | default: longhornio/support-bundle-kit |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 87 | description: "Repository for the Longhorn Support Bundle Manager image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 88 | type: string |
| 89 | label: Longhorn Support Bundle Kit Image Repository |
| 90 | group: "Longhorn Images Settings" |
| 91 | - variable: image.longhorn.supportBundleKit.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 92 | default: v0.0.52 |
| 93 | description: "Tag for the Longhorn Support Bundle Manager image." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 94 | type: string |
| 95 | label: Longhorn Support Bundle Kit Image Tag |
| 96 | group: "Longhorn Images Settings" |
| 97 | - variable: image.csi.attacher.repository |
| 98 | default: longhornio/csi-attacher |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 99 | description: "Repository for the CSI attacher image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 100 | type: string |
| 101 | label: Longhorn CSI Attacher Image Repository |
| 102 | group: "Longhorn CSI Driver Images" |
| 103 | - variable: image.csi.attacher.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 104 | default: v4.8.1 |
| 105 | description: "Tag for the CSI attacher image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 106 | type: string |
| 107 | label: Longhorn CSI Attacher Image Tag |
| 108 | group: "Longhorn CSI Driver Images" |
| 109 | - variable: image.csi.provisioner.repository |
| 110 | default: longhornio/csi-provisioner |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 111 | description: "Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 112 | type: string |
| 113 | label: Longhorn CSI Provisioner Image Repository |
| 114 | group: "Longhorn CSI Driver Images" |
| 115 | - variable: image.csi.provisioner.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 116 | default: v5.2.0 |
| 117 | description: "Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 118 | type: string |
| 119 | label: Longhorn CSI Provisioner Image Tag |
| 120 | group: "Longhorn CSI Driver Images" |
| 121 | - variable: image.csi.nodeDriverRegistrar.repository |
| 122 | default: longhornio/csi-node-driver-registrar |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 123 | description: "Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 124 | type: string |
| 125 | label: Longhorn CSI Node Driver Registrar Image Repository |
| 126 | group: "Longhorn CSI Driver Images" |
| 127 | - variable: image.csi.nodeDriverRegistrar.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 128 | default: v2.13.0 |
| 129 | description: "Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 130 | type: string |
| 131 | label: Longhorn CSI Node Driver Registrar Image Tag |
| 132 | group: "Longhorn CSI Driver Images" |
| 133 | - variable: image.csi.resizer.repository |
| 134 | default: longhornio/csi-resizer |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 135 | description: "Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 136 | type: string |
| 137 | label: Longhorn CSI Driver Resizer Image Repository |
| 138 | group: "Longhorn CSI Driver Images" |
| 139 | - variable: image.csi.resizer.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 140 | default: v1.13.2 |
| 141 | description: "Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 142 | type: string |
| 143 | label: Longhorn CSI Driver Resizer Image Tag |
| 144 | group: "Longhorn CSI Driver Images" |
| 145 | - variable: image.csi.snapshotter.repository |
| 146 | default: longhornio/csi-snapshotter |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 147 | description: "Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 148 | type: string |
| 149 | label: Longhorn CSI Driver Snapshotter Image Repository |
| 150 | group: "Longhorn CSI Driver Images" |
| 151 | - variable: image.csi.snapshotter.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 152 | default: v8.2.0 |
| 153 | description: "Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 154 | type: string |
| 155 | label: Longhorn CSI Driver Snapshotter Image Tag |
| 156 | group: "Longhorn CSI Driver Images" |
| 157 | - variable: image.csi.livenessProbe.repository |
| 158 | default: longhornio/livenessprobe |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 159 | description: "Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 160 | type: string |
| 161 | label: Longhorn CSI Liveness Probe Image Repository |
| 162 | group: "Longhorn CSI Driver Images" |
| 163 | - variable: image.csi.livenessProbe.tag |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 164 | default: v2.15.0 |
| 165 | description: "Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 166 | type: string |
| 167 | label: Longhorn CSI Liveness Probe Image Tag |
| 168 | group: "Longhorn CSI Driver Images" |
| 169 | - variable: privateRegistry.registryUrl |
| 170 | label: Private registry URL |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 171 | description: "URL of a private registry. When unspecified, Longhorn uses the default system registry." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 172 | group: "Private Registry Settings" |
| 173 | type: string |
| 174 | default: "" |
| 175 | - variable: privateRegistry.registrySecret |
| 176 | label: Private registry secret name |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 177 | description: "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." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 178 | group: "Private Registry Settings" |
| 179 | type: string |
| 180 | default: "" |
| 181 | - variable: privateRegistry.createSecret |
| 182 | default: "true" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 183 | description: "Setting that allows you to create a private registry secret." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 184 | type: boolean |
| 185 | group: "Private Registry Settings" |
| 186 | label: Create Secret for Private Registry Settings |
| 187 | show_subquestion_if: true |
| 188 | subquestions: |
| 189 | - variable: privateRegistry.registryUser |
| 190 | label: Private registry user |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 191 | description: "User account used for authenticating with a private registry." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 192 | type: string |
| 193 | default: "" |
| 194 | - variable: privateRegistry.registryPasswd |
| 195 | label: Private registry password |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 196 | description: "Password for authenticating with a private registry." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 197 | type: password |
| 198 | default: "" |
| 199 | - variable: longhorn.default_setting |
| 200 | default: "false" |
| 201 | description: "Customize the default settings before installing Longhorn for the first time. This option will only work if the cluster hasn't installed Longhorn." |
| 202 | label: "Customize Default Settings" |
| 203 | type: boolean |
| 204 | show_subquestion_if: true |
| 205 | group: "Longhorn Default Settings" |
| 206 | subquestions: |
| 207 | - variable: csi.kubeletRootDir |
| 208 | default: |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 209 | description: "kubelet root directory. When unspecified, Longhorn uses the default value." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 210 | type: string |
| 211 | label: Kubelet Root Directory |
| 212 | group: "Longhorn CSI Driver Settings" |
| 213 | - variable: csi.attacherReplicaCount |
| 214 | type: int |
| 215 | default: 3 |
| 216 | min: 1 |
| 217 | max: 10 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 218 | description: "Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value (\"3\")." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 219 | label: Longhorn CSI Attacher replica count |
| 220 | group: "Longhorn CSI Driver Settings" |
| 221 | - variable: csi.provisionerReplicaCount |
| 222 | type: int |
| 223 | default: 3 |
| 224 | min: 1 |
| 225 | max: 10 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 226 | description: "Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value (\"3\")." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 227 | label: Longhorn CSI Provisioner replica count |
| 228 | group: "Longhorn CSI Driver Settings" |
| 229 | - variable: csi.resizerReplicaCount |
| 230 | type: int |
| 231 | default: 3 |
| 232 | min: 1 |
| 233 | max: 10 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 234 | description: "Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value (\"3\")." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 235 | label: Longhorn CSI Resizer replica count |
| 236 | group: "Longhorn CSI Driver Settings" |
| 237 | - variable: csi.snapshotterReplicaCount |
| 238 | type: int |
| 239 | default: 3 |
| 240 | min: 1 |
| 241 | max: 10 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 242 | description: "Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value (\"3\")." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 243 | label: Longhorn CSI Snapshotter replica count |
| 244 | group: "Longhorn CSI Driver Settings" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 245 | - variable: defaultSettings.allowRecurringJobWhileVolumeDetached |
| 246 | label: Allow Recurring Job While Volume Is Detached |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 247 | description: 'Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run.' |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 248 | group: "Longhorn Default Settings" |
| 249 | type: boolean |
| 250 | default: "false" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 251 | - variable: defaultSettings.snapshotMaxCount |
| 252 | label: Snapshot Maximum Count |
| 253 | description: 'Maximum snapshot count for a volume. The value should be between 2 to 250.' |
| 254 | group: "Longhorn Default Settings" |
| 255 | type: int |
| 256 | min: 2 |
| 257 | max: 250 |
| 258 | default: 250 |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 259 | - variable: defaultSettings.createDefaultDiskLabeledNodes |
| 260 | label: Create Default Disk on Labeled Nodes |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 261 | description: '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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 262 | group: "Longhorn Default Settings" |
| 263 | type: boolean |
| 264 | default: "false" |
| 265 | - variable: defaultSettings.defaultDataPath |
| 266 | label: Default Data Path |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 267 | description: 'Default path for storing data on a host. The default value is "/var/lib/longhorn/".' |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 268 | group: "Longhorn Default Settings" |
| 269 | type: string |
| 270 | default: "/var/lib/longhorn/" |
| 271 | - variable: defaultSettings.defaultDataLocality |
| 272 | label: Default Data Locality |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 273 | description: '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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 274 | group: "Longhorn Default Settings" |
| 275 | type: enum |
| 276 | options: |
| 277 | - "disabled" |
| 278 | - "best-effort" |
| 279 | default: "disabled" |
| 280 | - variable: defaultSettings.replicaSoftAntiAffinity |
| 281 | label: Replica Node Level Soft Anti-Affinity |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 282 | description: 'Allow scheduling on nodes with existing healthy replicas of the same volume. By default, false.' |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 283 | group: "Longhorn Default Settings" |
| 284 | type: boolean |
| 285 | default: "false" |
| 286 | - variable: defaultSettings.replicaAutoBalance |
| 287 | label: Replica Auto Balance |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 288 | description: 'Enable this setting automatically re-balances replicas when discovered an available node.' |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 289 | group: "Longhorn Default Settings" |
| 290 | type: enum |
| 291 | options: |
| 292 | - "disabled" |
| 293 | - "least-effort" |
| 294 | - "best-effort" |
| 295 | default: "disabled" |
| 296 | - variable: defaultSettings.storageOverProvisioningPercentage |
| 297 | label: Storage Over Provisioning Percentage |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 298 | description: "Percentage of storage that can be allocated relative to hard drive capacity. The default value is 100." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 299 | group: "Longhorn Default Settings" |
| 300 | type: int |
| 301 | min: 0 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 302 | default: 100 |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 303 | - variable: defaultSettings.storageMinimalAvailablePercentage |
| 304 | label: Storage Minimal Available Percentage |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 305 | description: "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." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 306 | group: "Longhorn Default Settings" |
| 307 | type: int |
| 308 | min: 0 |
| 309 | max: 100 |
| 310 | default: 25 |
| 311 | - variable: defaultSettings.storageReservedPercentageForDefaultDisk |
| 312 | label: Storage Reserved Percentage For Default Disk |
| 313 | description: "The reserved percentage specifies the percentage of disk space that will not be allocated to the default disk on each new Longhorn node." |
| 314 | group: "Longhorn Default Settings" |
| 315 | type: int |
| 316 | min: 0 |
| 317 | max: 100 |
| 318 | default: 30 |
| 319 | - variable: defaultSettings.upgradeChecker |
| 320 | label: Enable Upgrade Checker |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 321 | description: '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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 322 | group: "Longhorn Default Settings" |
| 323 | type: boolean |
| 324 | default: "true" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 325 | - variable: defaultSettings.upgradeResponderURL |
| 326 | label: Upgrade Responder URL |
| 327 | description: >- |
| 328 | The Upgrade Responder sends a notification whenever a new Longhorn |
| 329 | version that you can upgrade to becomes available. The default value |
| 330 | is "https://longhorn-upgrade-responder.rancher.io/v1/checkupgrade". |
| 331 | group: Longhorn Default Settings |
| 332 | type: string |
| 333 | default: 'https://longhorn-upgrade-responder.rancher.io/v1/checkupgrade' |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 334 | - variable: defaultSettings.defaultReplicaCount |
| 335 | label: Default Replica Count |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 336 | description: "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\"." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 337 | group: "Longhorn Default Settings" |
| 338 | type: int |
| 339 | min: 1 |
| 340 | max: 20 |
| 341 | default: 3 |
| 342 | - variable: defaultSettings.defaultLonghornStaticStorageClass |
| 343 | label: Default Longhorn Static StorageClass Name |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 344 | description: "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\"." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 345 | group: "Longhorn Default Settings" |
| 346 | type: string |
| 347 | default: "longhorn-static" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 348 | - variable: defaultSettings.failedBackupTTL |
| 349 | label: Failed Backup Time to Live |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 350 | description: "Number of minutes that Longhorn keeps a failed backup resource. When the value is \"0\", automatic deletion is disabled." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 351 | group: "Longhorn Default Settings" |
| 352 | type: int |
| 353 | min: 0 |
| 354 | default: 1440 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 355 | - variable: defaultSettings.backupExecutionTimeout |
| 356 | label: Backup Execution Timeout |
| 357 | description: "Number of minutes that Longhorn allows for the backup execution. The default value is \"1\"." |
| 358 | group: "Longhorn Default Settings" |
| 359 | type: int |
| 360 | min: 1 |
| 361 | default: 1 |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 362 | - variable: defaultSettings.restoreVolumeRecurringJobs |
| 363 | label: Restore Volume Recurring Jobs |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 364 | description: "Restore recurring jobs from the backup volume on the backup target and create recurring jobs if not exist during a backup restoration." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 365 | group: "Longhorn Default Settings" |
| 366 | type: boolean |
| 367 | default: "false" |
| 368 | - variable: defaultSettings.recurringSuccessfulJobsHistoryLimit |
| 369 | label: Cronjob Successful Jobs History Limit |
| 370 | description: "This setting specifies how many successful backup or snapshot job histories should be retained. History will not be retained if the value is 0." |
| 371 | group: "Longhorn Default Settings" |
| 372 | type: int |
| 373 | min: 0 |
| 374 | default: 1 |
| 375 | - variable: defaultSettings.recurringFailedJobsHistoryLimit |
| 376 | label: Cronjob Failed Jobs History Limit |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 377 | description: '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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 378 | group: "Longhorn Default Settings" |
| 379 | type: int |
| 380 | min: 0 |
| 381 | default: 1 |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 382 | - variable: defaultSettings.recurringJobMaxRetention |
| 383 | label: Maximum Retention Number for Recurring Job |
| 384 | description: "Maximum number of snapshots or backups to be retained." |
| 385 | group: "Longhorn Default Settings" |
| 386 | type: int |
| 387 | default: 100 |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 388 | - variable: defaultSettings.supportBundleFailedHistoryLimit |
| 389 | label: SupportBundle Failed History Limit |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 390 | description: "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." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 391 | group: "Longhorn Default Settings" |
| 392 | type: int |
| 393 | min: 0 |
| 394 | default: 1 |
| 395 | - variable: defaultSettings.autoSalvage |
| 396 | label: Automatic salvage |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 397 | description: "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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 398 | group: "Longhorn Default Settings" |
| 399 | type: boolean |
| 400 | default: "true" |
| 401 | - variable: defaultSettings.autoDeletePodWhenVolumeDetachedUnexpectedly |
| 402 | label: Automatically Delete Workload Pod when The Volume Is Detached Unexpectedly |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 403 | description: '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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 404 | group: "Longhorn Default Settings" |
| 405 | type: boolean |
| 406 | default: "true" |
| 407 | - variable: defaultSettings.disableSchedulingOnCordonedNode |
| 408 | label: Disable Scheduling On Cordoned Node |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 409 | description: "Setting that prevents Longhorn Manager from scheduling replicas on a cordoned Kubernetes node. This setting is enabled by default." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 410 | group: "Longhorn Default Settings" |
| 411 | type: boolean |
| 412 | default: "true" |
| 413 | - variable: defaultSettings.replicaZoneSoftAntiAffinity |
| 414 | label: Replica Zone Level Soft Anti-Affinity |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 415 | description: "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." |
| 416 | group: "Longhorn Default Settings" |
| 417 | type: boolean |
| 418 | default: "true" |
| 419 | - variable: defaultSettings.replicaDiskSoftAntiAffinity |
| 420 | label: Replica Disk Level Soft Anti-Affinity |
| 421 | description: 'Allow scheduling on disks with existing healthy replicas of the same volume. By default, true.' |
| 422 | group: "Longhorn Default Settings" |
| 423 | type: boolean |
| 424 | default: "true" |
| 425 | - variable: defaultSettings.allowEmptyNodeSelectorVolume |
| 426 | label: Allow Empty Node Selector Volume |
| 427 | description: "Setting that allows scheduling of empty node selector volumes to any node." |
| 428 | group: "Longhorn Default Settings" |
| 429 | type: boolean |
| 430 | default: "true" |
| 431 | - variable: defaultSettings.allowEmptyDiskSelectorVolume |
| 432 | label: Allow Empty Disk Selector Volume |
| 433 | description: "Setting that allows scheduling of empty disk selector volumes to any disk." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 434 | group: "Longhorn Default Settings" |
| 435 | type: boolean |
| 436 | default: "true" |
| 437 | - variable: defaultSettings.nodeDownPodDeletionPolicy |
| 438 | label: Pod Deletion Policy When Node is Down |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 439 | description: "Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 440 | group: "Longhorn Default Settings" |
| 441 | type: enum |
| 442 | options: |
| 443 | - "do-nothing" |
| 444 | - "delete-statefulset-pod" |
| 445 | - "delete-deployment-pod" |
| 446 | - "delete-both-statefulset-and-deployment-pod" |
| 447 | default: "do-nothing" |
| 448 | - variable: defaultSettings.nodeDrainPolicy |
| 449 | label: Node Drain Policy |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 450 | description: "Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 451 | group: "Longhorn Default Settings" |
| 452 | type: enum |
| 453 | options: |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 454 | - "block-for-eviction" |
| 455 | - "block-for-eviction-if-contains-last-replica" |
| 456 | - "block-if-contains-last-replica" |
| 457 | - "allow-if-replica-is-stopped" |
| 458 | - "always-allow" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 459 | default: "block-if-contains-last-replica" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 460 | - variable: defaultSettings.detachManuallyAttachedVolumesWhenCordoned |
| 461 | label: Detach Manually Attached Volumes When Cordoned |
| 462 | description: "Setting that allows automatic detaching of manually-attached volumes when a node is cordoned." |
| 463 | group: "Longhorn Default Settings" |
| 464 | type: boolean |
| 465 | default: "false" |
| 466 | - variable: defaultSettings.priorityClass |
| 467 | label: Priority Class |
| 468 | description: "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." |
| 469 | group: "Longhorn Default Settings" |
| 470 | type: string |
| 471 | default: "longhorn-critical" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 472 | - variable: defaultSettings.replicaReplenishmentWaitInterval |
| 473 | label: Replica Replenishment Wait Interval |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 474 | description: "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." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 475 | group: "Longhorn Default Settings" |
| 476 | type: int |
| 477 | min: 0 |
| 478 | default: 600 |
| 479 | - variable: defaultSettings.concurrentReplicaRebuildPerNodeLimit |
| 480 | label: Concurrent Replica Rebuild Per Node Limit |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 481 | description: "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." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 482 | group: "Longhorn Default Settings" |
| 483 | type: int |
| 484 | min: 0 |
| 485 | default: 5 |
| 486 | - variable: defaultSettings.concurrentVolumeBackupRestorePerNodeLimit |
| 487 | label: Concurrent Volume Backup Restore Per Node Limit |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 488 | description: "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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 489 | group: "Longhorn Default Settings" |
| 490 | type: int |
| 491 | min: 0 |
| 492 | default: 5 |
| 493 | - variable: defaultSettings.disableRevisionCounter |
| 494 | label: Disable Revision Counter |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 495 | description: "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." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 496 | group: "Longhorn Default Settings" |
| 497 | type: boolean |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 498 | default: "true" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 499 | - variable: defaultSettings.systemManagedPodsImagePullPolicy |
| 500 | label: System Managed Pod Image Pull Policy |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 501 | description: "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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 502 | group: "Longhorn Default Settings" |
| 503 | type: enum |
| 504 | options: |
| 505 | - "if-not-present" |
| 506 | - "always" |
| 507 | - "never" |
| 508 | default: "if-not-present" |
| 509 | - variable: defaultSettings.allowVolumeCreationWithDegradedAvailability |
| 510 | label: Allow Volume Creation with Degraded Availability |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 511 | description: "Setting that allows you to create and attach a volume without having all replicas scheduled at the time of creation." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 512 | group: "Longhorn Default Settings" |
| 513 | type: boolean |
| 514 | default: "true" |
| 515 | - variable: defaultSettings.autoCleanupSystemGeneratedSnapshot |
| 516 | label: Automatically Cleanup System Generated Snapshot |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 517 | description: "Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed." |
| 518 | group: "Longhorn Default Settings" |
| 519 | type: boolean |
| 520 | default: "true" |
| 521 | - variable: defaultSettings.autoCleanupRecurringJobBackupSnapshot |
| 522 | label: Automatically Cleanup Recurring Job Backup Snapshot |
| 523 | description: "Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 524 | group: "Longhorn Default Settings" |
| 525 | type: boolean |
| 526 | default: "true" |
| 527 | - variable: defaultSettings.concurrentAutomaticEngineUpgradePerNodeLimit |
| 528 | label: Concurrent Automatic Engine Upgrade Per Node Limit |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 529 | description: "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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 530 | group: "Longhorn Default Settings" |
| 531 | type: int |
| 532 | min: 0 |
| 533 | default: 0 |
| 534 | - variable: defaultSettings.backingImageCleanupWaitInterval |
| 535 | label: Backing Image Cleanup Wait Interval |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 536 | description: "Number of minutes that Longhorn waits before cleaning up the backing image file when no replicas in the disk are using it." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 537 | group: "Longhorn Default Settings" |
| 538 | type: int |
| 539 | min: 0 |
| 540 | default: 60 |
| 541 | - variable: defaultSettings.backingImageRecoveryWaitInterval |
| 542 | label: Backing Image Recovery Wait Interval |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 543 | description: "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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 544 | group: "Longhorn Default Settings" |
| 545 | type: int |
| 546 | min: 0 |
| 547 | default: 300 |
| 548 | - variable: defaultSettings.guaranteedInstanceManagerCPU |
| 549 | label: Guaranteed Instance Manager CPU |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 550 | description: "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.**" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 551 | group: "Longhorn Default Settings" |
| 552 | type: int |
| 553 | min: 0 |
| 554 | max: 40 |
| 555 | default: 12 |
| 556 | - variable: defaultSettings.logLevel |
| 557 | label: Log Level |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 558 | description: '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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 559 | group: "Longhorn Default Settings" |
| 560 | type: string |
| 561 | default: "Info" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 562 | - variable: defaultSettings.disableSnapshotPurge |
| 563 | label: Disable Snapshot Purge |
| 564 | description: "Setting that temporarily prevents all attempts to purge volume snapshots." |
| 565 | group: "Longhorn Default Settings" |
| 566 | type: boolean |
| 567 | default: "false" |
| 568 | - variable: defaultSettings.freezeFilesystemForSnapshot |
| 569 | description: "Setting that freezes the filesystem on the root partition before a snapshot is created." |
| 570 | group: "Longhorn Default Settings" |
| 571 | type: boolean |
| 572 | default: "false" |
| 573 | - variable: defaultSettings.kubernetesClusterAutoscalerEnabled |
| 574 | label: Kubernetes Cluster Autoscaler Enabled (Experimental) |
| 575 | description: "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." |
| 576 | group: "Longhorn Default Settings" |
| 577 | type: boolean |
| 578 | default: false |
| 579 | - variable: defaultSettings.orphanAutoDeletion |
| 580 | label: Orphaned Data Cleanup |
| 581 | description: "Setting that allows Longhorn to automatically delete an orphaned resource and the corresponding data (for example, stale replicas). Orphaned resources on failed or unknown nodes are not automatically cleaned up." |
| 582 | group: "Longhorn Default Settings" |
| 583 | type: boolean |
| 584 | default: false |
| 585 | - variable: defaultSettings.storageNetwork |
| 586 | label: Storage Network |
| 587 | description: "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." |
| 588 | group: "Longhorn Default Settings" |
| 589 | type: string |
| 590 | default: |
| 591 | - variable: defaultSettings.taintToleration |
| 592 | label: Taint Toleration |
| 593 | description: "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." |
| 594 | group: "Longhorn Default Settings" |
| 595 | type: string |
| 596 | default: |
| 597 | - variable: defaultSettings.systemManagedComponentsNodeSelector |
| 598 | label: System Managed Components NodeSelector |
| 599 | description: "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." |
| 600 | group: "Longhorn Default Settings" |
| 601 | type: string |
| 602 | default: |
| 603 | - variable: defaultSettings.deletingConfirmationFlag |
| 604 | label: Deleting Confirmation Flag |
| 605 | description: "Flag that prevents accidental uninstallation of Longhorn." |
| 606 | group: "Longhorn Default Settings" |
| 607 | type: boolean |
| 608 | default: "false" |
| 609 | - variable: defaultSettings.engineReplicaTimeout |
| 610 | label: Timeout between Engine and Replica |
| 611 | description: "Timeout between the Longhorn Engine and replicas. Specify a value between \"8\" and \"30\" seconds. The default value is \"8\"." |
| 612 | group: "Longhorn Default Settings" |
| 613 | type: int |
| 614 | default: "8" |
| 615 | - variable: defaultSettings.snapshotDataIntegrity |
| 616 | label: Snapshot Data Integrity |
| 617 | description: "This setting allows users to enable or disable snapshot hashing and data integrity checking." |
| 618 | group: "Longhorn Default Settings" |
| 619 | type: string |
| 620 | default: "disabled" |
| 621 | - variable: defaultSettings.snapshotDataIntegrityImmediateCheckAfterSnapshotCreation |
| 622 | label: Immediate Snapshot Data Integrity Check After Creating a Snapshot |
| 623 | description: "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." |
| 624 | group: "Longhorn Default Settings" |
| 625 | type: boolean |
| 626 | default: "false" |
| 627 | - variable: defaultSettings.snapshotDataIntegrityCronjob |
| 628 | label: Snapshot Data Integrity Check CronJob |
| 629 | description: "Unix-cron string format. The setting specifies when Longhorn checks the data integrity of snapshot disk files." |
| 630 | group: "Longhorn Default Settings" |
| 631 | type: string |
| 632 | default: "0 0 */7 * *" |
| 633 | - variable: defaultSettings.removeSnapshotsDuringFilesystemTrim |
| 634 | label: Remove Snapshots During Filesystem Trim |
| 635 | description: "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." |
| 636 | group: "Longhorn Default Settings" |
| 637 | type: boolean |
| 638 | default: "false" |
| 639 | - variable: defaultSettings.fastReplicaRebuildEnabled |
| 640 | label: Fast Replica Rebuild Enabled |
| 641 | description: "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\"." |
| 642 | group: "Longhorn Default Settings" |
| 643 | type: boolean |
| 644 | default: false |
| 645 | - variable: defaultSettings.replicaFileSyncHttpClientTimeout |
| 646 | label: Timeout of HTTP Client to Replica File Sync Server |
| 647 | description: "In seconds. The setting specifies the HTTP client timeout to the file sync server." |
| 648 | group: "Longhorn Default Settings" |
| 649 | type: int |
| 650 | default: "30" |
| 651 | - variable: defaultSettings.longGRPCTimeOut |
| 652 | label: Long gRPC Timeout |
| 653 | description: "Number of seconds that Longhorn allows for the completion of replica rebuilding and snapshot cloning operations." |
| 654 | group: "Longhorn Default Settings" |
| 655 | type: int |
| 656 | default: "86400" |
| 657 | - variable: defaultSettings.backupCompressionMethod |
| 658 | label: Backup Compression Method |
| 659 | description: "Setting that allows you to specify a backup compression method." |
| 660 | group: "Longhorn Default Settings" |
| 661 | type: string |
| 662 | default: "lz4" |
| 663 | - variable: defaultSettings.backupConcurrentLimit |
| 664 | label: Backup Concurrent Limit Per Backup |
| 665 | description: "Maximum number of worker threads that can concurrently run for each backup." |
| 666 | group: "Longhorn Default Settings" |
| 667 | type: int |
| 668 | min: 1 |
| 669 | default: 2 |
| 670 | - variable: defaultSettings.restoreConcurrentLimit |
| 671 | label: Restore Concurrent Limit Per Backup |
| 672 | description: "This setting controls how many worker threads per restore concurrently." |
| 673 | group: "Longhorn Default Settings" |
| 674 | type: int |
| 675 | min: 1 |
| 676 | default: 2 |
| 677 | - variable: defaultSettings.allowCollectingLonghornUsageMetrics |
| 678 | label: Allow Collecting Longhorn Usage Metrics |
| 679 | description: "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." |
| 680 | group: "Longhorn Default Settings" |
| 681 | type: boolean |
| 682 | default: true |
| 683 | - variable: defaultSettings.v1DataEngine |
| 684 | label: V1 Data Engine |
| 685 | description: "Setting that allows you to enable the V1 Data Engine." |
| 686 | group: "Longhorn V1 Data Engine Settings" |
| 687 | type: boolean |
| 688 | default: true |
| 689 | - variable: defaultSettings.v2DataEngine |
| 690 | label: V2 Data Engine |
| 691 | description: "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." |
| 692 | group: "Longhorn V2 Data Engine (Experimental Feature) Settings" |
| 693 | type: boolean |
| 694 | default: false |
| 695 | - variable: defaultSettings.v2DataEngineHugepageLimit |
| 696 | label: V2 Data Engine |
| 697 | description: "This allows users to configure maximum huge page size (in MiB) for the V2 Data Engine." |
| 698 | group: "Longhorn V2 Data Engine (Experimental Feature) Settings" |
| 699 | type: int |
| 700 | default: "2048" |
| 701 | - variable: defaultSettings.v2DataEngineLogLevel |
| 702 | label: V2 Data Engine |
| 703 | description: "Setting that allows you to configure the log level of the SPDK target daemon (spdk_tgt) of the V2 Data Engine." |
| 704 | group: "Longhorn V2 Data Engine (Experimental Feature) Settings" |
| 705 | type: enum |
| 706 | options: |
| 707 | - "Disabled" |
| 708 | - "Error" |
| 709 | - "Warn" |
| 710 | - "Notice" |
| 711 | - "Info" |
| 712 | - "Debug" |
| 713 | default: "Notice" |
| 714 | - variable: defaultSettings.v2DataEngineLogFlags |
| 715 | label: V2 Data Engine |
| 716 | description: "Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine." |
| 717 | group: "Longhorn V2 Data Engine (Experimental Feature) Settings" |
| 718 | type: string |
| 719 | default: |
| 720 | - variable: defaultSettings.autoCleanupSnapshotWhenDeleteBackup |
| 721 | label: Auto Cleanup Snapshot When Delete Backup |
| 722 | description: "Setting that automatically cleans up the snapshot when the backup is deleted." |
| 723 | group: "Longhorn Default Settings" |
| 724 | type: boolean |
| 725 | default: false |
| 726 | - variable: defaultSettings.rwxVolumeFastFailover |
| 727 | label: RWX Volume Fast Failover (Experimental) |
| 728 | description: "Setting that allows Longhorn to detect node failure and immediately migrate affected RWX volumes." |
| 729 | group: "Longhorn Default Settings" |
| 730 | type: boolean |
| 731 | default: false |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 732 | - variable: persistence.defaultClass |
| 733 | default: "true" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 734 | description: "Setting that allows you to specify the default Longhorn StorageClass." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 735 | label: Default Storage Class |
| 736 | group: "Longhorn Storage Class Settings" |
| 737 | required: true |
| 738 | type: boolean |
| 739 | - variable: persistence.reclaimPolicy |
| 740 | label: Storage Class Retain Policy |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 741 | description: "Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: \"Retain\", \"Delete\")" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 742 | group: "Longhorn Storage Class Settings" |
| 743 | required: true |
| 744 | type: enum |
| 745 | options: |
| 746 | - "Delete" |
| 747 | - "Retain" |
| 748 | default: "Delete" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 749 | - variable: persistence.defaultFsType |
| 750 | label: Storage Class Filesystem Type |
| 751 | description: "Filesystem type of the default Longhorn StorageClass" |
| 752 | group: "Longhorn Storage Class Settings" |
| 753 | type: enum |
| 754 | options: |
| 755 | - "xfs" |
| 756 | - "ext4" |
| 757 | default: "ext4" |
| 758 | - variable: persistence.disableRevisionCounter |
| 759 | label: Default Storage Class Disable Revision Counter |
| 760 | description: "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\")" |
| 761 | group: "Longhorn Storage Class Settings" |
| 762 | required: true |
| 763 | type: enum |
| 764 | options: |
| 765 | - "true" |
| 766 | - "false" |
| 767 | default: "true" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 768 | - variable: persistence.defaultClassReplicaCount |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 769 | description: "Replica count of the default Longhorn StorageClass." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 770 | label: Default Storage Class Replica Count |
| 771 | group: "Longhorn Storage Class Settings" |
| 772 | type: int |
| 773 | min: 1 |
| 774 | max: 10 |
| 775 | default: 3 |
| 776 | - variable: persistence.defaultDataLocality |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 777 | description: "Data locality of the default Longhorn StorageClass. (Options: \"disabled\", \"best-effort\")" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 778 | label: Default Storage Class Data Locality |
| 779 | group: "Longhorn Storage Class Settings" |
| 780 | type: enum |
| 781 | options: |
| 782 | - "disabled" |
| 783 | - "best-effort" |
| 784 | default: "disabled" |
| 785 | - variable: persistence.recurringJobSelector.enable |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 786 | description: "Setting that allows you to enable the recurring job selector for a Longhorn StorageClass." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 787 | group: "Longhorn Storage Class Settings" |
| 788 | label: Enable Storage Class Recurring Job Selector |
| 789 | type: boolean |
| 790 | default: false |
| 791 | show_subquestion_if: true |
| 792 | subquestions: |
| 793 | - variable: persistence.recurringJobSelector.jobList |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 794 | description: 'Recurring job selector for a Longhorn StorageClass. Ensure that quotes are used correctly when specifying job parameters. (Example: `[{"name":"backup", "isGroup":true}]`)' |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 795 | label: Storage Class Recurring Job Selector List |
| 796 | group: "Longhorn Storage Class Settings" |
| 797 | type: string |
| 798 | default: |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 799 | - variable: persistence.defaultDiskSelector.enable |
| 800 | description: "Setting that allows you to enable the disk selector for the default Longhorn StorageClass." |
| 801 | group: "Longhorn Storage Class Settings" |
| 802 | label: Enable Storage Class Disk Selector |
| 803 | type: boolean |
| 804 | default: false |
| 805 | show_subquestion_if: true |
| 806 | subquestions: |
| 807 | - variable: persistence.defaultDiskSelector.selector |
| 808 | label: Storage Class Disk Selector |
| 809 | description: 'Disk selector for the default Longhorn StorageClass. Longhorn uses only disks with the specified tags for storing volume data. (Examples: "nvme,sata")' |
| 810 | group: "Longhorn Storage Class Settings" |
| 811 | type: string |
| 812 | default: |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 813 | - variable: persistence.defaultNodeSelector.enable |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 814 | description: "Setting that allows you to enable the node selector for the default Longhorn StorageClass." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 815 | group: "Longhorn Storage Class Settings" |
| 816 | label: Enable Storage Class Node Selector |
| 817 | type: boolean |
| 818 | default: false |
| 819 | show_subquestion_if: true |
| 820 | subquestions: |
| 821 | - variable: persistence.defaultNodeSelector.selector |
| 822 | label: Storage Class Node Selector |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 823 | description: 'Node selector for the default Longhorn StorageClass. Longhorn uses only nodes with the specified tags for storing volume data. (Examples: "storage,fast")' |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 824 | group: "Longhorn Storage Class Settings" |
| 825 | type: string |
| 826 | default: |
| 827 | - variable: persistence.backingImage.enable |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 828 | description: "Setting that allows you to use a backing image in a Longhorn StorageClass." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 829 | group: "Longhorn Storage Class Settings" |
| 830 | label: Default Storage Class Backing Image |
| 831 | type: boolean |
| 832 | default: false |
| 833 | show_subquestion_if: true |
| 834 | subquestions: |
| 835 | - variable: persistence.backingImage.name |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 836 | description: '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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 837 | label: Storage Class Backing Image Name |
| 838 | group: "Longhorn Storage Class Settings" |
| 839 | type: string |
| 840 | default: |
| 841 | - variable: persistence.backingImage.expectedChecksum |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 842 | description: '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\".' |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 843 | label: Storage Class Backing Image Expected SHA512 Checksum |
| 844 | group: "Longhorn Storage Class Settings" |
| 845 | type: string |
| 846 | default: |
| 847 | - variable: persistence.backingImage.dataSourceType |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 848 | description: '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.' |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 849 | label: Storage Class Backing Image Data Source Type |
| 850 | group: "Longhorn Storage Class Settings" |
| 851 | type: enum |
| 852 | options: |
| 853 | - "" |
| 854 | - "download" |
| 855 | - "upload" |
| 856 | - "export-from-volume" |
| 857 | default: "" |
| 858 | - variable: persistence.backingImage.dataSourceParameters |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 859 | description: "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." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 860 | label: Storage Class Backing Image Data Source Parameters |
| 861 | group: "Longhorn Storage Class Settings" |
| 862 | type: string |
| 863 | default: |
| 864 | - variable: persistence.removeSnapshotsDuringFilesystemTrim |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 865 | description: "Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: \"ignored\", \"enabled\", \"disabled\")" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 866 | label: Default Storage Class Remove Snapshots During Filesystem Trim |
| 867 | group: "Longhorn Storage Class Settings" |
| 868 | type: enum |
| 869 | options: |
| 870 | - "ignored" |
| 871 | - "enabled" |
| 872 | - "disabled" |
| 873 | default: "ignored" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 874 | - variable: persistence.dataEngine |
| 875 | description: "Setting that allows you to specify the data engine version for the default Longhorn StorageClass. (Options: \"v1\", \"v2\")" |
| 876 | label: Default Storage Class Data Engine |
| 877 | group: "Longhorn Storage Class Settings" |
| 878 | type: enum |
| 879 | options: |
| 880 | - "v1" |
| 881 | - "v2" |
| 882 | default: "v1" |
| 883 | - variable: persistence.backupTargetName |
| 884 | description: "Setting that allows you to specify the backup target for the default Longhorn StorageClass" |
| 885 | label: Default Storage Class Backup Target Name |
| 886 | group: "Longhorn Storage Class Settings" |
| 887 | type: string |
| 888 | default: "default" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 889 | - variable: ingress.enabled |
| 890 | default: "false" |
| 891 | description: "Expose app using Layer 7 Load Balancer - ingress" |
| 892 | type: boolean |
| 893 | group: "Services and Load Balancing" |
| 894 | label: Expose app using Layer 7 Load Balancer |
| 895 | show_subquestion_if: true |
| 896 | subquestions: |
| 897 | - variable: ingress.host |
| 898 | default: "xip.io" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 899 | description: "Hostname of the Layer 7 load balancer." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 900 | type: hostname |
| 901 | required: true |
| 902 | label: Layer 7 Load Balancer Hostname |
| 903 | - variable: ingress.path |
| 904 | default: "/" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 905 | description: "Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 906 | type: string |
| 907 | required: true |
| 908 | label: Ingress Path |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 909 | - variable: ingress.pathType |
| 910 | default: "ImplementationSpecific" |
| 911 | description: "Path type for the ingress. (Options: \"ImplementationSpecific\", \"Exact\", \"Prefix\")" |
| 912 | type: enum |
| 913 | options: |
| 914 | - "ImplementationSpecific" |
| 915 | - "Exact" |
| 916 | - "Prefix" |
| 917 | required: true |
| 918 | label: Ingress Path Type |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 919 | - variable: service.ui.type |
| 920 | default: "Rancher-Proxy" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 921 | description: "Service type for Longhorn UI. (Options: \"ClusterIP\", \"NodePort\", \"LoadBalancer\", \"Rancher-Proxy\")" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 922 | type: enum |
| 923 | options: |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 924 | - "ClusterIP" |
| 925 | - "NodePort" |
| 926 | - "LoadBalancer" |
| 927 | - "Rancher-Proxy" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 928 | label: Longhorn UI Service |
| 929 | show_if: "ingress.enabled=false" |
| 930 | group: "Services and Load Balancing" |
| 931 | show_subquestion_if: "NodePort" |
| 932 | subquestions: |
| 933 | - variable: service.ui.nodePort |
| 934 | default: "" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 935 | description: "NodePort port number for Longhorn UI. When unspecified, Longhorn selects a free port between 30000 and 32767." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 936 | type: int |
| 937 | min: 30000 |
| 938 | max: 32767 |
| 939 | show_if: "service.ui.type=NodePort||service.ui.type=LoadBalancer" |
| 940 | label: UI Service NodePort number |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 941 | - variable: longhorn.default_resource |
| 942 | default: "false" |
| 943 | description: "Customize the default resource before installing Longhorn for the first time. This option will only work if the cluster hasn't installed Longhorn." |
| 944 | label: "Customize Default Resources" |
| 945 | type: boolean |
| 946 | show_subquestion_if: true |
| 947 | group: "Longhorn Default Resources" |
| 948 | subquestions: |
| 949 | - variable: defaultBackupStore.backupTarget |
| 950 | label: Backup Target |
| 951 | description: "Endpoint used to access the backupstore. (Options: \"NFS\", \"CIFS\", \"AWS\", \"GCP\", \"AZURE\")" |
| 952 | group: "Longhorn Default Resources" |
| 953 | type: string |
| 954 | default: |
| 955 | - variable: defaultBackupStore.backupTargetCredentialSecret |
| 956 | label: Backup Target Credential Secret |
| 957 | description: "Name of the Kubernetes secret associated with the backup target." |
| 958 | group: "Longhorn Default Resources" |
| 959 | type: string |
| 960 | default: |
| 961 | - variable: defaultBackupStore.backupstorePollInterval |
| 962 | label: Backupstore Poll Interval |
| 963 | description: "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." |
| 964 | group: "Longhorn Default Resources" |
| 965 | type: int |
| 966 | min: 0 |
| 967 | default: 300 |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 968 | - variable: enablePSP |
| 969 | default: "false" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 970 | description: "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 Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 971 | label: Pod Security Policy |
| 972 | type: boolean |
| 973 | group: "Other Settings" |
| 974 | - variable: global.cattle.windowsCluster.enabled |
| 975 | default: "false" |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 976 | description: "Setting that allows Longhorn to run on a Rancher Windows cluster." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 977 | label: Rancher Windows Cluster |
| 978 | type: boolean |
| 979 | group: "Other Settings" |
| 980 | - variable: networkPolicies.enabled |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 981 | description: "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." |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 982 | group: "Other Settings" |
| 983 | label: Network Policies |
| 984 | default: "false" |
| 985 | type: boolean |
| 986 | subquestions: |
| 987 | - variable: networkPolicies.type |
| 988 | label: Network Policies for Ingress |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 989 | description: "Distribution that determines the policy for allowing access for an ingress. (Options: \"k3s\", \"rke2\", \"rke1\")" |
| Giorgi Lekveishvili | 4ec4c02 | 2024-08-17 15:09:24 +0400 | [diff] [blame] | 990 | show_if: "networkPolicies.enabled=true&&ingress.enabled=true" |
| 991 | type: enum |
| 992 | default: "rke2" |
| 993 | options: |
| Giorgi Lekveishvili | 193b7c0 | 2025-05-22 16:21:37 +0400 | [diff] [blame^] | 994 | - "rke1" |
| 995 | - "rke2" |
| 996 | - "k3s" |
| 997 | - variable: defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU |
| 998 | label: Guaranteed Instance Manager CPU for V2 Data Engine |
| 999 | description: '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 between \"1000\" and \"8000\". [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.' |
| 1000 | type: int |
| 1001 | min: 1000 |
| 1002 | max: 8000 |
| 1003 | default: 1250 |
| 1004 | - variable: defaultSettings.v2DataEngineCPUMask |
| 1005 | label: CPU Mask for V2 Data Engine |
| 1006 | description: '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\".' |
| 1007 | type: string |
| 1008 | default: "0x1" |