blob: f6f795c8c34b57892ab9a14fbc576088bea691d7 [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:
17 - 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
29
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040030networkPolicies:
gio16bb6382025-05-21 18:42:40 +040031 # -- Setting that allows you to enable network policies that control access to Longhorn pods.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040032 enabled: false
gio16bb6382025-05-21 18:42:40 +040033 # -- Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1")
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040034 type: "k3s"
35
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040036image:
37 longhorn:
38 engine:
gio16bb6382025-05-21 18:42:40 +040039 # -- Repository for the Longhorn Engine image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040040 repository: longhornio/longhorn-engine
gioc9b92b12025-05-22 08:57:18 +040041 # -- Tag for the Longhorn Engine image.
42 tag: v1.7.3
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040043 manager:
gio16bb6382025-05-21 18:42:40 +040044 # -- Repository for the Longhorn Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040045 repository: longhornio/longhorn-manager
gioc9b92b12025-05-22 08:57:18 +040046 # -- Tag for the Longhorn Manager image.
47 tag: v1.7.3
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040048 ui:
gio16bb6382025-05-21 18:42:40 +040049 # -- Repository for the Longhorn UI image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040050 repository: longhornio/longhorn-ui
gioc9b92b12025-05-22 08:57:18 +040051 # -- Tag for the Longhorn UI image.
52 tag: v1.7.3
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040053 instanceManager:
gio16bb6382025-05-21 18:42:40 +040054 # -- Repository for the Longhorn Instance Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040055 repository: longhornio/longhorn-instance-manager
gioc9b92b12025-05-22 08:57:18 +040056 # -- Tag for the Longhorn Instance Manager image.
57 tag: v1.7.3
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040058 shareManager:
gio16bb6382025-05-21 18:42:40 +040059 # -- Repository for the Longhorn Share Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040060 repository: longhornio/longhorn-share-manager
gioc9b92b12025-05-22 08:57:18 +040061 # -- Tag for the Longhorn Share Manager image.
62 tag: v1.7.3
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040063 backingImageManager:
gio16bb6382025-05-21 18:42:40 +040064 # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040065 repository: longhornio/backing-image-manager
gioc9b92b12025-05-22 08:57:18 +040066 # -- Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
67 tag: v1.7.3
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040068 supportBundleKit:
gio16bb6382025-05-21 18:42:40 +040069 # -- Repository for the Longhorn Support Bundle Manager image.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040070 repository: longhornio/support-bundle-kit
gio16bb6382025-05-21 18:42:40 +040071 # -- Tag for the Longhorn Support Bundle Manager image.
gioc9b92b12025-05-22 08:57:18 +040072 tag: v0.0.51
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040073 csi:
74 attacher:
gio16bb6382025-05-21 18:42:40 +040075 # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040076 repository: longhornio/csi-attacher
gio16bb6382025-05-21 18:42:40 +040077 # -- Tag for the CSI attacher image. When unspecified, Longhorn uses the default value.
gioc9b92b12025-05-22 08:57:18 +040078 tag: v4.8.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040079 provisioner:
gio16bb6382025-05-21 18:42:40 +040080 # -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040081 repository: longhornio/csi-provisioner
gio16bb6382025-05-21 18:42:40 +040082 # -- Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
gioc9b92b12025-05-22 08:57:18 +040083 tag: v4.0.1-20250204
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040084 nodeDriverRegistrar:
gio16bb6382025-05-21 18:42:40 +040085 # -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040086 repository: longhornio/csi-node-driver-registrar
gio16bb6382025-05-21 18:42:40 +040087 # -- Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
gioc9b92b12025-05-22 08:57:18 +040088 tag: v2.13.0
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040089 resizer:
gio16bb6382025-05-21 18:42:40 +040090 # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040091 repository: longhornio/csi-resizer
gio16bb6382025-05-21 18:42:40 +040092 # -- Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value.
gioc9b92b12025-05-22 08:57:18 +040093 tag: v1.13.1
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040094 snapshotter:
gio16bb6382025-05-21 18:42:40 +040095 # -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040096 repository: longhornio/csi-snapshotter
gio16bb6382025-05-21 18:42:40 +040097 # -- Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
gioc9b92b12025-05-22 08:57:18 +040098 tag: v7.0.2-20250204
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040099 livenessProbe:
gio16bb6382025-05-21 18:42:40 +0400100 # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400101 repository: longhornio/livenessprobe
gio16bb6382025-05-21 18:42:40 +0400102 # -- Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
gioc9b92b12025-05-22 08:57:18 +0400103 tag: v2.15.0
gio16bb6382025-05-21 18:42:40 +0400104 openshift:
105 oauthProxy:
106 # -- 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.
107 repository: ""
108 # -- 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.
109 tag: ""
110 # -- 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 +0400111 pullPolicy: IfNotPresent
112
113service:
114 ui:
gio16bb6382025-05-21 18:42:40 +0400115 # -- Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy")
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400116 type: ClusterIP
gio16bb6382025-05-21 18:42:40 +0400117 # -- NodePort port number for Longhorn UI. When unspecified, Longhorn selects a free port between 30000 and 32767.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400118 nodePort: null
119 manager:
gio16bb6382025-05-21 18:42:40 +0400120 # -- Service type for Longhorn Manager.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400121 type: ClusterIP
gio16bb6382025-05-21 18:42:40 +0400122 # -- NodePort port number for Longhorn Manager. When unspecified, Longhorn selects a free port between 30000 and 32767.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400123 nodePort: ""
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400124
125persistence:
gio16bb6382025-05-21 18:42:40 +0400126 # -- Setting that allows you to specify the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400127 defaultClass: true
gio16bb6382025-05-21 18:42:40 +0400128 # -- Filesystem type of the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400129 defaultFsType: ext4
gio16bb6382025-05-21 18:42:40 +0400130 # -- mkfs parameters of the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400131 defaultMkfsParams: ""
gio16bb6382025-05-21 18:42:40 +0400132 # -- Replica count of the default Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400133 defaultClassReplicaCount: 3
gio16bb6382025-05-21 18:42:40 +0400134 # -- Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort")
135 defaultDataLocality: disabled
136 # -- 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 +0400137 reclaimPolicy: Delete
gio16bb6382025-05-21 18:42:40 +0400138 # -- Setting that allows you to enable live migration of a Longhorn volume from one node to another.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400139 migratable: false
gioc9b92b12025-05-22 08:57:18 +0400140 # -- 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.
141 disableRevisionCounter: "true"
gio16bb6382025-05-21 18:42:40 +0400142 # -- Set NFS mount options for Longhorn StorageClass for RWX volumes
143 nfsOptions: ""
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400144 recurringJobSelector:
gio16bb6382025-05-21 18:42:40 +0400145 # -- Setting that allows you to enable the recurring job selector for a Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400146 enable: false
gio16bb6382025-05-21 18:42:40 +0400147 # -- 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 +0400148 jobList: []
149 backingImage:
gio16bb6382025-05-21 18:42:40 +0400150 # -- Setting that allows you to use a backing image in a Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400151 enable: false
gio16bb6382025-05-21 18:42:40 +0400152 # -- 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 +0400153 name: ~
gio16bb6382025-05-21 18:42:40 +0400154 # -- Data source type of a backing image used in a Longhorn StorageClass.
155 # If the backing image exists in the cluster, Longhorn uses this setting to verify the image.
156 # If the backing image does not exist, Longhorn creates one using the specified data source type.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400157 dataSourceType: ~
gio16bb6382025-05-21 18:42:40 +0400158 # -- Data source parameters of a backing image used in a Longhorn StorageClass.
159 # 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 +0400160 dataSourceParameters: ~
gio16bb6382025-05-21 18:42:40 +0400161 # -- Expected SHA-512 checksum of a backing image used in a Longhorn StorageClass.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400162 expectedChecksum: ~
gioc9b92b12025-05-22 08:57:18 +0400163 defaultDiskSelector:
164 # -- Setting that allows you to enable the disk selector for the default Longhorn StorageClass.
165 enable: false
166 # -- Disk selector for the default Longhorn StorageClass. Longhorn uses only disks with the specified tags for storing volume data. (Examples: "nvme,sata")
167 selector: ""
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400168 defaultNodeSelector:
gio16bb6382025-05-21 18:42:40 +0400169 # -- Setting that allows you to enable the node selector for the default Longhorn StorageClass.
170 enable: false
171 # -- 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 +0400172 selector: ""
gio16bb6382025-05-21 18:42:40 +0400173 # -- Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled")
174 removeSnapshotsDuringFilesystemTrim: ignored
gioc9b92b12025-05-22 08:57:18 +0400175 # -- Setting that allows you to specify the data engine version for the default Longhorn StorageClass. (Options: "v1", "v2")
176 dataEngine: v1
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400177
gio16bb6382025-05-21 18:42:40 +0400178preUpgradeChecker:
179 # -- Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions.
180 jobEnabled: true
181 # -- 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.
182 upgradeVersionCheck: true
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400183
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400184csi:
gio16bb6382025-05-21 18:42:40 +0400185 # -- kubelet root directory. When unspecified, Longhorn uses the default value.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400186 kubeletRootDir: ~
gio16bb6382025-05-21 18:42:40 +0400187 # -- Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400188 attacherReplicaCount: ~
gio16bb6382025-05-21 18:42:40 +0400189 # -- Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400190 provisionerReplicaCount: ~
gio16bb6382025-05-21 18:42:40 +0400191 # -- Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400192 resizerReplicaCount: ~
gio16bb6382025-05-21 18:42:40 +0400193 # -- Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3").
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400194 snapshotterReplicaCount: ~
195
196defaultSettings:
gio16bb6382025-05-21 18:42:40 +0400197 # -- Endpoint used to access the backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE")
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400198 backupTarget: ~
gio16bb6382025-05-21 18:42:40 +0400199 # -- Name of the Kubernetes secret associated with the backup target.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400200 backupTargetCredentialSecret: ~
gio16bb6382025-05-21 18:42:40 +0400201 # -- 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 +0400202 allowRecurringJobWhileVolumeDetached: ~
gio16bb6382025-05-21 18:42:40 +0400203 # -- 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 +0400204 createDefaultDiskLabeledNodes: ~
gio16bb6382025-05-21 18:42:40 +0400205 # -- Default path for storing data on a host. The default value is "/var/lib/longhorn/".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400206 defaultDataPath: ~
gio16bb6382025-05-21 18:42:40 +0400207 # -- 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 +0400208 defaultDataLocality: ~
gio16bb6382025-05-21 18:42:40 +0400209 # -- 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 +0400210 replicaSoftAntiAffinity: ~
gio16bb6382025-05-21 18:42:40 +0400211 # -- Setting that automatically rebalances replicas when an available node is discovered.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400212 replicaAutoBalance: ~
gio16bb6382025-05-21 18:42:40 +0400213 # -- Percentage of storage that can be allocated relative to hard drive capacity. The default value is "100".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400214 storageOverProvisioningPercentage: ~
gio16bb6382025-05-21 18:42:40 +0400215 # -- 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 +0400216 storageMinimalAvailablePercentage: ~
gio16bb6382025-05-21 18:42:40 +0400217 # -- Percentage of disk space that is not allocated to the default disk on each new Longhorn node.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400218 storageReservedPercentageForDefaultDisk: ~
gio16bb6382025-05-21 18:42:40 +0400219 # -- 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 +0400220 upgradeChecker: ~
gio16bb6382025-05-21 18:42:40 +0400221 # -- 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 +0400222 defaultReplicaCount: ~
gio16bb6382025-05-21 18:42:40 +0400223 # -- Default Longhorn 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. The default value is "longhorn-static".
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400224 defaultLonghornStaticStorageClass: ~
gio16bb6382025-05-21 18:42:40 +0400225 # -- Number of seconds that Longhorn waits before checking the backupstore for new backups. The default value is "300". When the value is "0", polling is disabled.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400226 backupstorePollInterval: ~
gio16bb6382025-05-21 18:42:40 +0400227 # -- 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 +0400228 failedBackupTTL: ~
gioc9b92b12025-05-22 08:57:18 +0400229 # -- Number of minutes that Longhorn allows for the backup execution. The default value is "1".
230 backupExecutionTimeout: ~
gio16bb6382025-05-21 18:42:40 +0400231 # -- 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 +0400232 restoreVolumeRecurringJobs: ~
gio16bb6382025-05-21 18:42:40 +0400233 # -- 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 +0400234 recurringSuccessfulJobsHistoryLimit: ~
gio16bb6382025-05-21 18:42:40 +0400235 # -- 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 +0400236 recurringFailedJobsHistoryLimit: ~
gio16bb6382025-05-21 18:42:40 +0400237 # -- Maximum number of snapshots or backups to be retained.
238 recurringJobMaxRetention: ~
239 # -- 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 +0400240 supportBundleFailedHistoryLimit: ~
gio16bb6382025-05-21 18:42:40 +0400241 # -- Taint or toleration for system-managed Longhorn components.
242 # 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 +0400243 taintToleration: ~
gio16bb6382025-05-21 18:42:40 +0400244 # -- Node selector for system-managed Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400245 systemManagedComponentsNodeSelector: ~
gio16bb6382025-05-21 18:42:40 +0400246 # -- PriorityClass for system-managed Longhorn components.
247 # This setting can help prevent Longhorn components from being evicted under Node Pressure.
248 # 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`.
249 priorityClass: &defaultPriorityClassNameRef "longhorn-critical"
250 # -- 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 +0400251 autoSalvage: ~
gio16bb6382025-05-21 18:42:40 +0400252 # -- 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 +0400253 autoDeletePodWhenVolumeDetachedUnexpectedly: ~
gio16bb6382025-05-21 18:42:40 +0400254 # -- 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 +0400255 disableSchedulingOnCordonedNode: ~
gio16bb6382025-05-21 18:42:40 +0400256 # -- 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 +0400257 replicaZoneSoftAntiAffinity: ~
gio16bb6382025-05-21 18:42:40 +0400258 # -- Setting that allows scheduling on disks with existing healthy replicas of the same volume. This setting is enabled by default.
259 replicaDiskSoftAntiAffinity: ~
260 # -- 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 +0400261 nodeDownPodDeletionPolicy: ~
gio16bb6382025-05-21 18:42:40 +0400262 # -- 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 +0400263 nodeDrainPolicy: ~
gio16bb6382025-05-21 18:42:40 +0400264 # -- Setting that allows automatic detaching of manually-attached volumes when a node is cordoned.
265 detachManuallyAttachedVolumesWhenCordoned: ~
266 # -- 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 +0400267 replicaReplenishmentWaitInterval: ~
gio16bb6382025-05-21 18:42:40 +0400268 # -- Maximum number of replicas that can be concurrently rebuilt on each node.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400269 concurrentReplicaRebuildPerNodeLimit: ~
gio16bb6382025-05-21 18:42:40 +0400270 # -- 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 +0400271 concurrentVolumeBackupRestorePerNodeLimit: ~
gio16bb6382025-05-21 18:42:40 +0400272 # -- 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 +0400273 disableRevisionCounter: "true"
gio16bb6382025-05-21 18:42:40 +0400274 # -- 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 +0400275 systemManagedPodsImagePullPolicy: ~
gio16bb6382025-05-21 18:42:40 +0400276 # -- 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 +0400277 allowVolumeCreationWithDegradedAvailability: ~
gio16bb6382025-05-21 18:42:40 +0400278 # -- Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400279 autoCleanupSystemGeneratedSnapshot: ~
gio16bb6382025-05-21 18:42:40 +0400280 # -- Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job.
281 autoCleanupRecurringJobBackupSnapshot: ~
282 # -- 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 +0400283 concurrentAutomaticEngineUpgradePerNodeLimit: ~
gio16bb6382025-05-21 18:42:40 +0400284 # -- 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 +0400285 backingImageCleanupWaitInterval: ~
gio16bb6382025-05-21 18:42:40 +0400286 # -- 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 +0400287 backingImageRecoveryWaitInterval: ~
gio16bb6382025-05-21 18:42:40 +0400288 # -- 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 +0400289 guaranteedInstanceManagerCPU: ~
gio16bb6382025-05-21 18:42:40 +0400290 # -- Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400291 kubernetesClusterAutoscalerEnabled: ~
gio16bb6382025-05-21 18:42:40 +0400292 # -- 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 Lekveishvili725bb392023-05-05 18:24:27 +0400293 orphanAutoDeletion: ~
gio16bb6382025-05-21 18:42:40 +0400294 # -- Storage network for in-cluster traffic. When unspecified, Longhorn uses the Kubernetes cluster network.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400295 storageNetwork: ~
gio16bb6382025-05-21 18:42:40 +0400296 # -- Flag that prevents accidental uninstallation of Longhorn.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400297 deletingConfirmationFlag: ~
gio16bb6382025-05-21 18:42:40 +0400298 # -- 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 +0400299 engineReplicaTimeout: ~
gio16bb6382025-05-21 18:42:40 +0400300 # -- Setting that allows you to enable and disable snapshot hashing and data integrity checks.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400301 snapshotDataIntegrity: ~
gio16bb6382025-05-21 18:42:40 +0400302 # -- Setting that allows disabling of snapshot hashing after snapshot creation to minimize impact on system performance.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400303 snapshotDataIntegrityImmediateCheckAfterSnapshotCreation: ~
gio16bb6382025-05-21 18:42:40 +0400304 # -- 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 +0400305 snapshotDataIntegrityCronjob: ~
gio16bb6382025-05-21 18:42:40 +0400306 # -- 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 +0400307 removeSnapshotsDuringFilesystemTrim: ~
gio16bb6382025-05-21 18:42:40 +0400308 # -- 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 +0400309 fastReplicaRebuildEnabled: ~
gio16bb6382025-05-21 18:42:40 +0400310 # -- 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 +0400311 replicaFileSyncHttpClientTimeout: ~
gioc9b92b12025-05-22 08:57:18 +0400312 # -- Number of seconds that Longhorn allows for the completion of replica rebuilding and snapshot cloning operations.
313 longGRPCTimeOut: ~
gio16bb6382025-05-21 18:42:40 +0400314 # -- 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 +0400315 logLevel: ~
gio16bb6382025-05-21 18:42:40 +0400316 # -- Setting that allows you to specify a backup compression method.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400317 backupCompressionMethod: ~
gio16bb6382025-05-21 18:42:40 +0400318 # -- Maximum number of worker threads that can concurrently run for each backup.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400319 backupConcurrentLimit: ~
gio16bb6382025-05-21 18:42:40 +0400320 # -- Maximum number of worker threads that can concurrently run for each restore operation.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400321 restoreConcurrentLimit: ~
gio16bb6382025-05-21 18:42:40 +0400322 # -- Setting that allows you to enable the V1 Data Engine.
323 v1DataEngine: ~
324 # -- 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 a preview feature and should not be used in production environments.
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +0400325 v2DataEngine: ~
gio16bb6382025-05-21 18:42:40 +0400326 # -- Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine.
327 v2DataEngineHugepageLimit: ~
gio16bb6382025-05-21 18:42:40 +0400328 # -- 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".
329 v2DataEngineGuaranteedInstanceManagerCPU: ~
330 # -- Setting that allows scheduling of empty node selector volumes to any node.
331 allowEmptyNodeSelectorVolume: ~
332 # -- Setting that allows scheduling of empty disk selector volumes to any disk.
333 allowEmptyDiskSelectorVolume: ~
334 # -- 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.
335 allowCollectingLonghornUsageMetrics: ~
336 # -- Setting that temporarily prevents all attempts to purge volume snapshots.
337 disableSnapshotPurge: ~
338 # -- Maximum snapshot count for a volume. The value should be between 2 to 250
339 snapshotMaxCount: ~
gioc9b92b12025-05-22 08:57:18 +0400340 # -- Setting that allows you to configure the log level of the SPDK target daemon (spdk_tgt) of the V2 Data Engine.
341 v2DataEngineLogLevel: ~
342 # -- Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine.
343 v2DataEngineLogFlags: ~
344 # -- Setting that freezes the filesystem on the root partition before a snapshot is created.
345 freezeFilesystemForSnapshot: ~
346 # -- Setting that automatically cleans up the snapshot when the backup is deleted.
347 autoCleanupSnapshotWhenDeleteBackup: ~
348 # -- Turn on logic to detect and move RWX volumes quickly on node failure.
349 rwxVolumeFastFailover: ~
gio16bb6382025-05-21 18:42:40 +0400350
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400351privateRegistry:
gio16bb6382025-05-21 18:42:40 +0400352 # -- Setting that allows you to create a private registry secret.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400353 createSecret: ~
gio16bb6382025-05-21 18:42:40 +0400354 # -- URL of a private registry. When unspecified, Longhorn uses the default system registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400355 registryUrl: ~
gio16bb6382025-05-21 18:42:40 +0400356 # -- User account used for authenticating with a private registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400357 registryUser: ~
gio16bb6382025-05-21 18:42:40 +0400358 # -- Password for authenticating with a private registry.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400359 registryPasswd: ~
gio16bb6382025-05-21 18:42:40 +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 Lekveishvili725bb392023-05-05 18:24:27 +0400361 registrySecret: ~
362
363longhornManager:
364 log:
gio16bb6382025-05-21 18:42:40 +0400365 # -- Format of Longhorn Manager logs. (Options: "plain", "json")
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400366 format: plain
gio16bb6382025-05-21 18:42:40 +0400367 # -- PriorityClass for Longhorn Manager.
368 priorityClass: *defaultPriorityClassNameRef
369 # -- Toleration for Longhorn Manager on nodes allowed to run Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400370 tolerations: []
371 ## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above
372 ## and uncomment this example block
373 # - key: "key"
374 # operator: "Equal"
375 # value: "value"
376 # effect: "NoSchedule"
gio16bb6382025-05-21 18:42:40 +0400377 # -- Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400378 nodeSelector: {}
379 ## If you want to set node selector for Longhorn Manager DaemonSet, delete the `{}` in the line above
380 ## and uncomment this example block
381 # label-key1: "label-value1"
382 # label-key2: "label-value2"
gio16bb6382025-05-21 18:42:40 +0400383 # -- Annotation for the Longhorn Manager service.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400384 serviceAnnotations: {}
385 ## If you want to set annotations for the Longhorn Manager service, delete the `{}` in the line above
386 ## and uncomment this example block
387 # annotation-key1: "annotation-value1"
388 # annotation-key2: "annotation-value2"
389
390longhornDriver:
gio16bb6382025-05-21 18:42:40 +0400391 log:
392 # -- Format of longhorn-driver logs. (Options: "plain", "json")
393 format: plain
394 # -- PriorityClass for Longhorn Driver.
395 priorityClass: *defaultPriorityClassNameRef
396 # -- Toleration for Longhorn Driver on nodes allowed to run Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400397 tolerations: []
398 ## If you want to set tolerations for Longhorn Driver Deployer Deployment, delete the `[]` in the line above
399 ## and uncomment this example block
400 # - key: "key"
401 # operator: "Equal"
402 # value: "value"
403 # effect: "NoSchedule"
gio16bb6382025-05-21 18:42:40 +0400404 # -- Node selector for Longhorn Driver. Specify the nodes allowed to run Longhorn Driver.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400405 nodeSelector: {}
406 ## If you want to set node selector for Longhorn Driver Deployer Deployment, delete the `{}` in the line above
407 ## and uncomment this example block
408 # label-key1: "label-value1"
409 # label-key2: "label-value2"
410
411longhornUI:
gio16bb6382025-05-21 18:42:40 +0400412 # -- Replica count for Longhorn UI.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400413 replicas: 2
gio16bb6382025-05-21 18:42:40 +0400414 # -- PriorityClass for Longhorn UI.
415 priorityClass: *defaultPriorityClassNameRef
416 # -- Toleration for Longhorn UI on nodes allowed to run Longhorn components.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400417 tolerations: []
418 ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above
419 ## and uncomment this example block
420 # - key: "key"
421 # operator: "Equal"
422 # value: "value"
423 # effect: "NoSchedule"
gio16bb6382025-05-21 18:42:40 +0400424 # -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400425 nodeSelector: {}
426 ## If you want to set node selector for Longhorn UI Deployment, delete the `{}` in the line above
427 ## and uncomment this example block
428 # label-key1: "label-value1"
429 # label-key2: "label-value2"
430
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400431ingress:
gio16bb6382025-05-21 18:42:40 +0400432 # -- Setting that allows Longhorn to generate ingress records for the Longhorn UI service.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400433 enabled: false
434
gio16bb6382025-05-21 18:42:40 +0400435 # -- IngressClass resource that contains ingress configuration, including the name of the Ingress controller.
436 # ingressClassName can replace the kubernetes.io/ingress.class annotation used in earlier Kubernetes releases.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400437 ingressClassName: ~
438
gio16bb6382025-05-21 18:42:40 +0400439 # -- Hostname of the Layer 7 load balancer.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400440 host: sslip.io
441
gio16bb6382025-05-21 18:42:40 +0400442 # -- Setting that allows you to enable TLS on ingress records.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400443 tls: false
444
gio16bb6382025-05-21 18:42:40 +0400445 # -- Setting that allows you to enable secure connections to the Longhorn UI service via port 443.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400446 secureBackends: false
447
gio16bb6382025-05-21 18:42:40 +0400448 # -- 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 +0400449 tlsSecret: longhorn.local-tls
450
gio16bb6382025-05-21 18:42:40 +0400451 # -- Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400452 path: /
453
gioc9b92b12025-05-22 08:57:18 +0400454 # -- Ingress path type. To maintain backward compatibility, the default value is "ImplementationSpecific".
455 pathType: ImplementationSpecific
456
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400457 ## If you're using kube-lego, you will want to add:
458 ## kubernetes.io/tls-acme: true
459 ##
460 ## For a full list of possible ingress annotations, please see
461 ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md
462 ##
463 ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
gio16bb6382025-05-21 18:42:40 +0400464 # -- Ingress annotations in the form of key-value pairs.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400465 annotations:
466 # kubernetes.io/ingress.class: nginx
467 # kubernetes.io/tls-acme: true
468
gio16bb6382025-05-21 18:42:40 +0400469 # -- 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 +0400470 secrets:
471 ## If you're providing your own certificates, please use this to add the certificates as secrets
472 ## key and certificate should start with -----BEGIN CERTIFICATE----- or
473 ## -----BEGIN RSA PRIVATE KEY-----
474 ##
475 ## name should line up with a tlsSecret set further up
476 ## If you're using kube-lego, this is unneeded, as it will create the secret for you if it is not set
477 ##
478 ## It is also possible to create and manage the certificates outside of this helm chart
479 ## Please see README.md for more information
480 # - name: longhorn.local-tls
481 # key:
482 # certificate:
483
gio16bb6382025-05-21 18:42:40 +0400484# -- 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 +0400485enablePSP: false
486
gio16bb6382025-05-21 18:42:40 +0400487# -- 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 +0400488namespaceOverride: ""
489
gio16bb6382025-05-21 18:42:40 +0400490# -- Annotation for the Longhorn Manager DaemonSet pods. This setting is optional.
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400491annotations: {}
492
493serviceAccount:
gio16bb6382025-05-21 18:42:40 +0400494 # -- Annotations to add to the service account
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +0400495 annotations: {}
gio16bb6382025-05-21 18:42:40 +0400496
497metrics:
498 serviceMonitor:
499 # -- Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components.
500 enabled: false
501 # -- Additional labels for the Prometheus ServiceMonitor resource.
502 additionalLabels: {}
503 # -- Annotations for the Prometheus ServiceMonitor resource.
504 annotations: {}
505 # -- Interval at which Prometheus scrapes the metrics from the target.
506 interval: ""
507 # -- Timeout after which Prometheus considers the scrape to be failed.
508 scrapeTimeout: ""
509 # -- Configures the relabeling rules to apply the target’s metadata labels. See the [Prometheus Operator
510 # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for
511 # formatting details.
512 relabelings: []
513 # -- Configures the relabeling rules to apply to the samples before ingestion. See the [Prometheus Operator
514 # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for
515 # formatting details.
516 metricRelabelings: []
517
518## openshift settings
519openshift:
520 # -- Setting that allows Longhorn to integrate with OpenShift.
521 enabled: false
522 ui:
523 # -- Route for connections between Longhorn and the OpenShift web console.
524 route: "longhorn-ui"
525 # -- Port for accessing the OpenShift web console.
526 port: 443
527 # -- Port for proxy that provides access to the OpenShift web console.
528 proxy: 8443
529
530# -- Setting that allows Longhorn to generate code coverage profiles.
531enableGoCoverDir: false