blob: 3ded6cd929697993fb0924435335bd166c3a5039 [file] [log] [blame]
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +04001# Default values for longhorn.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
4global:
5 cattle:
6 systemDefaultRegistry: ""
7 windowsCluster:
8 # Enable this to allow Longhorn to run on the Rancher deployed Windows cluster
9 enabled: false
10 # Tolerate Linux node taint
11 tolerations:
12 - key: "cattle.io/os"
13 value: "linux"
14 effect: "NoSchedule"
15 operator: "Equal"
16 # Select Linux nodes
17 nodeSelector:
18 kubernetes.io/os: "linux"
19 # Recognize toleration and node selector for Longhorn run-time created components
20 defaultSetting:
21 taintToleration: cattle.io/os=linux:NoSchedule
22 systemManagedComponentsNodeSelector: kubernetes.io/os:linux
23
24image:
25 longhorn:
26 engine:
27 repository: longhornio/longhorn-engine
28 tag: v1.4.1
29 manager:
30 repository: longhornio/longhorn-manager
31 tag: v1.4.1
32 ui:
33 repository: longhornio/longhorn-ui
34 tag: v1.4.1
35 instanceManager:
36 repository: longhornio/longhorn-instance-manager
37 tag: v1.4.1
38 shareManager:
39 repository: longhornio/longhorn-share-manager
40 tag: v1.4.1
41 backingImageManager:
42 repository: longhornio/backing-image-manager
43 tag: v1.4.1
44 supportBundleKit:
45 repository: longhornio/support-bundle-kit
46 tag: v0.0.19
47 csi:
48 attacher:
49 repository: longhornio/csi-attacher
50 tag: v3.4.0
51 provisioner:
52 repository: longhornio/csi-provisioner
53 tag: v2.1.2
54 nodeDriverRegistrar:
55 repository: longhornio/csi-node-driver-registrar
56 tag: v2.5.0
57 resizer:
58 repository: longhornio/csi-resizer
59 tag: v1.3.0
60 snapshotter:
61 repository: longhornio/csi-snapshotter
62 tag: v5.0.1
63 livenessProbe:
64 repository: longhornio/livenessprobe
65 tag: v2.8.0
66 pullPolicy: IfNotPresent
67
68service:
69 ui:
70 type: ClusterIP
71 nodePort: null
72 manager:
73 type: ClusterIP
74 nodePort: ""
75 loadBalancerIP: ""
76 loadBalancerSourceRanges: ""
77
78persistence:
79 defaultClass: true
80 defaultFsType: ext4
81 defaultMkfsParams: ""
82 defaultClassReplicaCount: 3
83 defaultDataLocality: disabled # best-effort otherwise
84 reclaimPolicy: Delete
85 migratable: false
86 recurringJobSelector:
87 enable: false
88 jobList: []
89 backingImage:
90 enable: false
91 name: ~
92 dataSourceType: ~
93 dataSourceParameters: ~
94 expectedChecksum: ~
95 defaultNodeSelector:
96 enable: false # disable by default
97 selector: []
98 removeSnapshotsDuringFilesystemTrim: ignored # "enabled" or "disabled" otherwise
99
100csi:
101 kubeletRootDir: ~
102 attacherReplicaCount: ~
103 provisionerReplicaCount: ~
104 resizerReplicaCount: ~
105 snapshotterReplicaCount: ~
106
107defaultSettings:
108 backupTarget: ~
109 backupTargetCredentialSecret: ~
110 allowRecurringJobWhileVolumeDetached: ~
111 createDefaultDiskLabeledNodes: ~
112 defaultDataPath: ~
113 defaultDataLocality: ~
114 replicaSoftAntiAffinity: ~
115 replicaAutoBalance: ~
116 storageOverProvisioningPercentage: ~
117 storageMinimalAvailablePercentage: ~
118 upgradeChecker: ~
119 defaultReplicaCount: ~
120 defaultLonghornStaticStorageClass: ~
121 backupstorePollInterval: ~
122 failedBackupTTL: ~
123 restoreVolumeRecurringJobs: ~
124 recurringSuccessfulJobsHistoryLimit: ~
125 recurringFailedJobsHistoryLimit: ~
126 supportBundleFailedHistoryLimit: ~
127 taintToleration: ~
128 systemManagedComponentsNodeSelector: ~
129 priorityClass: ~
130 autoSalvage: ~
131 autoDeletePodWhenVolumeDetachedUnexpectedly: ~
132 disableSchedulingOnCordonedNode: ~
133 replicaZoneSoftAntiAffinity: ~
134 nodeDownPodDeletionPolicy: ~
135 allowNodeDrainWithLastHealthyReplica: ~
136 mkfsExt4Parameters: ~
137 disableReplicaRebuild: ~
138 replicaReplenishmentWaitInterval: ~
139 concurrentReplicaRebuildPerNodeLimit: ~
140 concurrentVolumeBackupRestorePerNodeLimit: ~
141 disableRevisionCounter: ~
142 systemManagedPodsImagePullPolicy: ~
143 allowVolumeCreationWithDegradedAvailability: ~
144 autoCleanupSystemGeneratedSnapshot: ~
145 concurrentAutomaticEngineUpgradePerNodeLimit: ~
146 backingImageCleanupWaitInterval: ~
147 backingImageRecoveryWaitInterval: ~
148 guaranteedEngineManagerCPU: ~
149 guaranteedReplicaManagerCPU: ~
150 kubernetesClusterAutoscalerEnabled: ~
151 orphanAutoDeletion: ~
152 storageNetwork: ~
153 deletingConfirmationFlag: ~
154 engineReplicaTimeout: ~
155 snapshotDataIntegrity: ~
156 snapshotDataIntegrityImmediateCheckAfterSnapshotCreation: ~
157 snapshotDataIntegrityCronjob: ~
158 removeSnapshotsDuringFilesystemTrim: ~
159 fastReplicaRebuildEnabled: ~
160 replicaFileSyncHttpClientTimeout: ~
161privateRegistry:
162 createSecret: ~
163 registryUrl: ~
164 registryUser: ~
165 registryPasswd: ~
166 registrySecret: ~
167
168longhornManager:
169 log:
170 ## Allowed values are `plain` or `json`.
171 format: plain
172 priorityClass: ~
173 tolerations: []
174 ## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above
175 ## and uncomment this example block
176 # - key: "key"
177 # operator: "Equal"
178 # value: "value"
179 # effect: "NoSchedule"
180 nodeSelector: {}
181 ## If you want to set node selector for Longhorn Manager DaemonSet, delete the `{}` in the line above
182 ## and uncomment this example block
183 # label-key1: "label-value1"
184 # label-key2: "label-value2"
185 serviceAnnotations: {}
186 ## If you want to set annotations for the Longhorn Manager service, delete the `{}` in the line above
187 ## and uncomment this example block
188 # annotation-key1: "annotation-value1"
189 # annotation-key2: "annotation-value2"
190
191longhornDriver:
192 priorityClass: ~
193 tolerations: []
194 ## If you want to set tolerations for Longhorn Driver Deployer Deployment, delete the `[]` in the line above
195 ## and uncomment this example block
196 # - key: "key"
197 # operator: "Equal"
198 # value: "value"
199 # effect: "NoSchedule"
200 nodeSelector: {}
201 ## If you want to set node selector for Longhorn Driver Deployer Deployment, delete the `{}` in the line above
202 ## and uncomment this example block
203 # label-key1: "label-value1"
204 # label-key2: "label-value2"
205
206longhornUI:
207 replicas: 2
208 priorityClass: ~
209 tolerations: []
210 ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above
211 ## and uncomment this example block
212 # - key: "key"
213 # operator: "Equal"
214 # value: "value"
215 # effect: "NoSchedule"
216 nodeSelector: {}
217 ## If you want to set node selector for Longhorn UI Deployment, delete the `{}` in the line above
218 ## and uncomment this example block
219 # label-key1: "label-value1"
220 # label-key2: "label-value2"
221
222longhornConversionWebhook:
223 replicas: 2
224 priorityClass: ~
225 tolerations: []
226 ## If you want to set tolerations for Longhorn conversion webhook Deployment, delete the `[]` in the line above
227 ## and uncomment this example block
228 # - key: "key"
229 # operator: "Equal"
230 # value: "value"
231 # effect: "NoSchedule"
232 nodeSelector: {}
233 ## If you want to set node selector for Longhorn conversion webhook Deployment, delete the `{}` in the line above
234 ## and uncomment this example block
235 # label-key1: "label-value1"
236 # label-key2: "label-value2"
237
238longhornAdmissionWebhook:
239 replicas: 2
240 priorityClass: ~
241 tolerations: []
242 ## If you want to set tolerations for Longhorn admission webhook Deployment, delete the `[]` in the line above
243 ## and uncomment this example block
244 # - key: "key"
245 # operator: "Equal"
246 # value: "value"
247 # effect: "NoSchedule"
248 nodeSelector: {}
249 ## If you want to set node selector for Longhorn admission webhook Deployment, delete the `{}` in the line above
250 ## and uncomment this example block
251 # label-key1: "label-value1"
252 # label-key2: "label-value2"
253
254longhornRecoveryBackend:
255 replicas: 2
256 priorityClass: ~
257 tolerations: []
258 ## If you want to set tolerations for Longhorn recovery backend Deployment, delete the `[]` in the line above
259 ## and uncomment this example block
260 # - key: "key"
261 # operator: "Equal"
262 # value: "value"
263 # effect: "NoSchedule"
264 nodeSelector: {}
265 ## If you want to set node selector for Longhorn recovery backend Deployment, delete the `{}` in the line above
266 ## and uncomment this example block
267 # label-key1: "label-value1"
268 # label-key2: "label-value2"
269
270ingress:
271 ## Set to true to enable ingress record generation
272 enabled: false
273
274 ## Add ingressClassName to the Ingress
275 ## Can replace the kubernetes.io/ingress.class annotation on v1.18+
276 ingressClassName: ~
277
278 host: sslip.io
279
280 ## Set this to true in order to enable TLS on the ingress record
281 tls: false
282
283 ## Enable this in order to enable that the backend service will be connected at port 443
284 secureBackends: false
285
286 ## If TLS is set to true, you must declare what secret will store the key/certificate for TLS
287 tlsSecret: longhorn.local-tls
288
289 ## If ingress is enabled you can set the default ingress path
290 ## then you can access the UI by using the following full path {{host}}+{{path}}
291 path: /
292
293 ## Ingress annotations done as key:value pairs
294 ## If you're using kube-lego, you will want to add:
295 ## kubernetes.io/tls-acme: true
296 ##
297 ## For a full list of possible ingress annotations, please see
298 ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md
299 ##
300 ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
301 annotations:
302 # kubernetes.io/ingress.class: nginx
303 # kubernetes.io/tls-acme: true
304
305 secrets:
306 ## If you're providing your own certificates, please use this to add the certificates as secrets
307 ## key and certificate should start with -----BEGIN CERTIFICATE----- or
308 ## -----BEGIN RSA PRIVATE KEY-----
309 ##
310 ## name should line up with a tlsSecret set further up
311 ## If you're using kube-lego, this is unneeded, as it will create the secret for you if it is not set
312 ##
313 ## It is also possible to create and manage the certificates outside of this helm chart
314 ## Please see README.md for more information
315 # - name: longhorn.local-tls
316 # key:
317 # certificate:
318
319# For Kubernetes < v1.25, if your cluster enables Pod Security Policy admission controller,
320# set this to `true` to ship longhorn-psp which allow privileged Longhorn pods to start
321enablePSP: false
322
323## Specify override namespace, specifically this is useful for using longhorn as sub-chart
324## and its release namespace is not the `longhorn-system`
325namespaceOverride: ""
326
327# Annotations to add to the Longhorn Manager DaemonSet Pods. Optional.
328annotations: {}
329
330serviceAccount:
331 # Annotations to add to the service account
332 annotations: {}