blob: c7f6cdbffbc93180aadb662468353ec2748b6e5d [file] [log] [blame]
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +04001# Default values for longhorn.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
4global:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +04005 # -- Toleration for nodes allowed to run user-deployed components such as Longhorn Manager, Longhorn UI, and Longhorn Driver Deployer.
6 tolerations: []
7 # -- Node selector for nodes allowed to run user-deployed components such as Longhorn Manager, Longhorn UI, and Longhorn Driver Deployer.
8 nodeSelector: {}
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +04009 cattle:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040010 # -- Default system registry.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040011 systemDefaultRegistry: ""
12 windowsCluster:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040013 # -- Setting that allows Longhorn to run on a Rancher Windows cluster.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040014 enabled: false
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040015 # -- Toleration for Linux nodes that can run user-deployed Longhorn components.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040016 tolerations:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040017 - key: "cattle.io/os"
18 value: "linux"
19 effect: "NoSchedule"
20 operator: "Equal"
21 # -- Node selector for Linux nodes that can run user-deployed Longhorn components.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040022 nodeSelector:
23 kubernetes.io/os: "linux"
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040024 defaultSetting:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040025 # -- Toleration for system-managed Longhorn components.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040026 taintToleration: cattle.io/os=linux:NoSchedule
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040027 # -- Node selector for system-managed Longhorn components.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040028 systemManagedComponentsNodeSelector: kubernetes.io/os:linux
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040029networkPolicies:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040030 # -- Setting that allows you to enable network policies that control access to Longhorn pods.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040031 enabled: false
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040032 # -- Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1")
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040033 type: "k3s"
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040034image:
35 longhorn:
36 engine:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040037 # -- Repository for the Longhorn Engine image.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040038 repository: longhornio/longhorn-engine
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040039 # -- Tag for the Longhorn Engine image.
40 tag: v1.8.1
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040041 manager:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040042 # -- Repository for the Longhorn Manager image.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040043 repository: longhornio/longhorn-manager
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040044 # -- Tag for the Longhorn Manager image.
45 tag: v1.8.1
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040046 ui:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040047 # -- Repository for the Longhorn UI image.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040048 repository: longhornio/longhorn-ui
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040049 # -- Tag for the Longhorn UI image.
50 tag: v1.8.1
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040051 instanceManager:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040052 # -- Repository for the Longhorn Instance Manager image.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040053 repository: longhornio/longhorn-instance-manager
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040054 # -- Tag for the Longhorn Instance Manager image.
55 tag: v1.8.1
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040056 shareManager:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040057 # -- Repository for the Longhorn Share Manager image.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040058 repository: longhornio/longhorn-share-manager
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040059 # -- Tag for the Longhorn Share Manager image.
60 tag: v1.8.1
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040061 backingImageManager:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040062 # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040063 repository: longhornio/backing-image-manager
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040064 # -- Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
65 tag: v1.8.1
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040066 supportBundleKit:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040067 # -- Repository for the Longhorn Support Bundle Manager image.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040068 repository: longhornio/support-bundle-kit
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040069 # -- Tag for the Longhorn Support Bundle Manager image.
70 tag: v0.0.52
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040071 csi:
72 attacher:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040073 # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040074 repository: longhornio/csi-attacher
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040075 # -- Tag for the CSI attacher image. When unspecified, Longhorn uses the default value.
76 tag: v4.8.1
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040077 provisioner:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040078 # -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040079 repository: longhornio/csi-provisioner
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040080 # -- Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
81 tag: v5.2.0
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040082 nodeDriverRegistrar:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040083 # -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040084 repository: longhornio/csi-node-driver-registrar
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040085 # -- Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
86 tag: v2.13.0
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040087 resizer:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040088 # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040089 repository: longhornio/csi-resizer
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040090 # -- Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value.
91 tag: v1.13.2
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040092 snapshotter:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040093 # -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040094 repository: longhornio/csi-snapshotter
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040095 # -- Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
96 tag: v8.2.0
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040097 livenessProbe:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040098 # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040099 repository: longhornio/livenessprobe
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400100 # -- Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
101 tag: v2.15.0
102 openshift:
103 oauthProxy:
104 # -- 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.
105 repository: ""
106 # -- Tag for the OAuth Proxy image. Specify OCP/OKD version 4.1 or later (including version 4.15, which is available at quay.io/openshift/origin-oauth-proxy:4.15). This setting applies only to OpenShift users.
107 tag: ""
108 # -- Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400109 pullPolicy: IfNotPresent
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400110service:
111 ui:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400112 # -- Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy")
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400113 type: ClusterIP
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400114 # -- NodePort port number for Longhorn UI. When unspecified, Longhorn selects a free port between 30000 and 32767.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400115 nodePort: null
116 manager:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400117 # -- Service type for Longhorn Manager.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400118 type: ClusterIP
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400119 # -- NodePort port number for Longhorn Manager. When unspecified, Longhorn selects a free port between 30000 and 32767.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400120 nodePort: ""
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400121persistence:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400122 # -- Setting that allows you to specify the default Longhorn StorageClass.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400123 defaultClass: true
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400124 # -- Filesystem type of the default Longhorn StorageClass.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400125 defaultFsType: ext4
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400126 # -- mkfs parameters of the default Longhorn StorageClass.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400127 defaultMkfsParams: ""
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400128 # -- Replica count of the default Longhorn StorageClass.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400129 defaultClassReplicaCount: 3
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400130 # -- Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort")
131 defaultDataLocality: disabled
132 # -- Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete")
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400133 reclaimPolicy: Delete
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400134 # -- Setting that allows you to enable live migration of a Longhorn volume from one node to another.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400135 migratable: false
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400136 # -- 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.
137 disableRevisionCounter: "true"
138 # -- Set NFS mount options for Longhorn StorageClass for RWX volumes
139 nfsOptions: ""
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400140 recurringJobSelector:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400141 # -- Setting that allows you to enable the recurring job selector for a Longhorn StorageClass.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400142 enable: false
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400143 # -- Recurring job selector for a Longhorn StorageClass. Ensure that quotes are used correctly when specifying job parameters. (Example: `[{"name":"backup", "isGroup":true}]`)
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400144 jobList: []
145 backingImage:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400146 # -- Setting that allows you to use a backing image in a Longhorn StorageClass.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400147 enable: false
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400148 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400149 name: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400150 # -- Data source type of a backing image used in a Longhorn StorageClass.
151 # If the backing image exists in the cluster, Longhorn uses this setting to verify the image.
152 # If the backing image does not exist, Longhorn creates one using the specified data source type.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400153 dataSourceType: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400154 # -- Data source parameters of a backing image used in a Longhorn StorageClass.
155 # You can specify a JSON string of a map. (Example: `'{\"url\":\"https://backing-image-example.s3-region.amazonaws.com/test-backing-image\"}'`)
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400156 dataSourceParameters: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400157 # -- Expected SHA-512 checksum of a backing image used in a Longhorn StorageClass.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400158 expectedChecksum: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400159 defaultDiskSelector:
160 # -- Setting that allows you to enable the disk selector for the default Longhorn StorageClass.
161 enable: false
162 # -- Disk selector for the default Longhorn StorageClass. Longhorn uses only disks with the specified tags for storing volume data. (Examples: "nvme,sata")
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400163 selector: ""
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400164 defaultNodeSelector:
165 # -- Setting that allows you to enable the node selector for the default Longhorn StorageClass.
166 enable: false
167 # -- Node selector for the default Longhorn StorageClass. Longhorn uses only nodes with the specified tags for storing volume data. (Examples: "storage,fast")
168 selector: ""
169 # -- Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled")
170 removeSnapshotsDuringFilesystemTrim: ignored
171 # -- Setting that allows you to specify the data engine version for the default Longhorn StorageClass. (Options: "v1", "v2")
172 dataEngine: v1
173 # -- Setting that allows you to specify the backup target for the default Longhorn StorageClass.
174 backupTargetName: default
175preUpgradeChecker:
176 # -- Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions.
177 jobEnabled: true
178 # -- 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.
179 upgradeVersionCheck: true
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400180csi:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400181 # -- kubelet root directory. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400182 kubeletRootDir: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400183 # -- Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400184 attacherReplicaCount: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400185 # -- Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400186 provisionerReplicaCount: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400187 # -- Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400188 resizerReplicaCount: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400189 # -- Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400190 snapshotterReplicaCount: ~
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400191defaultSettings:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400192 # -- Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400193 allowRecurringJobWhileVolumeDetached: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400194 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400195 createDefaultDiskLabeledNodes: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400196 # -- Default path for storing data on a host. The default value is "/var/lib/longhorn/".
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400197 defaultDataPath: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400198 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400199 defaultDataLocality: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400200 # -- Setting that allows scheduling on nodes with healthy replicas of the same volume. This setting is disabled by default.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400201 replicaSoftAntiAffinity: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400202 # -- Setting that automatically rebalances replicas when an available node is discovered.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400203 replicaAutoBalance: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400204 # -- Percentage of storage that can be allocated relative to hard drive capacity. The default value is "100".
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400205 storageOverProvisioningPercentage: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400206 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400207 storageMinimalAvailablePercentage: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400208 # -- Percentage of disk space that is not allocated to the default disk on each new Longhorn node.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400209 storageReservedPercentageForDefaultDisk: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400210 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400211 upgradeChecker: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400212 # -- 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.
213 upgradeResponderURL: ~
214 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400215 defaultReplicaCount: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400216 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400217 defaultLonghornStaticStorageClass: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400218 # -- Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400219 failedBackupTTL: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400220 # -- Number of minutes that Longhorn allows for the backup execution. The default value is "1".
221 backupExecutionTimeout: ~
222 # -- Setting that restores recurring jobs from a backup volume on a backup target and creates recurring jobs if none exist during backup restoration.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400223 restoreVolumeRecurringJobs: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400224 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400225 recurringSuccessfulJobsHistoryLimit: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400226 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400227 recurringFailedJobsHistoryLimit: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400228 # -- Maximum number of snapshots or backups to be retained.
229 recurringJobMaxRetention: ~
230 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400231 supportBundleFailedHistoryLimit: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400232 # -- Taint or toleration for system-managed Longhorn components.
233 # Specify values using a semicolon-separated list in `kubectl taint` syntax (Example: key1=value1:effect; key2=value2:effect).
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400234 taintToleration: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400235 # -- Node selector for system-managed Longhorn components.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400236 systemManagedComponentsNodeSelector: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400237 # -- PriorityClass for system-managed Longhorn components.
238 # This setting can help prevent Longhorn components from being evicted under Node Pressure.
239 # 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`.
240 priorityClass: &defaultPriorityClassNameRef "longhorn-critical"
241 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400242 autoSalvage: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400243 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400244 autoDeletePodWhenVolumeDetachedUnexpectedly: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400245 # -- Setting that prevents Longhorn Manager from scheduling replicas on a cordoned Kubernetes node. This setting is enabled by default.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400246 disableSchedulingOnCordonedNode: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400247 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400248 replicaZoneSoftAntiAffinity: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400249 # -- Setting that allows scheduling on disks with existing healthy replicas of the same volume. This setting is enabled by default.
250 replicaDiskSoftAntiAffinity: ~
251 # -- Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400252 nodeDownPodDeletionPolicy: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400253 # -- Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400254 nodeDrainPolicy: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400255 # -- Setting that allows automatic detaching of manually-attached volumes when a node is cordoned.
256 detachManuallyAttachedVolumesWhenCordoned: ~
257 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400258 replicaReplenishmentWaitInterval: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400259 # -- Maximum number of replicas that can be concurrently rebuilt on each node.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400260 concurrentReplicaRebuildPerNodeLimit: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400261 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400262 concurrentVolumeBackupRestorePerNodeLimit: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400263 # -- 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.
264 disableRevisionCounter: "true"
265 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400266 systemManagedPodsImagePullPolicy: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400267 # -- Setting that allows you to create and attach a volume without having all replicas scheduled at the time of creation.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400268 allowVolumeCreationWithDegradedAvailability: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400269 # -- Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400270 autoCleanupSystemGeneratedSnapshot: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400271 # -- Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job.
272 autoCleanupRecurringJobBackupSnapshot: ~
273 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400274 concurrentAutomaticEngineUpgradePerNodeLimit: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400275 # -- Number of minutes that Longhorn waits before cleaning up the backing image file when no replicas in the disk are using it.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400276 backingImageCleanupWaitInterval: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400277 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400278 backingImageRecoveryWaitInterval: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400279 # -- 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. The default value is "12".
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400280 guaranteedInstanceManagerCPU: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400281 # -- Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400282 kubernetesClusterAutoscalerEnabled: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400283 # -- 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.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400284 orphanAutoDeletion: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400285 # -- Storage network for in-cluster traffic. When unspecified, Longhorn uses the Kubernetes cluster network.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400286 storageNetwork: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400287 # -- Flag that prevents accidental uninstallation of Longhorn.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400288 deletingConfirmationFlag: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400289 # -- Timeout between the Longhorn Engine and replicas. Specify a value between "8" and "30" seconds. The default value is "8".
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400290 engineReplicaTimeout: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400291 # -- Setting that allows you to enable and disable snapshot hashing and data integrity checks.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400292 snapshotDataIntegrity: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400293 # -- Setting that allows disabling of snapshot hashing after snapshot creation to minimize impact on system performance.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400294 snapshotDataIntegrityImmediateCheckAfterSnapshotCreation: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400295 # -- Setting that defines when Longhorn checks the integrity of data in snapshot disk files. You must use the Unix cron expression format.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400296 snapshotDataIntegrityCronjob: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400297 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400298 removeSnapshotsDuringFilesystemTrim: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400299 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400300 fastReplicaRebuildEnabled: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400301 # -- Number of seconds that an HTTP client waits for a response from a File Sync server before considering the connection to have failed.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400302 replicaFileSyncHttpClientTimeout: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400303 # -- Number of seconds that Longhorn allows for the completion of replica rebuilding and snapshot cloning operations.
304 longGRPCTimeOut: ~
305 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400306 logLevel: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400307 # -- Setting that allows you to specify a backup compression method.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400308 backupCompressionMethod: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400309 # -- Maximum number of worker threads that can concurrently run for each backup.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400310 backupConcurrentLimit: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400311 # -- Maximum number of worker threads that can concurrently run for each restore operation.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400312 restoreConcurrentLimit: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400313 # -- Setting that allows you to enable the V1 Data Engine.
314 v1DataEngine: ~
315 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400316 v2DataEngine: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400317 # -- Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine.
318 v2DataEngineHugepageLimit: ~
319 # -- Number of millicpus on each node to be reserved for each Instance Manager pod when the V2 Data Engine is enabled. The default value is "1250".
320 v2DataEngineGuaranteedInstanceManagerCPU: ~
321 # -- 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".
322 v2DataEngineCPUMask: ~
323 # -- Setting that allows scheduling of empty node selector volumes to any node.
324 allowEmptyNodeSelectorVolume: ~
325 # -- Setting that allows scheduling of empty disk selector volumes to any disk.
326 allowEmptyDiskSelectorVolume: ~
327 # -- 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.
328 allowCollectingLonghornUsageMetrics: ~
329 # -- Setting that temporarily prevents all attempts to purge volume snapshots.
330 disableSnapshotPurge: ~
331 # -- Maximum snapshot count for a volume. The value should be between 2 to 250
332 snapshotMaxCount: ~
333 # -- Setting that allows you to configure the log level of the SPDK target daemon (spdk_tgt) of the V2 Data Engine.
334 v2DataEngineLogLevel: ~
335 # -- Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine.
336 v2DataEngineLogFlags: ~
337 # -- Setting that freezes the filesystem on the root partition before a snapshot is created.
338 freezeFilesystemForSnapshot: ~
339 # -- Setting that automatically cleans up the snapshot when the backup is deleted.
340 autoCleanupSnapshotWhenDeleteBackup: ~
341 # -- Setting that allows Longhorn to detect node failure and immediately migrate affected RWX volumes.
342 rwxVolumeFastFailover: ~
343# -- Setting that allows you to update the default backupstore.
344defaultBackupStore:
345 # -- Endpoint used to access the default backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE")
346 backupTarget: ~
347 # -- Name of the Kubernetes secret associated with the default backup target.
348 backupTargetCredentialSecret: ~
349 # -- 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.
350 pollInterval: ~
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400351privateRegistry:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400352 # -- Setting that allows you to create a private registry secret.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400353 createSecret: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400354 # -- URL of a private registry. When unspecified, Longhorn uses the default system registry.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400355 registryUrl: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400356 # -- User account used for authenticating with a private registry.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400357 registryUser: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400358 # -- Password for authenticating with a private registry.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400359 registryPasswd: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400360 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400361 registrySecret: ~
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400362longhornManager:
363 log:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400364 # -- Format of Longhorn Manager logs. (Options: "plain", "json")
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400365 format: plain
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400366 # -- PriorityClass for Longhorn Manager.
367 priorityClass: *defaultPriorityClassNameRef
368 # -- Toleration for Longhorn Manager on nodes allowed to run Longhorn components.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400369 tolerations: []
370 ## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above
371 ## and uncomment this example block
372 # - key: "key"
373 # operator: "Equal"
374 # value: "value"
375 # effect: "NoSchedule"
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400376 # -- Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400377 nodeSelector: {}
378 ## If you want to set node selector for Longhorn Manager DaemonSet, delete the `{}` in the line above
379 ## and uncomment this example block
380 # label-key1: "label-value1"
381 # label-key2: "label-value2"
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400382 # -- Annotation for the Longhorn Manager service.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400383 serviceAnnotations: {}
384 ## If you want to set annotations for the Longhorn Manager service, delete the `{}` in the line above
385 ## and uncomment this example block
386 # annotation-key1: "annotation-value1"
387 # annotation-key2: "annotation-value2"
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400388longhornDriver:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400389 log:
390 # -- Format of longhorn-driver logs. (Options: "plain", "json")
391 format: plain
392 # -- PriorityClass for Longhorn Driver.
393 priorityClass: *defaultPriorityClassNameRef
394 # -- Toleration for Longhorn Driver on nodes allowed to run Longhorn components.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400395 tolerations: []
396 ## If you want to set tolerations for Longhorn Driver Deployer Deployment, delete the `[]` in the line above
397 ## and uncomment this example block
398 # - key: "key"
399 # operator: "Equal"
400 # value: "value"
401 # effect: "NoSchedule"
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400402 # -- Node selector for Longhorn Driver. Specify the nodes allowed to run Longhorn Driver.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400403 nodeSelector: {}
404 ## If you want to set node selector for Longhorn Driver Deployer Deployment, delete the `{}` in the line above
405 ## and uncomment this example block
406 # label-key1: "label-value1"
407 # label-key2: "label-value2"
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400408longhornUI:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400409 # -- Replica count for Longhorn UI.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400410 replicas: 2
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400411 # -- PriorityClass for Longhorn UI.
412 priorityClass: *defaultPriorityClassNameRef
413 # -- Toleration for Longhorn UI on nodes allowed to run Longhorn components.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400414 tolerations: []
415 ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above
416 ## and uncomment this example block
417 # - key: "key"
418 # operator: "Equal"
419 # value: "value"
420 # effect: "NoSchedule"
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400421 # -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400422 nodeSelector: {}
423 ## If you want to set node selector for Longhorn UI Deployment, delete the `{}` in the line above
424 ## and uncomment this example block
425 # label-key1: "label-value1"
426 # label-key2: "label-value2"
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400427ingress:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400428 # -- Setting that allows Longhorn to generate ingress records for the Longhorn UI service.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400429 enabled: false
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400430 # -- IngressClass resource that contains ingress configuration, including the name of the Ingress controller.
431 # ingressClassName can replace the kubernetes.io/ingress.class annotation used in earlier Kubernetes releases.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400432 ingressClassName: ~
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400433 # -- Hostname of the Layer 7 load balancer.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400434 host: sslip.io
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400435 # -- Setting that allows you to enable TLS on ingress records.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400436 tls: false
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400437 # -- Setting that allows you to enable secure connections to the Longhorn UI service via port 443.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400438 secureBackends: false
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400439 # -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400440 tlsSecret: longhorn.local-tls
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400441 # -- Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400442 path: /
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400443 # -- Ingress path type. To maintain backward compatibility, the default value is "ImplementationSpecific".
444 pathType: ImplementationSpecific
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400445 ## If you're using kube-lego, you will want to add:
446 ## kubernetes.io/tls-acme: true
447 ##
448 ## For a full list of possible ingress annotations, please see
449 ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md
450 ##
451 ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400452 # -- Ingress annotations in the form of key-value pairs.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400453 annotations:
454 # kubernetes.io/ingress.class: nginx
455 # kubernetes.io/tls-acme: true
456
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400457 # -- Secret that contains a TLS private key and certificate. Use secrets if you want to use your own certificates to secure ingresses.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400458 secrets:
459 ## If you're providing your own certificates, please use this to add the certificates as secrets
460 ## key and certificate should start with -----BEGIN CERTIFICATE----- or
461 ## -----BEGIN RSA PRIVATE KEY-----
462 ##
463 ## name should line up with a tlsSecret set further up
464 ## If you're using kube-lego, this is unneeded, as it will create the secret for you if it is not set
465 ##
466 ## It is also possible to create and manage the certificates outside of this helm chart
467 ## Please see README.md for more information
468 # - name: longhorn.local-tls
469 # key:
470 # certificate:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400471# -- 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 Lekveishvili4ec4c022024-08-17 15:09:24 +0400472enablePSP: false
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400473# -- Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400474namespaceOverride: ""
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400475# -- Annotation for the Longhorn Manager DaemonSet pods. This setting is optional.
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400476annotations: {}
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400477serviceAccount:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400478 # -- Annotations to add to the service account
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +0400479 annotations: {}
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +0400480metrics:
481 serviceMonitor:
482 # -- Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components.
483 enabled: false
484 # -- Additional labels for the Prometheus ServiceMonitor resource.
485 additionalLabels: {}
486 # -- Annotations for the Prometheus ServiceMonitor resource.
487 annotations: {}
488 # -- Interval at which Prometheus scrapes the metrics from the target.
489 interval: ""
490 # -- Timeout after which Prometheus considers the scrape to be failed.
491 scrapeTimeout: ""
492 # -- Configures the relabeling rules to apply the target’s metadata labels. See the [Prometheus Operator
493 # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for
494 # formatting details.
495 relabelings: []
496 # -- Configures the relabeling rules to apply to the samples before ingestion. See the [Prometheus Operator
497 # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for
498 # formatting details.
499 metricRelabelings: []
500## openshift settings
501openshift:
502 # -- Setting that allows Longhorn to integrate with OpenShift.
503 enabled: false
504 ui:
505 # -- Route for connections between Longhorn and the OpenShift web console.
506 route: "longhorn-ui"
507 # -- Port for accessing the OpenShift web console.
508 port: 443
509 # -- Port for proxy that provides access to the OpenShift web console.
510 proxy: 8443
511# -- Setting that allows Longhorn to generate code coverage profiles.
512enableGoCoverDir: false