blob: 32d9ed0b209771328d313d1d6d7a02f2d2e2d0dd [file] [log] [blame]
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +04001# Default values for longhorn.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
4global:
gio16bb6382025-05-21 18:42:40 +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 Lekveishvili725bb392023-05-05 18:24:27 +04009 cattle:
gio16bb6382025-05-21 18:42:40 +040010 # -- Default system registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040011 systemDefaultRegistry: ""
12 windowsCluster:
gio16bb6382025-05-21 18:42:40 +040013 # -- Setting that allows Longhorn to run on a Rancher Windows cluster.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040014 enabled: false
gio16bb6382025-05-21 18:42:40 +040015 # -- Toleration for Linux nodes that can run user-deployed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040016 tolerations:
gio2539d9e2025-05-22 12:19:30 +040017 - key: "cattle.io/os"
18 value: "linux"
19 effect: "NoSchedule"
20 operator: "Equal"
gio16bb6382025-05-21 18:42:40 +040021 # -- Node selector for Linux nodes that can run user-deployed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040022 nodeSelector:
23 kubernetes.io/os: "linux"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040024 defaultSetting:
gio16bb6382025-05-21 18:42:40 +040025 # -- Toleration for system-managed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040026 taintToleration: cattle.io/os=linux:NoSchedule
gio16bb6382025-05-21 18:42:40 +040027 # -- Node selector for system-managed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040028 systemManagedComponentsNodeSelector: kubernetes.io/os:linux
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040029networkPolicies:
gio16bb6382025-05-21 18:42:40 +040030 # -- Setting that allows you to enable network policies that control access to Longhorn pods.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040031 enabled: false
gio16bb6382025-05-21 18:42:40 +040032 # -- Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1")
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040033 type: "k3s"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040034image:
35 longhorn:
36 engine:
gio16bb6382025-05-21 18:42:40 +040037 # -- Repository for the Longhorn Engine image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040038 repository: longhornio/longhorn-engine
gioc9b92b12025-05-22 08:57:18 +040039 # -- Tag for the Longhorn Engine image.
giodbf4a852025-06-30 17:09:46 +040040 tag: v1.9.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040041 manager:
gio16bb6382025-05-21 18:42:40 +040042 # -- Repository for the Longhorn Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040043 repository: longhornio/longhorn-manager
gioc9b92b12025-05-22 08:57:18 +040044 # -- Tag for the Longhorn Manager image.
giodbf4a852025-06-30 17:09:46 +040045 tag: v1.9.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040046 ui:
gio16bb6382025-05-21 18:42:40 +040047 # -- Repository for the Longhorn UI image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040048 repository: longhornio/longhorn-ui
gioc9b92b12025-05-22 08:57:18 +040049 # -- Tag for the Longhorn UI image.
giodbf4a852025-06-30 17:09:46 +040050 tag: v1.9.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040051 instanceManager:
gio16bb6382025-05-21 18:42:40 +040052 # -- Repository for the Longhorn Instance Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040053 repository: longhornio/longhorn-instance-manager
gioc9b92b12025-05-22 08:57:18 +040054 # -- Tag for the Longhorn Instance Manager image.
giodbf4a852025-06-30 17:09:46 +040055 tag: v1.9.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040056 shareManager:
gio16bb6382025-05-21 18:42:40 +040057 # -- Repository for the Longhorn Share Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040058 repository: longhornio/longhorn-share-manager
gioc9b92b12025-05-22 08:57:18 +040059 # -- Tag for the Longhorn Share Manager image.
giodbf4a852025-06-30 17:09:46 +040060 tag: v1.9.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040061 backingImageManager:
gio16bb6382025-05-21 18:42:40 +040062 # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040063 repository: longhornio/backing-image-manager
gioc9b92b12025-05-22 08:57:18 +040064 # -- Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
giodbf4a852025-06-30 17:09:46 +040065 tag: v1.9.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040066 supportBundleKit:
gio16bb6382025-05-21 18:42:40 +040067 # -- Repository for the Longhorn Support Bundle Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040068 repository: longhornio/support-bundle-kit
gio16bb6382025-05-21 18:42:40 +040069 # -- Tag for the Longhorn Support Bundle Manager image.
giodbf4a852025-06-30 17:09:46 +040070 tag: v0.0.55
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040071 csi:
72 attacher:
gio16bb6382025-05-21 18:42:40 +040073 # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040074 repository: longhornio/csi-attacher
gio16bb6382025-05-21 18:42:40 +040075 # -- Tag for the CSI attacher image. When unspecified, Longhorn uses the default value.
gio2539d9e2025-05-22 12:19:30 +040076 tag: v4.8.1
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040077 provisioner:
gio16bb6382025-05-21 18:42:40 +040078 # -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040079 repository: longhornio/csi-provisioner
gio16bb6382025-05-21 18:42:40 +040080 # -- Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
gio2539d9e2025-05-22 12:19:30 +040081 tag: v5.2.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040082 nodeDriverRegistrar:
gio16bb6382025-05-21 18:42:40 +040083 # -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040084 repository: longhornio/csi-node-driver-registrar
gio16bb6382025-05-21 18:42:40 +040085 # -- Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
gioc9b92b12025-05-22 08:57:18 +040086 tag: v2.13.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040087 resizer:
gio16bb6382025-05-21 18:42:40 +040088 # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040089 repository: longhornio/csi-resizer
gio16bb6382025-05-21 18:42:40 +040090 # -- Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value.
gio2539d9e2025-05-22 12:19:30 +040091 tag: v1.13.2
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040092 snapshotter:
gio16bb6382025-05-21 18:42:40 +040093 # -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040094 repository: longhornio/csi-snapshotter
gio16bb6382025-05-21 18:42:40 +040095 # -- Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
gio2539d9e2025-05-22 12:19:30 +040096 tag: v8.2.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040097 livenessProbe:
gio16bb6382025-05-21 18:42:40 +040098 # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040099 repository: longhornio/livenessprobe
gio16bb6382025-05-21 18:42:40 +0400100 # -- Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
gioc9b92b12025-05-22 08:57:18 +0400101 tag: v2.15.0
gio16bb6382025-05-21 18:42:40 +0400102 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 Lekveishvili725bb392023-05-05 18:24:27 +0400109 pullPolicy: IfNotPresent
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400110service:
111 ui:
gio16bb6382025-05-21 18:42:40 +0400112 # -- Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy")
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400113 type: ClusterIP
gio16bb6382025-05-21 18:42:40 +0400114 # -- NodePort port number for Longhorn UI. When unspecified, Longhorn selects a free port between 30000 and 32767.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400115 nodePort: null
116 manager:
gio16bb6382025-05-21 18:42:40 +0400117 # -- Service type for Longhorn Manager.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400118 type: ClusterIP
gio16bb6382025-05-21 18:42:40 +0400119 # -- NodePort port number for Longhorn Manager. When unspecified, Longhorn selects a free port between 30000 and 32767.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400120 nodePort: ""
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400121persistence:
gio16bb6382025-05-21 18:42:40 +0400122 # -- Setting that allows you to specify the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400123 defaultClass: true
gio16bb6382025-05-21 18:42:40 +0400124 # -- Filesystem type of the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400125 defaultFsType: ext4
gio16bb6382025-05-21 18:42:40 +0400126 # -- mkfs parameters of the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400127 defaultMkfsParams: ""
gio16bb6382025-05-21 18:42:40 +0400128 # -- Replica count of the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400129 defaultClassReplicaCount: 3
gio16bb6382025-05-21 18:42:40 +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 Lekveishvili725bb392023-05-05 18:24:27 +0400133 reclaimPolicy: Delete
giodbf4a852025-06-30 17:09:46 +0400134 # -- VolumeBindingMode controls when volume binding and dynamic provisioning should occur. (Options: "Immediate", "WaitForFirstConsumer") (Defaults to "Immediate")
135 volumeBindingMode: "Immediate"
gio16bb6382025-05-21 18:42:40 +0400136 # -- Setting that allows you to enable live migration of a Longhorn volume from one node to another.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400137 migratable: false
gioc9b92b12025-05-22 08:57:18 +0400138 # -- 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.
139 disableRevisionCounter: "true"
gio16bb6382025-05-21 18:42:40 +0400140 # -- Set NFS mount options for Longhorn StorageClass for RWX volumes
141 nfsOptions: ""
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400142 recurringJobSelector:
gio16bb6382025-05-21 18:42:40 +0400143 # -- Setting that allows you to enable the recurring job selector for a Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400144 enable: false
gio16bb6382025-05-21 18:42:40 +0400145 # -- Recurring job selector for a Longhorn StorageClass. Ensure that quotes are used correctly when specifying job parameters. (Example: `[{"name":"backup", "isGroup":true}]`)
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400146 jobList: []
147 backingImage:
gio16bb6382025-05-21 18:42:40 +0400148 # -- Setting that allows you to use a backing image in a Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400149 enable: false
gio16bb6382025-05-21 18:42:40 +0400150 # -- Backing image to be used for creating and restoring volumes in a Longhorn StorageClass. When no backing images are available, specify the data source type and parameters that Longhorn can use to create a backing image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400151 name: ~
gio16bb6382025-05-21 18:42:40 +0400152 # -- Data source type of a backing image used in a Longhorn StorageClass.
153 # If the backing image exists in the cluster, Longhorn uses this setting to verify the image.
154 # If the backing image does not exist, Longhorn creates one using the specified data source type.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400155 dataSourceType: ~
gio16bb6382025-05-21 18:42:40 +0400156 # -- Data source parameters of a backing image used in a Longhorn StorageClass.
157 # You can specify a JSON string of a map. (Example: `'{\"url\":\"https://backing-image-example.s3-region.amazonaws.com/test-backing-image\"}'`)
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400158 dataSourceParameters: ~
gio16bb6382025-05-21 18:42:40 +0400159 # -- Expected SHA-512 checksum of a backing image used in a Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400160 expectedChecksum: ~
gioc9b92b12025-05-22 08:57:18 +0400161 defaultDiskSelector:
162 # -- Setting that allows you to enable the disk selector for the default Longhorn StorageClass.
163 enable: false
164 # -- Disk selector for the default Longhorn StorageClass. Longhorn uses only disks with the specified tags for storing volume data. (Examples: "nvme,sata")
165 selector: ""
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400166 defaultNodeSelector:
gio16bb6382025-05-21 18:42:40 +0400167 # -- Setting that allows you to enable the node selector for the default Longhorn StorageClass.
168 enable: false
169 # -- Node selector for the default Longhorn StorageClass. Longhorn uses only nodes with the specified tags for storing volume data. (Examples: "storage,fast")
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400170 selector: ""
gio16bb6382025-05-21 18:42:40 +0400171 # -- Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled")
172 removeSnapshotsDuringFilesystemTrim: ignored
gioc9b92b12025-05-22 08:57:18 +0400173 # -- Setting that allows you to specify the data engine version for the default Longhorn StorageClass. (Options: "v1", "v2")
174 dataEngine: v1
gio2539d9e2025-05-22 12:19:30 +0400175 # -- Setting that allows you to specify the backup target for the default Longhorn StorageClass.
176 backupTargetName: default
gio16bb6382025-05-21 18:42:40 +0400177preUpgradeChecker:
178 # -- Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions.
179 jobEnabled: true
180 # -- 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.
181 upgradeVersionCheck: true
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400182csi:
gio16bb6382025-05-21 18:42:40 +0400183 # -- kubelet root directory. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400184 kubeletRootDir: ~
gio16bb6382025-05-21 18:42:40 +0400185 # -- Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400186 attacherReplicaCount: ~
gio16bb6382025-05-21 18:42:40 +0400187 # -- Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400188 provisionerReplicaCount: ~
gio16bb6382025-05-21 18:42:40 +0400189 # -- Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400190 resizerReplicaCount: ~
gio16bb6382025-05-21 18:42:40 +0400191 # -- Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400192 snapshotterReplicaCount: ~
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400193defaultSettings:
gio16bb6382025-05-21 18:42:40 +0400194 # -- Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400195 allowRecurringJobWhileVolumeDetached: ~
gio16bb6382025-05-21 18:42:40 +0400196 # -- Setting that allows Longhorn to automatically create a default disk only on nodes with the label "node.longhorn.io/create-default-disk=true" (if no other disks exist). When this setting is disabled, Longhorn creates a default disk on each node that is added to the cluster.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400197 createDefaultDiskLabeledNodes: ~
gio16bb6382025-05-21 18:42:40 +0400198 # -- Default path for storing data on a host. The default value is "/var/lib/longhorn/".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400199 defaultDataPath: ~
gio16bb6382025-05-21 18:42:40 +0400200 # -- Default data locality. A Longhorn volume has data locality if a local replica of the volume exists on the same node as the pod that is using the volume.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400201 defaultDataLocality: ~
gio16bb6382025-05-21 18:42:40 +0400202 # -- Setting that allows scheduling on nodes with healthy replicas of the same volume. This setting is disabled by default.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400203 replicaSoftAntiAffinity: ~
gio16bb6382025-05-21 18:42:40 +0400204 # -- Setting that automatically rebalances replicas when an available node is discovered.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400205 replicaAutoBalance: ~
gio16bb6382025-05-21 18:42:40 +0400206 # -- Percentage of storage that can be allocated relative to hard drive capacity. The default value is "100".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400207 storageOverProvisioningPercentage: ~
gio16bb6382025-05-21 18:42:40 +0400208 # -- Percentage of minimum available disk capacity. When the minimum available capacity exceeds the total available capacity, the disk becomes unschedulable until more space is made available for use. The default value is "25".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400209 storageMinimalAvailablePercentage: ~
gio16bb6382025-05-21 18:42:40 +0400210 # -- Percentage of disk space that is not allocated to the default disk on each new Longhorn node.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400211 storageReservedPercentageForDefaultDisk: ~
gio16bb6382025-05-21 18:42:40 +0400212 # -- Upgrade Checker that periodically checks for new Longhorn versions. When a new version is available, a notification appears on the Longhorn UI. This setting is enabled by default
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400213 upgradeChecker: ~
gio2539d9e2025-05-22 12:19:30 +0400214 # -- 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.
215 upgradeResponderURL: ~
gio16bb6382025-05-21 18:42:40 +0400216 # -- 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 Lekveishvili725bb392023-05-05 18:24:27 +0400217 defaultReplicaCount: ~
gio2539d9e2025-05-22 12:19:30 +0400218 # -- Default name of Longhorn static StorageClass. "storageClassName" is assigned to PVs and PVCs that are created for an existing Longhorn volume. "storageClassName" can also be used as a label, so it is possible to use a Longhorn StorageClass to bind a workload to an existing PV without creating a Kubernetes StorageClass object. "storageClassName" needs to be an existing StorageClass. The default value is "longhorn-static".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400219 defaultLonghornStaticStorageClass: ~
gio16bb6382025-05-21 18:42:40 +0400220 # -- Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400221 failedBackupTTL: ~
gioc9b92b12025-05-22 08:57:18 +0400222 # -- Number of minutes that Longhorn allows for the backup execution. The default value is "1".
223 backupExecutionTimeout: ~
gio16bb6382025-05-21 18:42:40 +0400224 # -- Setting that restores recurring jobs from a backup volume on a backup target and creates recurring jobs if none exist during backup restoration.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400225 restoreVolumeRecurringJobs: ~
gio16bb6382025-05-21 18:42:40 +0400226 # -- Maximum number of successful recurring backup and snapshot jobs to be retained. When the value is "0", a history of successful recurring jobs is not retained.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400227 recurringSuccessfulJobsHistoryLimit: ~
gio16bb6382025-05-21 18:42:40 +0400228 # -- Maximum number of failed recurring backup and snapshot jobs to be retained. When the value is "0", a history of failed recurring jobs is not retained.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400229 recurringFailedJobsHistoryLimit: ~
gio16bb6382025-05-21 18:42:40 +0400230 # -- Maximum number of snapshots or backups to be retained.
231 recurringJobMaxRetention: ~
232 # -- Maximum number of failed support bundles that can exist in the cluster. When the value is "0", Longhorn automatically purges all failed support bundles.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400233 supportBundleFailedHistoryLimit: ~
gio16bb6382025-05-21 18:42:40 +0400234 # -- Taint or toleration for system-managed Longhorn components.
235 # Specify values using a semicolon-separated list in `kubectl taint` syntax (Example: key1=value1:effect; key2=value2:effect).
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400236 taintToleration: ~
gio16bb6382025-05-21 18:42:40 +0400237 # -- Node selector for system-managed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400238 systemManagedComponentsNodeSelector: ~
gio16bb6382025-05-21 18:42:40 +0400239 # -- PriorityClass for system-managed Longhorn components.
240 # This setting can help prevent Longhorn components from being evicted under Node Pressure.
241 # 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`.
242 priorityClass: &defaultPriorityClassNameRef "longhorn-critical"
243 # -- Setting that allows Longhorn to automatically salvage volumes when all replicas become faulty (for example, when the network connection is interrupted). Longhorn determines which replicas are usable and then uses these replicas for the volume. This setting is enabled by default.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400244 autoSalvage: ~
gio16bb6382025-05-21 18:42:40 +0400245 # -- Setting that allows Longhorn to automatically delete a workload pod that is managed by a controller (for example, daemonset) whenever a Longhorn volume is detached unexpectedly (for example, during Kubernetes upgrades). After deletion, the controller restarts the pod and then Kubernetes handles volume reattachment and remounting.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400246 autoDeletePodWhenVolumeDetachedUnexpectedly: ~
gio16bb6382025-05-21 18:42:40 +0400247 # -- Setting that prevents Longhorn Manager from scheduling replicas on a cordoned Kubernetes node. This setting is enabled by default.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400248 disableSchedulingOnCordonedNode: ~
gio16bb6382025-05-21 18:42:40 +0400249 # -- Setting that allows Longhorn to schedule new replicas of a volume to nodes in the same zone as existing healthy replicas. Nodes that do not belong to any zone are treated as existing in the zone that contains healthy replicas. When identifying zones, Longhorn relies on the label "topology.kubernetes.io/zone=<Zone name of the node>" in the Kubernetes node object.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400250 replicaZoneSoftAntiAffinity: ~
gio16bb6382025-05-21 18:42:40 +0400251 # -- Setting that allows scheduling on disks with existing healthy replicas of the same volume. This setting is enabled by default.
252 replicaDiskSoftAntiAffinity: ~
253 # -- Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400254 nodeDownPodDeletionPolicy: ~
gio16bb6382025-05-21 18:42:40 +0400255 # -- Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400256 nodeDrainPolicy: ~
gio16bb6382025-05-21 18:42:40 +0400257 # -- Setting that allows automatic detaching of manually-attached volumes when a node is cordoned.
258 detachManuallyAttachedVolumesWhenCordoned: ~
259 # -- Number of seconds that Longhorn waits before reusing existing data on a failed replica instead of creating a new replica of a degraded volume.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400260 replicaReplenishmentWaitInterval: ~
gio16bb6382025-05-21 18:42:40 +0400261 # -- Maximum number of replicas that can be concurrently rebuilt on each node.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400262 concurrentReplicaRebuildPerNodeLimit: ~
gio16bb6382025-05-21 18:42:40 +0400263 # -- Maximum number of volumes that can be concurrently restored on each node using a backup. When the value is "0", restoration of volumes using a backup is disabled.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400264 concurrentVolumeBackupRestorePerNodeLimit: ~
gio16bb6382025-05-21 18:42:40 +0400265 # -- 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.
gioc9b92b12025-05-22 08:57:18 +0400266 disableRevisionCounter: "true"
gio16bb6382025-05-21 18:42:40 +0400267 # -- Image pull policy for system-managed pods, such as Instance Manager, engine images, and CSI Driver. Changes to the image pull policy are applied only after the system-managed pods restart.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400268 systemManagedPodsImagePullPolicy: ~
gio16bb6382025-05-21 18:42:40 +0400269 # -- Setting that allows you to create and attach a volume without having all replicas scheduled at the time of creation.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400270 allowVolumeCreationWithDegradedAvailability: ~
gio16bb6382025-05-21 18:42:40 +0400271 # -- Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400272 autoCleanupSystemGeneratedSnapshot: ~
gio16bb6382025-05-21 18:42:40 +0400273 # -- Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job.
274 autoCleanupRecurringJobBackupSnapshot: ~
275 # -- Maximum number of engines that are allowed to concurrently upgrade on each node after Longhorn Manager is upgraded. When the value is "0", Longhorn does not automatically upgrade volume engines to the new default engine image version.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400276 concurrentAutomaticEngineUpgradePerNodeLimit: ~
gio16bb6382025-05-21 18:42:40 +0400277 # -- Number of minutes that Longhorn waits before cleaning up the backing image file when no replicas in the disk are using it.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400278 backingImageCleanupWaitInterval: ~
gio16bb6382025-05-21 18:42:40 +0400279 # -- Number of seconds that Longhorn waits before downloading a backing image file again when the status of all image disk files changes to "failed" or "unknown".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400280 backingImageRecoveryWaitInterval: ~
gio16bb6382025-05-21 18:42:40 +0400281 # -- 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 Lekveishvili285ab622023-11-22 13:50:45 +0400282 guaranteedInstanceManagerCPU: ~
gio16bb6382025-05-21 18:42:40 +0400283 # -- Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400284 kubernetesClusterAutoscalerEnabled: ~
giodbf4a852025-06-30 17:09:46 +0400285 # -- Enables Longhorn to automatically delete orphaned resources and their associated data or processes (e.g., stale replicas). Orphaned resources on failed or unknown nodes are not automatically cleaned up.
286 # You need to specify the resource types to be deleted using a semicolon-separated list (e.g., `replica-data;instance`). Available items are: `replica-data`, `instance`.
287 orphanResourceAutoDeletion: ~
288 # -- Specifies the wait time, in seconds, before Longhorn automatically deletes an orphaned Custom Resource (CR) and its associated resources.
289 # Note that if a user manually deletes an orphaned CR, the deletion occurs immediately and does not respect this grace period.
290 orphanResourceAutoDeletionGracePeriod: ~
gio16bb6382025-05-21 18:42:40 +0400291 # -- Storage network for in-cluster traffic. When unspecified, Longhorn uses the Kubernetes cluster network.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400292 storageNetwork: ~
gio16bb6382025-05-21 18:42:40 +0400293 # -- Flag that prevents accidental uninstallation of Longhorn.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400294 deletingConfirmationFlag: ~
gio16bb6382025-05-21 18:42:40 +0400295 # -- Timeout between the Longhorn Engine and replicas. Specify a value between "8" and "30" seconds. The default value is "8".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400296 engineReplicaTimeout: ~
gio16bb6382025-05-21 18:42:40 +0400297 # -- Setting that allows you to enable and disable snapshot hashing and data integrity checks.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400298 snapshotDataIntegrity: ~
gio16bb6382025-05-21 18:42:40 +0400299 # -- Setting that allows disabling of snapshot hashing after snapshot creation to minimize impact on system performance.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400300 snapshotDataIntegrityImmediateCheckAfterSnapshotCreation: ~
gio16bb6382025-05-21 18:42:40 +0400301 # -- Setting that defines when Longhorn checks the integrity of data in snapshot disk files. You must use the Unix cron expression format.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400302 snapshotDataIntegrityCronjob: ~
gio16bb6382025-05-21 18:42:40 +0400303 # -- Setting that allows Longhorn to automatically mark the latest snapshot and its parent files as removed during a filesystem trim. Longhorn does not remove snapshots containing multiple child files.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400304 removeSnapshotsDuringFilesystemTrim: ~
gio16bb6382025-05-21 18:42:40 +0400305 # -- Setting that allows fast rebuilding of replicas using the checksum of snapshot disk files. Before enabling this setting, you must set the snapshot-data-integrity value to "enable" or "fast-check".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400306 fastReplicaRebuildEnabled: ~
gio16bb6382025-05-21 18:42:40 +0400307 # -- Number of seconds that an HTTP client waits for a response from a File Sync server before considering the connection to have failed.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400308 replicaFileSyncHttpClientTimeout: ~
gioc9b92b12025-05-22 08:57:18 +0400309 # -- Number of seconds that Longhorn allows for the completion of replica rebuilding and snapshot cloning operations.
310 longGRPCTimeOut: ~
gio16bb6382025-05-21 18:42:40 +0400311 # -- Log levels that indicate the type and severity of logs in Longhorn Manager. The default value is "Info". (Options: "Panic", "Fatal", "Error", "Warn", "Info", "Debug", "Trace")
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400312 logLevel: ~
gio16bb6382025-05-21 18:42:40 +0400313 # -- Setting that allows you to specify a backup compression method.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400314 backupCompressionMethod: ~
gio16bb6382025-05-21 18:42:40 +0400315 # -- Maximum number of worker threads that can concurrently run for each backup.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400316 backupConcurrentLimit: ~
gio16bb6382025-05-21 18:42:40 +0400317 # -- Maximum number of worker threads that can concurrently run for each restore operation.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400318 restoreConcurrentLimit: ~
gio16bb6382025-05-21 18:42:40 +0400319 # -- Setting that allows you to enable the V1 Data Engine.
320 v1DataEngine: ~
gio2539d9e2025-05-22 12:19:30 +0400321 # -- Setting that allows you to enable the V2 Data Engine, which is based on the Storage Performance Development Kit (SPDK). The V2 Data Engine is an experimental feature and should not be used in production environments.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400322 v2DataEngine: ~
gio16bb6382025-05-21 18:42:40 +0400323 # -- Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine.
324 v2DataEngineHugepageLimit: ~
gio16bb6382025-05-21 18:42:40 +0400325 # -- 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".
326 v2DataEngineGuaranteedInstanceManagerCPU: ~
gio2539d9e2025-05-22 12:19:30 +0400327 # -- 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".
328 v2DataEngineCPUMask: ~
gio16bb6382025-05-21 18:42:40 +0400329 # -- Setting that allows scheduling of empty node selector volumes to any node.
330 allowEmptyNodeSelectorVolume: ~
331 # -- Setting that allows scheduling of empty disk selector volumes to any disk.
332 allowEmptyDiskSelectorVolume: ~
333 # -- 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.
334 allowCollectingLonghornUsageMetrics: ~
335 # -- Setting that temporarily prevents all attempts to purge volume snapshots.
336 disableSnapshotPurge: ~
337 # -- Maximum snapshot count for a volume. The value should be between 2 to 250
338 snapshotMaxCount: ~
gioc9b92b12025-05-22 08:57:18 +0400339 # -- Setting that allows you to configure the log level of the SPDK target daemon (spdk_tgt) of the V2 Data Engine.
340 v2DataEngineLogLevel: ~
341 # -- Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine.
342 v2DataEngineLogFlags: ~
giodbf4a852025-06-30 17:09:46 +0400343 # -- Setting allows you to enable or disable snapshot hashing and data integrity checking for the V2 Data Engine.
344 v2DataEngineSnapshotDataIntegrity: ~
gioc9b92b12025-05-22 08:57:18 +0400345 # -- Setting that freezes the filesystem on the root partition before a snapshot is created.
346 freezeFilesystemForSnapshot: ~
347 # -- Setting that automatically cleans up the snapshot when the backup is deleted.
348 autoCleanupSnapshotWhenDeleteBackup: ~
giodbf4a852025-06-30 17:09:46 +0400349 # -- Setting that automatically cleans up the snapshot after the on-demand backup is completed.
350 autoCleanupSnapshotAfterOnDemandBackupCompleted: ~
gio2539d9e2025-05-22 12:19:30 +0400351 # -- Setting that allows Longhorn to detect node failure and immediately migrate affected RWX volumes.
gioc9b92b12025-05-22 08:57:18 +0400352 rwxVolumeFastFailover: ~
giodbf4a852025-06-30 17:09:46 +0400353 # -- Enables automatic rebuilding of degraded replicas while the volume is detached. This setting only takes effect if the individual volume setting is set to `ignored` or `enabled`.
354 offlineRelicaRebuilding: ~
gio2539d9e2025-05-22 12:19:30 +0400355# -- Setting that allows you to update the default backupstore.
356defaultBackupStore:
357 # -- Endpoint used to access the default backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE")
358 backupTarget: ~
359 # -- Name of the Kubernetes secret associated with the default backup target.
360 backupTargetCredentialSecret: ~
361 # -- 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.
362 pollInterval: ~
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400363privateRegistry:
gio16bb6382025-05-21 18:42:40 +0400364 # -- Setting that allows you to create a private registry secret.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400365 createSecret: ~
gio16bb6382025-05-21 18:42:40 +0400366 # -- URL of a private registry. When unspecified, Longhorn uses the default system registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400367 registryUrl: ~
gio16bb6382025-05-21 18:42:40 +0400368 # -- User account used for authenticating with a private registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400369 registryUser: ~
gio16bb6382025-05-21 18:42:40 +0400370 # -- Password for authenticating with a private registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400371 registryPasswd: ~
gio16bb6382025-05-21 18:42:40 +0400372 # -- 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 Lekveishvili725bb392023-05-05 18:24:27 +0400373 registrySecret: ~
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400374longhornManager:
375 log:
gio16bb6382025-05-21 18:42:40 +0400376 # -- Format of Longhorn Manager logs. (Options: "plain", "json")
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400377 format: plain
gio16bb6382025-05-21 18:42:40 +0400378 # -- PriorityClass for Longhorn Manager.
379 priorityClass: *defaultPriorityClassNameRef
380 # -- Toleration for Longhorn Manager on nodes allowed to run Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400381 tolerations: []
382 ## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above
383 ## and uncomment this example block
384 # - key: "key"
385 # operator: "Equal"
386 # value: "value"
387 # effect: "NoSchedule"
gio16bb6382025-05-21 18:42:40 +0400388 # -- Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400389 nodeSelector: {}
390 ## If you want to set node selector for Longhorn Manager DaemonSet, delete the `{}` in the line above
391 ## and uncomment this example block
392 # label-key1: "label-value1"
393 # label-key2: "label-value2"
gio16bb6382025-05-21 18:42:40 +0400394 # -- Annotation for the Longhorn Manager service.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400395 serviceAnnotations: {}
396 ## If you want to set annotations for the Longhorn Manager service, delete the `{}` in the line above
397 ## and uncomment this example block
398 # annotation-key1: "annotation-value1"
399 # annotation-key2: "annotation-value2"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400400longhornDriver:
gio16bb6382025-05-21 18:42:40 +0400401 log:
402 # -- Format of longhorn-driver logs. (Options: "plain", "json")
403 format: plain
404 # -- PriorityClass for Longhorn Driver.
405 priorityClass: *defaultPriorityClassNameRef
406 # -- Toleration for Longhorn Driver on nodes allowed to run Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400407 tolerations: []
408 ## If you want to set tolerations for Longhorn Driver Deployer Deployment, delete the `[]` in the line above
409 ## and uncomment this example block
410 # - key: "key"
411 # operator: "Equal"
412 # value: "value"
413 # effect: "NoSchedule"
gio16bb6382025-05-21 18:42:40 +0400414 # -- Node selector for Longhorn Driver. Specify the nodes allowed to run Longhorn Driver.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400415 nodeSelector: {}
416 ## If you want to set node selector for Longhorn Driver Deployer Deployment, delete the `{}` in the line above
417 ## and uncomment this example block
418 # label-key1: "label-value1"
419 # label-key2: "label-value2"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400420longhornUI:
gio16bb6382025-05-21 18:42:40 +0400421 # -- Replica count for Longhorn UI.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400422 replicas: 2
gio16bb6382025-05-21 18:42:40 +0400423 # -- PriorityClass for Longhorn UI.
424 priorityClass: *defaultPriorityClassNameRef
giodbf4a852025-06-30 17:09:46 +0400425 # -- Affinity for Longhorn UI pods. Specify the affinity you want to use for Longhorn UI.
426 affinity:
427 podAntiAffinity:
428 preferredDuringSchedulingIgnoredDuringExecution:
429 - weight: 1
430 podAffinityTerm:
431 labelSelector:
432 matchExpressions:
433 - key: app
434 operator: In
435 values:
436 - longhorn-ui
437 topologyKey: kubernetes.io/hostname
gio16bb6382025-05-21 18:42:40 +0400438 # -- Toleration for Longhorn UI on nodes allowed to run Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400439 tolerations: []
440 ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above
441 ## and uncomment this example block
442 # - key: "key"
443 # operator: "Equal"
444 # value: "value"
445 # effect: "NoSchedule"
gio16bb6382025-05-21 18:42:40 +0400446 # -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400447 nodeSelector: {}
448 ## If you want to set node selector for Longhorn UI Deployment, delete the `{}` in the line above
449 ## and uncomment this example block
450 # label-key1: "label-value1"
451 # label-key2: "label-value2"
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400452ingress:
gio16bb6382025-05-21 18:42:40 +0400453 # -- Setting that allows Longhorn to generate ingress records for the Longhorn UI service.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400454 enabled: false
gio16bb6382025-05-21 18:42:40 +0400455 # -- IngressClass resource that contains ingress configuration, including the name of the Ingress controller.
456 # ingressClassName can replace the kubernetes.io/ingress.class annotation used in earlier Kubernetes releases.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400457 ingressClassName: ~
gio16bb6382025-05-21 18:42:40 +0400458 # -- Hostname of the Layer 7 load balancer.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400459 host: sslip.io
gio16bb6382025-05-21 18:42:40 +0400460 # -- Setting that allows you to enable TLS on ingress records.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400461 tls: false
gio16bb6382025-05-21 18:42:40 +0400462 # -- Setting that allows you to enable secure connections to the Longhorn UI service via port 443.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400463 secureBackends: false
gio16bb6382025-05-21 18:42:40 +0400464 # -- TLS secret that contains the private key and certificate to be used for TLS. This setting applies only when TLS is enabled on ingress records.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400465 tlsSecret: longhorn.local-tls
gio16bb6382025-05-21 18:42:40 +0400466 # -- Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400467 path: /
gioc9b92b12025-05-22 08:57:18 +0400468 # -- Ingress path type. To maintain backward compatibility, the default value is "ImplementationSpecific".
469 pathType: ImplementationSpecific
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400470 ## If you're using kube-lego, you will want to add:
471 ## kubernetes.io/tls-acme: true
472 ##
473 ## For a full list of possible ingress annotations, please see
474 ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md
475 ##
476 ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
gio16bb6382025-05-21 18:42:40 +0400477 # -- Ingress annotations in the form of key-value pairs.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400478 annotations:
479 # kubernetes.io/ingress.class: nginx
480 # kubernetes.io/tls-acme: true
481
gio16bb6382025-05-21 18:42:40 +0400482 # -- Secret that contains a TLS private key and certificate. Use secrets if you want to use your own certificates to secure ingresses.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400483 secrets:
484 ## If you're providing your own certificates, please use this to add the certificates as secrets
485 ## key and certificate should start with -----BEGIN CERTIFICATE----- or
486 ## -----BEGIN RSA PRIVATE KEY-----
487 ##
488 ## name should line up with a tlsSecret set further up
489 ## If you're using kube-lego, this is unneeded, as it will create the secret for you if it is not set
490 ##
491 ## It is also possible to create and manage the certificates outside of this helm chart
492 ## Please see README.md for more information
493 # - name: longhorn.local-tls
494 # key:
495 # certificate:
gio16bb6382025-05-21 18:42:40 +0400496# -- Setting that allows you to enable pod security policies (PSPs) that allow privileged Longhorn pods to start. This setting applies only to clusters running Kubernetes 1.25 and earlier, and with the built-in Pod Security admission controller enabled.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400497enablePSP: false
gio16bb6382025-05-21 18:42:40 +0400498# -- Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400499namespaceOverride: ""
gio16bb6382025-05-21 18:42:40 +0400500# -- Annotation for the Longhorn Manager DaemonSet pods. This setting is optional.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400501annotations: {}
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400502serviceAccount:
gio16bb6382025-05-21 18:42:40 +0400503 # -- Annotations to add to the service account
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400504 annotations: {}
gio16bb6382025-05-21 18:42:40 +0400505metrics:
506 serviceMonitor:
507 # -- Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components.
508 enabled: false
509 # -- Additional labels for the Prometheus ServiceMonitor resource.
510 additionalLabels: {}
511 # -- Annotations for the Prometheus ServiceMonitor resource.
512 annotations: {}
513 # -- Interval at which Prometheus scrapes the metrics from the target.
514 interval: ""
515 # -- Timeout after which Prometheus considers the scrape to be failed.
516 scrapeTimeout: ""
517 # -- Configures the relabeling rules to apply the target’s metadata labels. See the [Prometheus Operator
518 # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for
519 # formatting details.
520 relabelings: []
521 # -- Configures the relabeling rules to apply to the samples before ingestion. See the [Prometheus Operator
522 # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for
523 # formatting details.
524 metricRelabelings: []
gio16bb6382025-05-21 18:42:40 +0400525## openshift settings
526openshift:
527 # -- Setting that allows Longhorn to integrate with OpenShift.
528 enabled: false
529 ui:
530 # -- Route for connections between Longhorn and the OpenShift web console.
531 route: "longhorn-ui"
532 # -- Port for accessing the OpenShift web console.
533 port: 443
534 # -- Port for proxy that provides access to the OpenShift web console.
535 proxy: 8443
gio16bb6382025-05-21 18:42:40 +0400536# -- Setting that allows Longhorn to generate code coverage profiles.
537enableGoCoverDir: false
giodbf4a852025-06-30 17:09:46 +0400538# -- Add extra objects manifests
539extraObjects: []