Compare commits

...

15 Commits

Author SHA1 Message Date
David Ko 62263e684b release: v1.9.0
Signed-off-by: David Ko <dko@suse.com>
2025-05-27 11:52:52 +09:00
David Ko 418e0e6b79 release: v1.9.0-rc4
Signed-off-by: David Ko <dko@suse.com>
2025-05-26 13:11:33 +09:00
David Ko b491dc9651 release: v1.9.0-rc3
Signed-off-by: David Ko <dko@suse.com>
2025-05-20 15:43:18 +09:00
David Ko 3aaf7ca369 release: v1.9.0-rc2
Signed-off-by: David Ko <dko@suse.com>
2025-05-07 17:40:11 +09:00
David Ko 6ee9e8aa82 release: v1.9.0-rc1
Signed-off-by: David Ko <dko@suse.com>
2025-04-28 14:47:33 +09:00
David Ko ce30e9f5e8 release: v1.8.1
Signed-off-by: David Ko <dko@suse.com>
2025-03-05 12:36:39 +08:00
David Ko 911b638562 release: v1.8.1-rc3
Signed-off-by: David Ko <dko@suse.com>
2025-03-04 12:03:16 +08:00
David Ko 28daa57728 release: v1.8.1-rc2
Signed-off-by: David Ko <dko@suse.com>
2025-02-26 16:59:58 +08:00
David Ko 34237ddeef release: v1.8.1-rc1
Signed-off-by: David Ko <dko@suse.com>
2025-02-19 19:25:43 +08:00
David Ko 7ad73690b7 release: v1.8.0
Signed-off-by: David Ko <dko@suse.com>
2025-01-22 09:47:49 +08:00
David Ko c112ff0b8b release: v1.8.0-rc5
Signed-off-by: David Ko <dko@suse.com>
2025-01-20 15:35:09 +08:00
David Ko f8dde69c24 release: v1.8.0-rc4
Signed-off-by: David Ko <dko@suse.com>
2025-01-17 10:15:36 +08:00
David Ko d5f9fd86ab release: v1.8.0-rc3
Signed-off-by: David Ko <dko@suse.com>
2025-01-13 15:27:40 +08:00
David Ko 8b3be40310 release: v1.8.0-rc2
Signed-off-by: David Ko <dko@suse.com>
2024-12-30 08:18:21 +08:00
David Ko 7b7c2b0417 release: v1.8.0-rc1
Signed-off-by: David Ko <dko@suse.com>
2024-12-19 15:39:40 +08:00
15 changed files with 1615 additions and 1163 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v1 apiVersion: v1
name: longhorn name: longhorn
version: 1.7.0 version: 1.9.0
appVersion: v1.7.0 appVersion: v1.9.0
kubeVersion: ">=1.21.0-0" kubeVersion: ">=1.25.0-0"
description: Longhorn is a distributed block storage system for Kubernetes. description: Longhorn is a distributed block storage system for Kubernetes.
keywords: keywords:
- longhorn - longhorn

View File

@ -20,7 +20,7 @@ Longhorn is 100% open source software. Project source code is spread across a nu
## Prerequisites ## Prerequisites
1. A container runtime compatible with Kubernetes (Docker v1.13+, containerd v1.3.7+, etc.) 1. A container runtime compatible with Kubernetes (Docker v1.13+, containerd v1.3.7+, etc.)
2. Kubernetes >= v1.21 2. Kubernetes >= v1.25
3. Make sure `bash`, `curl`, `findmnt`, `grep`, `awk` and `blkid` has been installed in all nodes of the Kubernetes cluster. 3. Make sure `bash`, `curl`, `findmnt`, `grep`, `awk` and `blkid` has been installed in all nodes of the Kubernetes cluster.
4. Make sure `open-iscsi` has been installed, and the `iscsid` daemon is running on all nodes of the Kubernetes cluster. For GKE, recommended Ubuntu as guest OS image since it contains `open-iscsi` already. 4. Make sure `open-iscsi` has been installed, and the `iscsid` daemon is running on all nodes of the Kubernetes cluster. For GKE, recommended Ubuntu as guest OS image since it contains `open-iscsi` already.
@ -94,33 +94,33 @@ The `values.yaml` contains items used to tweak a deployment of this chart.
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| image.csi.attacher.repository | string | `"longhornio/csi-attacher"` | Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.attacher.repository | string | `"longhornio/csi-attacher"` | Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. |
| image.csi.attacher.tag | string | `"v4.6.1"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.attacher.tag | string | `"v4.8.1"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. |
| image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. |
| image.csi.livenessProbe.tag | string | `"v2.13.1"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.tag | string | `"v2.15.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. |
| image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. |
| image.csi.nodeDriverRegistrar.tag | string | `"v2.11.1"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.tag | string | `"v2.13.0"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. |
| image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. |
| image.csi.provisioner.tag | string | `"v4.0.1"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.tag | string | `"v5.2.0"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. |
| image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. | | image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. |
| image.csi.resizer.tag | string | `"v1.11.1"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. | | image.csi.resizer.tag | string | `"v1.13.2"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. |
| image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. |
| image.csi.snapshotter.tag | string | `"v7.0.2"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.tag | string | `"v8.2.0"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. |
| image.longhorn.backingImageManager.repository | string | `"longhornio/backing-image-manager"` | Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | | image.longhorn.backingImageManager.repository | string | `"longhornio/backing-image-manager"` | Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. |
| image.longhorn.backingImageManager.tag | string | `"master-head"` | Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | | image.longhorn.backingImageManager.tag | string | `"v1.9.0"` | Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value. |
| image.longhorn.engine.repository | string | `"longhornio/longhorn-engine"` | Repository for the Longhorn Engine image. | | image.longhorn.engine.repository | string | `"longhornio/longhorn-engine"` | Repository for the Longhorn Engine image. |
| image.longhorn.engine.tag | string | `"master-head"` | Tag for the Longhorn Engine image. | | image.longhorn.engine.tag | string | `"v1.9.0"` | Tag for the Longhorn Engine image. |
| image.longhorn.instanceManager.repository | string | `"longhornio/longhorn-instance-manager"` | Repository for the Longhorn Instance Manager image. | | image.longhorn.instanceManager.repository | string | `"longhornio/longhorn-instance-manager"` | Repository for the Longhorn Instance Manager image. |
| image.longhorn.instanceManager.tag | string | `"master-head"` | Tag for the Longhorn Instance Manager image. | | image.longhorn.instanceManager.tag | string | `"v1.9.0"` | Tag for the Longhorn Instance Manager image. |
| image.longhorn.manager.repository | string | `"longhornio/longhorn-manager"` | Repository for the Longhorn Manager image. | | image.longhorn.manager.repository | string | `"longhornio/longhorn-manager"` | Repository for the Longhorn Manager image. |
| image.longhorn.manager.tag | string | `"master-head"` | Tag for the Longhorn Manager image. | | image.longhorn.manager.tag | string | `"v1.9.0"` | Tag for the Longhorn Manager image. |
| image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. |
| image.longhorn.shareManager.tag | string | `"master-head"` | Tag for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"v1.9.0"` | Tag for the Longhorn Share Manager image. |
| image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. |
| image.longhorn.supportBundleKit.tag | string | `"v0.0.41"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.supportBundleKit.tag | string | `"v0.0.55"` | Tag for the Longhorn Support Bundle Manager image. |
| image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. |
| image.longhorn.ui.tag | string | `"master-head"` | Tag for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.9.0"` | Tag for the Longhorn UI image. |
| image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | | image.openshift.oauthProxy.repository | string | `""` | 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. |
| image.openshift.oauthProxy.tag | float | `4.15` | Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.15. | | image.openshift.oauthProxy.tag | string | `""` | 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. |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. | | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. |
### Service Settings ### Service Settings
@ -141,6 +141,8 @@ The `values.yaml` contains items used to tweak a deployment of this chart.
| persistence.backingImage.enable | bool | `false` | Setting that allows you to use a backing image in a Longhorn StorageClass. | | persistence.backingImage.enable | bool | `false` | Setting that allows you to use a backing image in a Longhorn StorageClass. |
| persistence.backingImage.expectedChecksum | string | `nil` | Expected SHA-512 checksum of a backing image used in a Longhorn StorageClass. | | persistence.backingImage.expectedChecksum | string | `nil` | Expected SHA-512 checksum of a backing image used in a Longhorn StorageClass. |
| persistence.backingImage.name | string | `nil` | 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. | | persistence.backingImage.name | string | `nil` | 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. |
| persistence.backupTargetName | string | `"default"` | Setting that allows you to specify the backup target for the default Longhorn StorageClass. |
| persistence.dataEngine | string | `"v1"` | Setting that allows you to specify the data engine version for the default Longhorn StorageClass. (Options: "v1", "v2") |
| persistence.defaultClass | bool | `true` | Setting that allows you to specify the default Longhorn StorageClass. | | persistence.defaultClass | bool | `true` | Setting that allows you to specify the default Longhorn StorageClass. |
| persistence.defaultClassReplicaCount | int | `3` | Replica count of the default Longhorn StorageClass. | | persistence.defaultClassReplicaCount | int | `3` | Replica count of the default Longhorn StorageClass. |
| persistence.defaultDataLocality | string | `"disabled"` | Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort") | | persistence.defaultDataLocality | string | `"disabled"` | Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort") |
@ -157,6 +159,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart.
| persistence.recurringJobSelector.enable | bool | `false` | Setting that allows you to enable the recurring job selector for a Longhorn StorageClass. | | persistence.recurringJobSelector.enable | bool | `false` | Setting that allows you to enable the recurring job selector for a Longhorn StorageClass. |
| persistence.recurringJobSelector.jobList | list | `[]` | Recurring job selector for a Longhorn StorageClass. Ensure that quotes are used correctly when specifying job parameters. (Example: `[{"name":"backup", "isGroup":true}]`) | | persistence.recurringJobSelector.jobList | list | `[]` | Recurring job selector for a Longhorn StorageClass. Ensure that quotes are used correctly when specifying job parameters. (Example: `[{"name":"backup", "isGroup":true}]`) |
| persistence.removeSnapshotsDuringFilesystemTrim | string | `"ignored"` | Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled") | | persistence.removeSnapshotsDuringFilesystemTrim | string | `"ignored"` | Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled") |
| persistence.volumeBindingMode | string | `"Immediate"` | VolumeBindingMode controls when volume binding and dynamic provisioning should occur. (Options: "Immediate", "WaitForFirstConsumer") (Defaults to "Immediate") |
### CSI Settings ### CSI Settings
@ -186,6 +189,7 @@ Longhorn consists of user-deployed components (for example, Longhorn Manager, Lo
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| longhornDriver.log.format | string | `"plain"` | Format of longhorn-driver logs. (Options: "plain", "json") |
| longhornDriver.nodeSelector | object | `{}` | Node selector for Longhorn Driver. Specify the nodes allowed to run Longhorn Driver. | | longhornDriver.nodeSelector | object | `{}` | Node selector for Longhorn Driver. Specify the nodes allowed to run Longhorn Driver. |
| longhornDriver.priorityClass | string | `"longhorn-critical"` | PriorityClass for Longhorn Driver. | | longhornDriver.priorityClass | string | `"longhorn-critical"` | PriorityClass for Longhorn Driver. |
| longhornDriver.tolerations | list | `[]` | Toleration for Longhorn Driver on nodes allowed to run Longhorn components. | | longhornDriver.tolerations | list | `[]` | Toleration for Longhorn Driver on nodes allowed to run Longhorn components. |
@ -196,6 +200,7 @@ Longhorn consists of user-deployed components (for example, Longhorn Manager, Lo
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| longhornUI.affinity | object | `{"podAntiAffinity":{"preferredDuringSchedulingIgnoredDuringExecution":[{"podAffinityTerm":{"labelSelector":{"matchExpressions":[{"key":"app","operator":"In","values":["longhorn-ui"]}]},"topologyKey":"kubernetes.io/hostname"},"weight":1}]}}` | Affinity for Longhorn UI pods. Specify the affinity you want to use for Longhorn UI. |
| longhornUI.nodeSelector | object | `{}` | Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI. | | longhornUI.nodeSelector | object | `{}` | Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI. |
| longhornUI.priorityClass | string | `"longhorn-critical"` | PriorityClass for Longhorn UI. | | longhornUI.priorityClass | string | `"longhorn-critical"` | PriorityClass for Longhorn UI. |
| longhornUI.replicas | int | `2` | Replica count for Longhorn UI. | | longhornUI.replicas | int | `2` | Replica count for Longhorn UI. |
@ -258,8 +263,13 @@ For more details, see the [ocp-readme](https://github.com/longhorn/longhorn/blob
| Key | Default | Description | | Key | Default | Description |
|-----|---------|-------------| |-----|---------|-------------|
| annotations | `{}` | Annotation for the Longhorn Manager DaemonSet pods. This setting is optional. | | annotations | `{}` | Annotation for the Longhorn Manager DaemonSet pods. This setting is optional. |
| defaultBackupStore | `{"backupTarget":null,"backupTargetCredentialSecret":null,"pollInterval":null}` | Setting that allows you to update the default backupstore. |
| defaultBackupStore.backupTarget | `nil` | Endpoint used to access the default backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE") |
| defaultBackupStore.backupTargetCredentialSecret | `nil` | Name of the Kubernetes secret associated with the default backup target. |
| defaultBackupStore.pollInterval | `nil` | 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. |
| enableGoCoverDir | `false` | Setting that allows Longhorn to generate code coverage profiles. | | enableGoCoverDir | `false` | Setting that allows Longhorn to generate code coverage profiles. |
| enablePSP | `false` | 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. | | enablePSP | `false` | 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. |
| extraObjects | `[]` | Add extra objects manifests |
| namespaceOverride | `""` | Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`. | | namespaceOverride | `""` | Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`. |
| preUpgradeChecker.jobEnabled | `true` | Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. | | preUpgradeChecker.jobEnabled | `true` | Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. |
| preUpgradeChecker.upgradeVersionCheck | `true` | 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. | | preUpgradeChecker.upgradeVersionCheck | `true` | 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. |
@ -276,6 +286,7 @@ During installation, you can either allow Longhorn to use the default system set
| defaultSettings.allowRecurringJobWhileVolumeDetached | Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run. | | defaultSettings.allowRecurringJobWhileVolumeDetached | Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run. |
| defaultSettings.allowVolumeCreationWithDegradedAvailability | Setting that allows you to create and attach a volume without having all replicas scheduled at the time of creation. | | defaultSettings.allowVolumeCreationWithDegradedAvailability | Setting that allows you to create and attach a volume without having all replicas scheduled at the time of creation. |
| defaultSettings.autoCleanupRecurringJobBackupSnapshot | Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job. | | defaultSettings.autoCleanupRecurringJobBackupSnapshot | Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job. |
| defaultSettings.autoCleanupSnapshotAfterOnDemandBackupCompleted | Setting that automatically cleans up the snapshot after the on-demand backup is completed. |
| defaultSettings.autoCleanupSnapshotWhenDeleteBackup | Setting that automatically cleans up the snapshot when the backup is deleted. | | defaultSettings.autoCleanupSnapshotWhenDeleteBackup | Setting that automatically cleans up the snapshot when the backup is deleted. |
| defaultSettings.autoCleanupSystemGeneratedSnapshot | Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed. | | defaultSettings.autoCleanupSystemGeneratedSnapshot | Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed. |
| defaultSettings.autoDeletePodWhenVolumeDetachedUnexpectedly | 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. | | defaultSettings.autoDeletePodWhenVolumeDetachedUnexpectedly | 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. |
@ -284,23 +295,20 @@ During installation, you can either allow Longhorn to use the default system set
| defaultSettings.backingImageRecoveryWaitInterval | 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". | | defaultSettings.backingImageRecoveryWaitInterval | 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". |
| defaultSettings.backupCompressionMethod | Setting that allows you to specify a backup compression method. | | defaultSettings.backupCompressionMethod | Setting that allows you to specify a backup compression method. |
| defaultSettings.backupConcurrentLimit | Maximum number of worker threads that can concurrently run for each backup. | | defaultSettings.backupConcurrentLimit | Maximum number of worker threads that can concurrently run for each backup. |
| defaultSettings.backupTarget | Endpoint used to access the backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE") | | defaultSettings.backupExecutionTimeout | Number of minutes that Longhorn allows for the backup execution. The default value is "1". |
| defaultSettings.backupTargetCredentialSecret | Name of the Kubernetes secret associated with the backup target. |
| defaultSettings.backupstorePollInterval | 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. |
| defaultSettings.concurrentAutomaticEngineUpgradePerNodeLimit | 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. | | defaultSettings.concurrentAutomaticEngineUpgradePerNodeLimit | 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. |
| defaultSettings.concurrentReplicaRebuildPerNodeLimit | Maximum number of replicas that can be concurrently rebuilt on each node. | | defaultSettings.concurrentReplicaRebuildPerNodeLimit | Maximum number of replicas that can be concurrently rebuilt on each node. |
| defaultSettings.concurrentVolumeBackupRestorePerNodeLimit | 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. | | defaultSettings.concurrentVolumeBackupRestorePerNodeLimit | 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. |
| defaultSettings.createDefaultDiskLabeledNodes | 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. | | defaultSettings.createDefaultDiskLabeledNodes | 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. |
| defaultSettings.defaultDataLocality | 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. | | defaultSettings.defaultDataLocality | 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. |
| defaultSettings.defaultDataPath | Default path for storing data on a host. The default value is "/var/lib/longhorn/". | | defaultSettings.defaultDataPath | Default path for storing data on a host. The default value is "/var/lib/longhorn/". |
| defaultSettings.defaultLonghornStaticStorageClass | 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". | | defaultSettings.defaultLonghornStaticStorageClass | 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". |
| defaultSettings.defaultReplicaCount | 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". | | defaultSettings.defaultReplicaCount | 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". |
| defaultSettings.deletingConfirmationFlag | Flag that prevents accidental uninstallation of Longhorn. | | defaultSettings.deletingConfirmationFlag | Flag that prevents accidental uninstallation of Longhorn. |
| defaultSettings.detachManuallyAttachedVolumesWhenCordoned | Setting that allows automatic detaching of manually-attached volumes when a node is cordoned. | | defaultSettings.detachManuallyAttachedVolumesWhenCordoned | Setting that allows automatic detaching of manually-attached volumes when a node is cordoned. |
| defaultSettings.disableRevisionCounter | 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. | | defaultSettings.disableRevisionCounter | 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. |
| defaultSettings.disableSchedulingOnCordonedNode | Setting that prevents Longhorn Manager from scheduling replicas on a cordoned Kubernetes node. This setting is enabled by default. | | defaultSettings.disableSchedulingOnCordonedNode | Setting that prevents Longhorn Manager from scheduling replicas on a cordoned Kubernetes node. This setting is enabled by default. |
| defaultSettings.disableSnapshotPurge | Setting that temporarily prevents all attempts to purge volume snapshots. | | defaultSettings.disableSnapshotPurge | Setting that temporarily prevents all attempts to purge volume snapshots. |
| defaultSettings.rwxVolumeFastFailover | Turn on logic to detect and move RWX volumes quickly on node failure. |
| defaultSettings.engineReplicaTimeout | Timeout between the Longhorn Engine and replicas. Specify a value between "8" and "30" seconds. The default value is "8". | | defaultSettings.engineReplicaTimeout | Timeout between the Longhorn Engine and replicas. Specify a value between "8" and "30" seconds. The default value is "8". |
| defaultSettings.failedBackupTTL | Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled. | | defaultSettings.failedBackupTTL | Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled. |
| defaultSettings.fastReplicaRebuildEnabled | 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". | | defaultSettings.fastReplicaRebuildEnabled | 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". |
@ -311,7 +319,9 @@ During installation, you can either allow Longhorn to use the default system set
| defaultSettings.longGRPCTimeOut | Number of seconds that Longhorn allows for the completion of replica rebuilding and snapshot cloning operations. | | defaultSettings.longGRPCTimeOut | Number of seconds that Longhorn allows for the completion of replica rebuilding and snapshot cloning operations. |
| defaultSettings.nodeDownPodDeletionPolicy | Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed. | | defaultSettings.nodeDownPodDeletionPolicy | Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed. |
| defaultSettings.nodeDrainPolicy | Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained. | | defaultSettings.nodeDrainPolicy | Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained. |
| defaultSettings.orphanAutoDeletion | 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. | | defaultSettings.offlineRelicaRebuilding | 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`. |
| defaultSettings.orphanResourceAutoDeletion | 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. 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`. |
| defaultSettings.orphanResourceAutoDeletionGracePeriod | Specifies the wait time, in seconds, before Longhorn automatically deletes an orphaned Custom Resource (CR) and its associated resources. Note that if a user manually deletes an orphaned CR, the deletion occurs immediately and does not respect this grace period. |
| defaultSettings.priorityClass | PriorityClass for system-managed Longhorn components. This setting can help prevent Longhorn components from being evicted under Node Pressure. 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`. | | defaultSettings.priorityClass | PriorityClass for system-managed Longhorn components. This setting can help prevent Longhorn components from being evicted under Node Pressure. 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`. |
| defaultSettings.recurringFailedJobsHistoryLimit | 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. | | defaultSettings.recurringFailedJobsHistoryLimit | 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. |
| defaultSettings.recurringJobMaxRetention | Maximum number of snapshots or backups to be retained. | | defaultSettings.recurringJobMaxRetention | Maximum number of snapshots or backups to be retained. |
@ -325,6 +335,7 @@ During installation, you can either allow Longhorn to use the default system set
| defaultSettings.replicaZoneSoftAntiAffinity | 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. | | defaultSettings.replicaZoneSoftAntiAffinity | 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. |
| defaultSettings.restoreConcurrentLimit | Maximum number of worker threads that can concurrently run for each restore operation. | | defaultSettings.restoreConcurrentLimit | Maximum number of worker threads that can concurrently run for each restore operation. |
| defaultSettings.restoreVolumeRecurringJobs | Setting that restores recurring jobs from a backup volume on a backup target and creates recurring jobs if none exist during backup restoration. | | defaultSettings.restoreVolumeRecurringJobs | Setting that restores recurring jobs from a backup volume on a backup target and creates recurring jobs if none exist during backup restoration. |
| defaultSettings.rwxVolumeFastFailover | Setting that allows Longhorn to detect node failure and immediately migrate affected RWX volumes. |
| defaultSettings.snapshotDataIntegrity | Setting that allows you to enable and disable snapshot hashing and data integrity checks. | | defaultSettings.snapshotDataIntegrity | Setting that allows you to enable and disable snapshot hashing and data integrity checks. |
| defaultSettings.snapshotDataIntegrityCronjob | Setting that defines when Longhorn checks the integrity of data in snapshot disk files. You must use the Unix cron expression format. | | defaultSettings.snapshotDataIntegrityCronjob | Setting that defines when Longhorn checks the integrity of data in snapshot disk files. You must use the Unix cron expression format. |
| defaultSettings.snapshotDataIntegrityImmediateCheckAfterSnapshotCreation | Setting that allows disabling of snapshot hashing after snapshot creation to minimize impact on system performance. | | defaultSettings.snapshotDataIntegrityImmediateCheckAfterSnapshotCreation | Setting that allows disabling of snapshot hashing after snapshot creation to minimize impact on system performance. |
@ -338,12 +349,15 @@ During installation, you can either allow Longhorn to use the default system set
| defaultSettings.systemManagedPodsImagePullPolicy | 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. | | defaultSettings.systemManagedPodsImagePullPolicy | 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. |
| defaultSettings.taintToleration | Taint or toleration for system-managed Longhorn components. Specify values using a semicolon-separated list in `kubectl taint` syntax (Example: key1=value1:effect; key2=value2:effect). | | defaultSettings.taintToleration | Taint or toleration for system-managed Longhorn components. Specify values using a semicolon-separated list in `kubectl taint` syntax (Example: key1=value1:effect; key2=value2:effect). |
| defaultSettings.upgradeChecker | 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 | | defaultSettings.upgradeChecker | 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 |
| defaultSettings.upgradeResponderURL | 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. |
| defaultSettings.v1DataEngine | Setting that allows you to enable the V1 Data Engine. | | defaultSettings.v1DataEngine | Setting that allows you to enable the V1 Data Engine. |
| defaultSettings.v2DataEngine | 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. | | defaultSettings.v2DataEngine | 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. |
| defaultSettings.v2DataEngineCPUMask | 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". |
| defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU | 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". | | defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU | 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". |
| defaultSettings.v2DataEngineHugepageLimit | Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine. | | defaultSettings.v2DataEngineHugepageLimit | Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine. |
| defaultSettings.v2DataEngineLogFlags | Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine. | | defaultSettings.v2DataEngineLogFlags | Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine. |
| defaultSettings.v2DataEngineLogLevel | Setting that allows you to configure the log level of the SPDK target daemon (spdk_tgt) of the V2 Data Engine. | | defaultSettings.v2DataEngineLogLevel | Setting that allows you to configure the log level of the SPDK target daemon (spdk_tgt) of the V2 Data Engine. |
| defaultSettings.v2DataEngineSnapshotDataIntegrity | Setting allows you to enable or disable snapshot hashing and data integrity checking for the V2 Data Engine. |
--- ---
Please see [link](https://github.com/longhorn/longhorn) for more information. Please see [link](https://github.com/longhorn/longhorn) for more information.

View File

@ -20,7 +20,7 @@ Longhorn is 100% open source software. Project source code is spread across a nu
## Prerequisites ## Prerequisites
1. A container runtime compatible with Kubernetes (Docker v1.13+, containerd v1.3.7+, etc.) 1. A container runtime compatible with Kubernetes (Docker v1.13+, containerd v1.3.7+, etc.)
2. Kubernetes >= v1.21 2. Kubernetes >= v1.25
3. Make sure `bash`, `curl`, `findmnt`, `grep`, `awk` and `blkid` has been installed in all nodes of the Kubernetes cluster. 3. Make sure `bash`, `curl`, `findmnt`, `grep`, `awk` and `blkid` has been installed in all nodes of the Kubernetes cluster.
4. Make sure `open-iscsi` has been installed, and the `iscsid` daemon is running on all nodes of the Kubernetes cluster. For GKE, recommended Ubuntu as guest OS image since it contains `open-iscsi` already. 4. Make sure `open-iscsi` has been installed, and the `iscsid` daemon is running on all nodes of the Kubernetes cluster. For GKE, recommended Ubuntu as guest OS image since it contains `open-iscsi` already.

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@ rules:
verbs: verbs:
- "*" - "*"
- apiGroups: [""] - apiGroups: [""]
resources: ["pods", "events", "persistentvolumes", "persistentvolumeclaims","persistentvolumeclaims/status", "nodes", "proxy/nodes", "pods/log", "secrets", "services", "endpoints", "configmaps", "serviceaccounts"] resources: ["pods", "events", "persistentvolumes", "persistentvolumeclaims", "persistentvolumeclaims/status", "nodes", "proxy/nodes", "pods/log", "secrets", "services", "endpoints", "configmaps", "serviceaccounts"]
verbs: ["*"] verbs: ["*"]
- apiGroups: [""] - apiGroups: [""]
resources: ["namespaces"] resources: ["namespaces"]

View File

@ -44,6 +44,6 @@ subjects:
name: longhorn-ui-service-account name: longhorn-ui-service-account
namespace: {{ include "release_namespace" . }} namespace: {{ include "release_namespace" . }}
- kind: ServiceAccount - kind: ServiceAccount
name: default # supportbundle-agent-support-bundle uses default sa name: default # supportbundle-agent-support-bundle uses default sa
namespace: {{ include "release_namespace" . }} namespace: {{ include "release_namespace" . }}
{{- end }} {{- end }}

View File

@ -1,8 +1,9 @@
# Generated crds.yaml from github.com/longhorn/longhorn-manager/k8s/pkg/apis and the crds.yaml will be copied to longhorn/longhorn chart/templates and cannot be directly used by kubectl apply.
apiVersion: apiextensions.k8s.io/v1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: backingimagedatasources.longhorn.io name: backingimagedatasources.longhorn.io
@ -38,6 +39,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 BackingImageDataSource is deprecated;
use longhorn.io/v1beta2 BackingImageDataSource instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -66,7 +70,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -188,7 +192,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: backingimagemanagers.longhorn.io name: backingimagemanagers.longhorn.io
@ -227,6 +231,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 BackingImageManager is deprecated; use
longhorn.io/v1beta2 BackingImageManager instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -255,7 +262,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -342,6 +349,9 @@ spec:
type: string type: string
progress: progress:
type: integer type: integer
realSize:
format: int64
type: integer
senderManagerAddress: senderManagerAddress:
type: string type: string
sendingReference: sendingReference:
@ -378,7 +388,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: backingimages.longhorn.io name: backingimages.longhorn.io
@ -413,6 +423,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 BackingImage is deprecated; use longhorn.io/v1beta2
BackingImage instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -440,7 +453,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -492,9 +505,20 @@ spec:
properties: properties:
checksum: checksum:
type: string type: string
dataEngine:
default: v1
enum:
- v1
- v2
type: string
diskFileSpecMap: diskFileSpecMap:
additionalProperties: additionalProperties:
properties: properties:
dataEngine:
enum:
- v1
- v2
type: string
evictionRequested: evictionRequested:
type: boolean type: boolean
type: object type: object
@ -541,6 +565,11 @@ spec:
diskFileStatusMap: diskFileStatusMap:
additionalProperties: additionalProperties:
properties: properties:
dataEngine:
enum:
- v1
- v2
type: string
lastStateTransitionTime: lastStateTransitionTime:
type: string type: string
message: message:
@ -559,14 +588,26 @@ spec:
type: object type: object
ownerID: ownerID:
type: string type: string
realSize:
description: Real size of image in bytes, which may be smaller than
the size when the file is a sparse file. Will be zero until known
(e.g. while a backing image is uploading)
format: int64
type: integer
size: size:
format: int64 format: int64
type: integer type: integer
uuid: uuid:
type: string type: string
v2FirstCopyDisk:
type: string
v2FirstCopyStatus:
description: It is pending -> in-progress -> ready/failed
type: string
virtualSize: virtualSize:
description: Virtual size of image, which may be larger than physical description: Virtual size of image in bytes, which may be larger than
size. Will be zero until known (e.g. while a backing image is uploading) physical size. Will be zero until known (e.g. while a backing image
is uploading)
format: int64 format: int64
type: integer type: integer
type: object type: object
@ -580,7 +621,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: backupbackingimages.longhorn.io name: backupbackingimages.longhorn.io
@ -643,6 +684,13 @@ spec:
description: BackupBackingImageSpec defines the desired state of the Longhorn description: BackupBackingImageSpec defines the desired state of the Longhorn
backing image backup backing image backup
properties: properties:
backingImage:
description: The backing image name.
type: string
backupTargetName:
description: The backup target name.
nullable: true
type: string
labels: labels:
additionalProperties: additionalProperties:
type: string type: string
@ -655,11 +703,10 @@ spec:
nullable: true nullable: true
type: string type: string
userCreated: userCreated:
description: |- description: Is this CR created by user through API or UI.
Is this CR created by user through API or UI.
Required
type: boolean type: boolean
required: required:
- backingImage
- userCreated - userCreated
type: object type: object
status: status:
@ -711,6 +758,13 @@ spec:
progress: progress:
description: The backing image backup progress. description: The backing image backup progress.
type: integer type: integer
secret:
description: Record the secret if this backup backing image is encrypted
type: string
secretNamespace:
description: Record the secret namespace if this backup backing image
is encrypted
type: string
size: size:
description: The backing image size. description: The backing image size.
format: int64 format: int64
@ -734,7 +788,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: backups.longhorn.io name: backups.longhorn.io
@ -770,6 +824,9 @@ spec:
jsonPath: .status.lastSyncedAt jsonPath: .status.lastSyncedAt
name: LastSyncedAt name: LastSyncedAt
type: string type: string
deprecated: true
deprecationWarning: longhorn.io/v1beta1 Backup is deprecated; use longhorn.io/v1beta2
Backup instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -797,7 +854,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -814,6 +871,10 @@ spec:
jsonPath: .status.snapshotCreatedAt jsonPath: .status.snapshotCreatedAt
name: SnapshotCreatedAt name: SnapshotCreatedAt
type: string type: string
- description: The backup target name
jsonPath: .status.backupTargetName
name: BackupTarget
type: string
- description: The backup state - description: The backup state
jsonPath: .status.state jsonPath: .status.state
name: State name: State
@ -876,6 +937,9 @@ spec:
backupCreatedAt: backupCreatedAt:
description: The snapshot backup upload finished time. description: The snapshot backup upload finished time.
type: string type: string
backupTargetName:
description: The backup target name.
type: string
compressionMethod: compressionMethod:
description: Compression method description: Compression method
type: string type: string
@ -957,7 +1021,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: backuptargets.longhorn.io name: backuptargets.longhorn.io
@ -1005,6 +1069,9 @@ spec:
jsonPath: .status.lastSyncedAt jsonPath: .status.lastSyncedAt
name: LastSyncedAt name: LastSyncedAt
type: string type: string
deprecated: true
deprecationWarning: longhorn.io/v1beta1 BackupTarget is deprecated; use longhorn.io/v1beta2
BackupTarget instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -1032,7 +1099,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -1158,7 +1225,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: backupvolumes.longhorn.io name: backupvolumes.longhorn.io
@ -1190,6 +1257,9 @@ spec:
jsonPath: .status.lastSyncedAt jsonPath: .status.lastSyncedAt
name: LastSyncedAt name: LastSyncedAt
type: string type: string
deprecated: true
deprecationWarning: longhorn.io/v1beta1 BackupVolume is deprecated; use longhorn.io/v1beta2
BackupVolume instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -1217,11 +1287,15 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
- additionalPrinterColumns: - additionalPrinterColumns:
- description: The backup target name
jsonPath: .spec.backupTargetName
name: BackupTarget
type: string
- description: The backup volume creation time - description: The backup volume creation time
jsonPath: .status.createdAt jsonPath: .status.createdAt
name: CreatedAt name: CreatedAt
@ -1264,11 +1338,18 @@ spec:
description: BackupVolumeSpec defines the desired state of the Longhorn description: BackupVolumeSpec defines the desired state of the Longhorn
backup volume backup volume
properties: properties:
backupTargetName:
description: The backup target name that the backup volume was synced.
nullable: true
type: string
syncRequestedAt: syncRequestedAt:
description: The time to request run sync the remote backup volume. description: The time to request run sync the remote backup volume.
format: date-time format: date-time
nullable: true nullable: true
type: string type: string
volumeName:
description: The volume name that the backup volume was used to backup.
type: string
type: object type: object
status: status:
description: BackupVolumeStatus defines the observed state of the Longhorn description: BackupVolumeStatus defines the observed state of the Longhorn
@ -1337,7 +1418,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: engineimages.longhorn.io name: engineimages.longhorn.io
@ -1385,6 +1466,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 EngineImage is deprecated; use longhorn.io/v1beta2
EngineImage instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -1412,7 +1496,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -1549,7 +1633,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: engines.longhorn.io name: engines.longhorn.io
@ -1585,6 +1669,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 Engine is deprecated; use longhorn.io/v1beta2
Engine instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -1612,7 +1699,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -1667,9 +1754,6 @@ spec:
properties: properties:
active: active:
type: boolean type: boolean
backendStoreDriver:
description: Deprecated:Replaced by field `dataEngine`.
type: string
backupVolume: backupVolume:
type: string type: string
dataEngine: dataEngine:
@ -1681,14 +1765,12 @@ spec:
type: string type: string
disableFrontend: disableFrontend:
type: boolean type: boolean
engineImage:
description: 'Deprecated: Replaced by field `image`.'
type: string
frontend: frontend:
enum: enum:
- blockdev - blockdev
- iscsi - iscsi
- nvmf - nvmf
- ublk
- "" - ""
type: string type: string
image: image:
@ -1932,8 +2014,13 @@ spec:
type: boolean type: boolean
storageIP: storageIP:
type: string type: string
ublkID:
format: int32
type: integer
unmapMarkSnapChainRemovedEnabled: unmapMarkSnapChainRemovedEnabled:
type: boolean type: boolean
uuid:
type: string
type: object type: object
type: object type: object
served: true served: true
@ -1945,7 +2032,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: instancemanagers.longhorn.io name: instancemanagers.longhorn.io
@ -1977,6 +2064,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 InstanceManager is deprecated; use longhorn.io/v1beta2
InstanceManager instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -2004,7 +2094,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -2056,6 +2146,14 @@ spec:
properties: properties:
dataEngine: dataEngine:
type: string type: string
dataEngineSpec:
properties:
v2:
properties:
cpuMask:
type: string
type: object
type: object
image: image:
type: string type: string
nodeID: nodeID:
@ -2075,16 +2173,44 @@ spec:
type: integer type: integer
apiVersion: apiVersion:
type: integer type: integer
backingImages:
additionalProperties:
properties:
currentChecksum:
type: string
diskUUID:
type: string
message:
type: string
name:
type: string
progress:
type: integer
size:
format: int64
type: integer
state:
type: string
uuid:
type: string
type: object
nullable: true
type: object
currentState: currentState:
type: string type: string
dataEngineStatus:
properties:
v2:
properties:
cpuMask:
type: string
type: object
type: object
instanceEngines: instanceEngines:
additionalProperties: additionalProperties:
properties: properties:
spec: spec:
properties: properties:
backendStoreDriver:
description: Deprecated:Replaced by field `dataEngine`.
type: string
dataEngine: dataEngine:
type: string type: string
name: name:
@ -2122,6 +2248,11 @@ spec:
type: integer type: integer
type: type:
type: string type: string
ublkID:
format: int32
type: integer
uuid:
type: string
type: object type: object
type: object type: object
nullable: true nullable: true
@ -2131,9 +2262,6 @@ spec:
properties: properties:
spec: spec:
properties: properties:
backendStoreDriver:
description: Deprecated:Replaced by field `dataEngine`.
type: string
dataEngine: dataEngine:
type: string type: string
name: name:
@ -2171,6 +2299,11 @@ spec:
type: integer type: integer
type: type:
type: string type: string
ublkID:
format: int32
type: integer
uuid:
type: string
type: object type: object
type: object type: object
nullable: true nullable: true
@ -2180,9 +2313,6 @@ spec:
properties: properties:
spec: spec:
properties: properties:
backendStoreDriver:
description: Deprecated:Replaced by field `dataEngine`.
type: string
dataEngine: dataEngine:
type: string type: string
name: name:
@ -2220,6 +2350,11 @@ spec:
type: integer type: integer
type: type:
type: string type: string
ublkID:
format: int32
type: integer
uuid:
type: string
type: object type: object
type: object type: object
description: 'Deprecated: Replaced by InstanceEngines and InstanceReplicas' description: 'Deprecated: Replaced by InstanceEngines and InstanceReplicas'
@ -2244,7 +2379,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: nodes.longhorn.io name: nodes.longhorn.io
@ -2289,6 +2424,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 Node is deprecated; use longhorn.io/v1beta2
Node instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -2316,7 +2454,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -2484,6 +2622,12 @@ spec:
type: string type: string
instanceManagerName: instanceManagerName:
type: string type: string
scheduledBackingImage:
additionalProperties:
format: int64
type: integer
nullable: true
type: object
scheduledReplica: scheduledReplica:
additionalProperties: additionalProperties:
format: int64 format: int64
@ -2523,7 +2667,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: orphans.longhorn.io name: orphans.longhorn.io
@ -2573,6 +2717,14 @@ spec:
description: OrphanSpec defines the desired state of the Longhorn orphaned description: OrphanSpec defines the desired state of the Longhorn orphaned
data data
properties: properties:
dataEngine:
description: |-
The type of data engine for instance orphan.
Can be "v1", "v2".
enum:
- v1
- v2
type: string
nodeID: nodeID:
description: The node ID on which the controller is responsible to description: The node ID on which the controller is responsible to
reconcile this orphan CR. reconcile this orphan CR.
@ -2634,7 +2786,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: recurringjobs.longhorn.io name: recurringjobs.longhorn.io
@ -2678,6 +2830,9 @@ spec:
jsonPath: .spec.labels jsonPath: .spec.labels
name: Labels name: Labels
type: string type: string
deprecated: true
deprecationWarning: longhorn.io/v1beta1 RecurringJob is deprecated; use longhorn.io/v1beta2
RecurringJob instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -2705,7 +2860,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -2716,7 +2871,7 @@ spec:
name: Groups name: Groups
type: string type: string
- description: Should be one of "snapshot", "snapshot-force-create", "snapshot-cleanup", - description: Should be one of "snapshot", "snapshot-force-create", "snapshot-cleanup",
"snapshot-delete", "backup", "backup-force-create" or "filesystem-trim" "snapshot-delete", "backup", "backup-force-create", "filesystem-trim" or "system-backup"
jsonPath: .spec.task jsonPath: .spec.task
name: Task name: Task
type: string type: string
@ -2789,7 +2944,7 @@ spec:
type: string type: string
description: |- description: |-
The parameters of the snapshot/backup. The parameters of the snapshot/backup.
Support parameters: "full-backup-interval". Support parameters: "full-backup-interval", "volume-backup-policy".
type: object type: object
retain: retain:
description: The retain count of the snapshot/backup. description: The retain count of the snapshot/backup.
@ -2797,7 +2952,7 @@ spec:
task: task:
description: |- description: |-
The recurring job task. The recurring job task.
Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim" Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create", "filesystem-trim" or "system-backup".
enum: enum:
- snapshot - snapshot
- snapshot-force-create - snapshot-force-create
@ -2806,6 +2961,7 @@ spec:
- backup - backup
- backup-force-create - backup-force-create
- filesystem-trim - filesystem-trim
- system-backup
type: string type: string
type: object type: object
status: status:
@ -2830,7 +2986,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: replicas.longhorn.io name: replicas.longhorn.io
@ -2870,6 +3026,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 Replica is deprecated; use longhorn.io/v1beta2
Replica instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -2897,7 +3056,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -2956,9 +3115,6 @@ spec:
properties: properties:
active: active:
type: boolean type: boolean
backendStoreDriver:
description: Deprecated:Replaced by field `dataEngine`.
type: string
backingImage: backingImage:
type: string type: string
dataDirectoryName: dataDirectoryName:
@ -2974,9 +3130,6 @@ spec:
type: string type: string
diskPath: diskPath:
type: string type: string
engineImage:
description: 'Deprecated: Replaced by field `image`.'
type: string
engineName: engineName:
type: string type: string
evictionRequested: evictionRequested:
@ -3022,6 +3175,11 @@ spec:
type: string type: string
logRequested: logRequested:
type: boolean type: boolean
migrationEngineName:
description: |-
MigrationEngineName is indicating the migrating engine which current connected to this replica. This is only
used for live migration of v2 data engine
type: string
nodeID: nodeID:
type: string type: string
rebuildRetryCount: rebuildRetryCount:
@ -3099,6 +3257,11 @@ spec:
type: boolean type: boolean
storageIP: storageIP:
type: string type: string
ublkID:
format: int32
type: integer
uuid:
type: string
type: object type: object
type: object type: object
served: true served: true
@ -3110,7 +3273,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: settings.longhorn.io name: settings.longhorn.io
@ -3134,6 +3297,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 Setting is deprecated; use longhorn.io/v1beta2
Setting instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -3161,7 +3327,7 @@ spec:
required: required:
- value - value
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -3223,7 +3389,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: sharemanagers.longhorn.io name: sharemanagers.longhorn.io
@ -3250,6 +3416,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 ShareManager is deprecated; use longhorn.io/v1beta2
ShareManager instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -3277,7 +3446,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -3350,7 +3519,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: snapshots.longhorn.io name: snapshots.longhorn.io
@ -3429,7 +3598,6 @@ spec:
description: |- description: |-
the volume that this snapshot belongs to. the volume that this snapshot belongs to.
This field is immutable after creation. This field is immutable after creation.
Required
type: string type: string
required: required:
- volume - volume
@ -3480,7 +3648,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: supportbundles.longhorn.io name: supportbundles.longhorn.io
@ -3611,7 +3779,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: systembackups.longhorn.io name: systembackups.longhorn.io
@ -3748,7 +3916,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: systemrestores.longhorn.io name: systemrestores.longhorn.io
@ -3857,7 +4025,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: volumeattachments.longhorn.io name: volumeattachments.longhorn.io
@ -4001,7 +4169,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.15.0 controller-gen.kubebuilder.io/version: v0.17.1
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: "" longhorn-manager: ""
name: volumes.longhorn.io name: volumes.longhorn.io
@ -4053,6 +4221,9 @@ spec:
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
deprecated: true
deprecationWarning: longhorn.io/v1beta1 Volume is deprecated; use longhorn.io/v1beta2
Volume instead
name: v1beta1 name: v1beta1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
@ -4080,7 +4251,7 @@ spec:
status: status:
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
type: object type: object
served: true served: false
storage: false storage: false
subresources: subresources:
status: {} status: {}
@ -4144,9 +4315,6 @@ spec:
- rwo - rwo
- rwx - rwx
type: string type: string
backendStoreDriver:
description: Deprecated:Replaced by field `dataEngine`.'
type: string
backingImage: backingImage:
type: string type: string
backupCompressionMethod: backupCompressionMethod:
@ -4155,6 +4323,10 @@ spec:
- lz4 - lz4
- gzip - gzip
type: string type: string
backupTargetName:
description: The backup target name that the volume will be backed
up to or is synced.
type: string
dataEngine: dataEngine:
enum: enum:
- v1 - v1
@ -4176,9 +4348,6 @@ spec:
type: array type: array
encrypted: encrypted:
type: boolean type: boolean
engineImage:
description: 'Deprecated: Replaced by field `image`.'
type: string
freezeFilesystemForSnapshot: freezeFilesystemForSnapshot:
description: Setting that freezes the filesystem on the root partition description: Setting that freezes the filesystem on the root partition
before a snapshot is created. before a snapshot is created.
@ -4194,6 +4363,7 @@ spec:
- blockdev - blockdev
- iscsi - iscsi
- nvmf - nvmf
- ublk
- "" - ""
type: string type: string
image: image:
@ -4212,6 +4382,17 @@ spec:
type: array type: array
numberOfReplicas: numberOfReplicas:
type: integer type: integer
offlineRebuilding:
description: |-
Specifies whether Longhorn should rebuild replicas while the detached volume is degraded.
- ignored: Use the global setting for offline replica rebuilding.
- enabled: Enable offline rebuilding for this volume, regardless of the global setting.
- disabled: Disable offline rebuilding for this volume, regardless of the global setting
enum:
- ignored
- disabled
- enabled
type: string
replicaAutoBalance: replicaAutoBalance:
enum: enum:
- ignored - ignored
@ -4375,9 +4556,6 @@ spec:
type: string type: string
ownerID: ownerID:
type: string type: string
pendingNodeID:
description: Deprecated.
type: string
remountRequestedAt: remountRequestedAt:
type: string type: string
restoreInitiated: restoreInitiated:

View File

@ -63,10 +63,17 @@ spec:
port: 9501 port: 9501
scheme: HTTPS scheme: HTTPS
volumeMounts: volumeMounts:
- name: boot
mountPath: /host/boot/
readOnly: true
- name: dev - name: dev
mountPath: /host/dev/ mountPath: /host/dev/
- name: proc - name: proc
mountPath: /host/proc/ mountPath: /host/proc/
readOnly: true
- name: etc
mountPath: /host/etc/
readOnly: true
- name: longhorn - name: longhorn
mountPath: /var/lib/longhorn/ mountPath: /var/lib/longhorn/
mountPropagation: Bidirectional mountPropagation: Bidirectional
@ -102,12 +109,18 @@ spec:
image: {{ template "registry_url" . }}{{ .Values.image.longhorn.shareManager.repository }}:{{ .Values.image.longhorn.shareManager.tag }} image: {{ template "registry_url" . }}{{ .Values.image.longhorn.shareManager.repository }}:{{ .Values.image.longhorn.shareManager.tag }}
command: ["sh", "-c", "echo share-manager image pulled && sleep infinity"] command: ["sh", "-c", "echo share-manager image pulled && sleep infinity"]
volumes: volumes:
- name: boot
hostPath:
path: /boot/
- name: dev - name: dev
hostPath: hostPath:
path: /dev/ path: /dev/
- name: proc - name: proc
hostPath: hostPath:
path: /proc/ path: /proc/
- name: etc
hostPath:
path: /etc/
- name: longhorn - name: longhorn
hostPath: hostPath:
path: /var/lib/longhorn/ path: /var/lib/longhorn/

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: longhorn-default-resource
namespace: {{ include "release_namespace" . }}
labels: {{- include "longhorn.labels" . | nindent 4 }}
data:
default-resource.yaml: |-
{{- if not (kindIs "invalid" .Values.defaultBackupStore.backupTarget) }}
backup-target: {{ .Values.defaultBackupStore.backupTarget }}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultBackupStore.backupTargetCredentialSecret) }}
backup-target-credential-secret: {{ .Values.defaultBackupStore.backupTargetCredentialSecret }}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultBackupStore.pollInterval) }}
backupstore-poll-interval: {{ .Values.defaultBackupStore.pollInterval }}
{{- end }}

View File

@ -6,12 +6,6 @@ metadata:
labels: {{- include "longhorn.labels" . | nindent 4 }} labels: {{- include "longhorn.labels" . | nindent 4 }}
data: data:
default-setting.yaml: |- default-setting.yaml: |-
{{- if not (kindIs "invalid" .Values.defaultSettings.backupTarget) }}
backup-target: {{ .Values.defaultSettings.backupTarget }}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.backupTargetCredentialSecret) }}
backup-target-credential-secret: {{ .Values.defaultSettings.backupTargetCredentialSecret }}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.allowRecurringJobWhileVolumeDetached) }} {{- if not (kindIs "invalid" .Values.defaultSettings.allowRecurringJobWhileVolumeDetached) }}
allow-recurring-job-while-volume-detached: {{ .Values.defaultSettings.allowRecurringJobWhileVolumeDetached }} allow-recurring-job-while-volume-detached: {{ .Values.defaultSettings.allowRecurringJobWhileVolumeDetached }}
{{- end }} {{- end }}
@ -39,6 +33,9 @@ data:
{{- if not (kindIs "invalid" .Values.defaultSettings.upgradeChecker) }} {{- if not (kindIs "invalid" .Values.defaultSettings.upgradeChecker) }}
upgrade-checker: {{ .Values.defaultSettings.upgradeChecker }} upgrade-checker: {{ .Values.defaultSettings.upgradeChecker }}
{{- end }} {{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.upgradeResponderURL) }}
upgrade-responder-url: {{ .Values.defaultSettings.upgradeResponderURL }}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.defaultReplicaCount) }} {{- if not (kindIs "invalid" .Values.defaultSettings.defaultReplicaCount) }}
default-replica-count: {{ .Values.defaultSettings.defaultReplicaCount }} default-replica-count: {{ .Values.defaultSettings.defaultReplicaCount }}
{{- end }} {{- end }}
@ -48,12 +45,12 @@ data:
{{- if not (kindIs "invalid" .Values.defaultSettings.defaultLonghornStaticStorageClass) }} {{- if not (kindIs "invalid" .Values.defaultSettings.defaultLonghornStaticStorageClass) }}
default-longhorn-static-storage-class: {{ .Values.defaultSettings.defaultLonghornStaticStorageClass }} default-longhorn-static-storage-class: {{ .Values.defaultSettings.defaultLonghornStaticStorageClass }}
{{- end }} {{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.backupstorePollInterval) }}
backupstore-poll-interval: {{ .Values.defaultSettings.backupstorePollInterval }}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.failedBackupTTL) }} {{- if not (kindIs "invalid" .Values.defaultSettings.failedBackupTTL) }}
failed-backup-ttl: {{ .Values.defaultSettings.failedBackupTTL }} failed-backup-ttl: {{ .Values.defaultSettings.failedBackupTTL }}
{{- end }} {{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.backupExecutionTimeout) }}
backup-execution-timeout: {{ .Values.defaultSettings.backupExecutionTimeout }}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.restoreVolumeRecurringJobs) }} {{- if not (kindIs "invalid" .Values.defaultSettings.restoreVolumeRecurringJobs) }}
restore-volume-recurring-jobs: {{ .Values.defaultSettings.restoreVolumeRecurringJobs }} restore-volume-recurring-jobs: {{ .Values.defaultSettings.restoreVolumeRecurringJobs }}
{{- end }} {{- end }}
@ -155,8 +152,11 @@ data:
{{- if not (kindIs "invalid" .Values.defaultSettings.kubernetesClusterAutoscalerEnabled) }} {{- if not (kindIs "invalid" .Values.defaultSettings.kubernetesClusterAutoscalerEnabled) }}
kubernetes-cluster-autoscaler-enabled: {{ .Values.defaultSettings.kubernetesClusterAutoscalerEnabled }} kubernetes-cluster-autoscaler-enabled: {{ .Values.defaultSettings.kubernetesClusterAutoscalerEnabled }}
{{- end }} {{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.orphanAutoDeletion) }} {{- if not (kindIs "invalid" .Values.defaultSettings.orphanResourceAutoDeletion) }}
orphan-auto-deletion: {{ .Values.defaultSettings.orphanAutoDeletion }} orphan-resource-auto-deletion: {{ .Values.defaultSettings.orphanResourceAutoDeletion }}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.orphanResourceAutoDeletionGracePeriod) }}
orphan-resource-auto-deletion-grace-period: {{ .Values.defaultSettings.orphanResourceAutoDeletionGracePeriod }}
{{- end }} {{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.storageNetwork) }} {{- if not (kindIs "invalid" .Values.defaultSettings.storageNetwork) }}
storage-network: {{ .Values.defaultSettings.storageNetwork }} storage-network: {{ .Values.defaultSettings.storageNetwork }}
@ -233,12 +233,24 @@ data:
{{- if not (kindIs "invalid" .Values.defaultSettings.v2DataEngineLogFlags) }} {{- if not (kindIs "invalid" .Values.defaultSettings.v2DataEngineLogFlags) }}
v2-data-engine-log-flags: {{ .Values.defaultSettings.v2DataEngineLogFlags }} v2-data-engine-log-flags: {{ .Values.defaultSettings.v2DataEngineLogFlags }}
{{- end }} {{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.v2DataEngineSnapshotDataIntegrity) }}
v2-data-engine-snapshot-data-integrity: {{ .Values.defaultSettings.v2DataEngineSnapshotDataIntegrity }}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.freezeFilesystemForSnapshot) }} {{- if not (kindIs "invalid" .Values.defaultSettings.freezeFilesystemForSnapshot) }}
freeze-filesystem-for-snapshot: {{ .Values.defaultSettings.freezeFilesystemForSnapshot }} freeze-filesystem-for-snapshot: {{ .Values.defaultSettings.freezeFilesystemForSnapshot }}
{{- end }} {{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.autoCleanupSnapshotWhenDeleteBackup) }} {{- if not (kindIs "invalid" .Values.defaultSettings.autoCleanupSnapshotWhenDeleteBackup) }}
auto-cleanup-when-delete-backup: {{ .Values.defaultSettings.autoCleanupSnapshotWhenDeleteBackup }} auto-cleanup-when-delete-backup: {{ .Values.defaultSettings.autoCleanupSnapshotWhenDeleteBackup }}
{{- end }} {{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.autoCleanupSnapshotAfterOnDemandBackupCompleted) }}
auto-cleanup-snapshot-after-on-demand-backup-completed: {{ .Values.defaultSettings.autoCleanupSnapshotAfterOnDemandBackupCompleted }}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.rwxVolumeFastFailover) }} {{- if not (kindIs "invalid" .Values.defaultSettings.rwxVolumeFastFailover) }}
rwx-volume-fast-failover: {{ .Values.defaultSettings.rwxVolumeFastFailover}} rwx-volume-fast-failover: {{ .Values.defaultSettings.rwxVolumeFastFailover}}
{{- end }} {{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.offlineRelicaRebuilding) }}
offline-replica-rebuilding: {{ .Values.defaultSettings.offlineRelicaRebuilding}}
{{- end }}
{{- if not (kindIs "invalid" .Values.defaultSettings.v2DataEngineCPUMask) }}
v2-data-engine-cpu-mask: {{ .Values.defaultSettings.v2DataEngineCPUMask }}
{{- end }}

View File

@ -25,6 +25,9 @@ spec:
command: command:
- longhorn-manager - longhorn-manager
- -d - -d
{{- if eq .Values.longhornDriver.log.format "json" }}
- -j
{{- end }}
- deploy-driver - deploy-driver
- --manager-image - --manager-image
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}" - "{{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}"

View File

@ -55,22 +55,16 @@ spec:
spec: spec:
serviceAccountName: longhorn-ui-service-account serviceAccountName: longhorn-ui-service-account
affinity: affinity:
podAntiAffinity: {{- toYaml .Values.longhornUI.affinity | nindent 8 }}
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- longhorn-ui
topologyKey: kubernetes.io/hostname
containers: containers:
{{- if .Values.openshift.enabled }} {{- if .Values.openshift.enabled }}
{{- if .Values.openshift.ui.route }} {{- if .Values.openshift.ui.route }}
- name: oauth-proxy - name: oauth-proxy
{{- if .Values.image.openshift.oauthProxy.repository }}
image: {{ template "registry_url" . }}{{ .Values.image.openshift.oauthProxy.repository }}:{{ .Values.image.openshift.oauthProxy.tag }} image: {{ template "registry_url" . }}{{ .Values.image.openshift.oauthProxy.repository }}:{{ .Values.image.openshift.oauthProxy.tag }}
{{- else }}
image: ""
{{- end }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: {{ .Values.openshift.ui.proxy | default 8443 }} - containerPort: {{ .Values.openshift.ui.proxy | default 8443 }}
@ -93,9 +87,9 @@ spec:
image: {{ template "registry_url" . }}{{ .Values.image.longhorn.ui.repository }}:{{ .Values.image.longhorn.ui.tag }} image: {{ template "registry_url" . }}{{ .Values.image.longhorn.ui.repository }}:{{ .Values.image.longhorn.ui.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts: volumeMounts:
- name : nginx-cache - name: nginx-cache
mountPath: /var/cache/nginx/ mountPath: /var/cache/nginx/
- name : nginx-config - name: nginx-config
mountPath: /var/config/nginx/ mountPath: /var/config/nginx/
- name: var-run - name: var-run
mountPath: /var/run/ mountPath: /var/run/

View File

@ -0,0 +1,4 @@
{{- range .Values.extraObjects }}
---
{{- tpl (toYaml . ) $ }}
{{- end }}

View File

@ -15,7 +15,7 @@ data:
provisioner: driver.longhorn.io provisioner: driver.longhorn.io
allowVolumeExpansion: true allowVolumeExpansion: true
reclaimPolicy: "{{ .Values.persistence.reclaimPolicy }}" reclaimPolicy: "{{ .Values.persistence.reclaimPolicy }}"
volumeBindingMode: Immediate volumeBindingMode: {{ .Values.persistence.volumeBindingMode | default "Immediate" }}
parameters: parameters:
numberOfReplicas: "{{ .Values.persistence.defaultClassReplicaCount }}" numberOfReplicas: "{{ .Values.persistence.defaultClassReplicaCount }}"
staleReplicaTimeout: "30" staleReplicaTimeout: "30"
@ -53,4 +53,8 @@ data:
{{- end }} {{- end }}
{{- if .Values.persistence.disableRevisionCounter }} {{- if .Values.persistence.disableRevisionCounter }}
disableRevisionCounter: "{{ .Values.persistence.disableRevisionCounter }}" disableRevisionCounter: "{{ .Values.persistence.disableRevisionCounter }}"
dataEngine: "{{ .Values.persistence.dataEngine }}"
{{- end }}
{{- if .Values.persistence.backupTargetName }}
backupTargetName: "{{ .Values.persistence.backupTargetName }}"
{{- end }} {{- end }}

View File

@ -14,10 +14,10 @@ global:
enabled: false enabled: false
# -- Toleration for Linux nodes that can run user-deployed Longhorn components. # -- Toleration for Linux nodes that can run user-deployed Longhorn components.
tolerations: tolerations:
- key: "cattle.io/os" - key: "cattle.io/os"
value: "linux" value: "linux"
effect: "NoSchedule" effect: "NoSchedule"
operator: "Equal" operator: "Equal"
# -- Node selector for Linux nodes that can run user-deployed Longhorn components. # -- Node selector for Linux nodes that can run user-deployed Longhorn components.
nodeSelector: nodeSelector:
kubernetes.io/os: "linux" kubernetes.io/os: "linux"
@ -26,90 +26,87 @@ global:
taintToleration: cattle.io/os=linux:NoSchedule taintToleration: cattle.io/os=linux:NoSchedule
# -- Node selector for system-managed Longhorn components. # -- Node selector for system-managed Longhorn components.
systemManagedComponentsNodeSelector: kubernetes.io/os:linux systemManagedComponentsNodeSelector: kubernetes.io/os:linux
networkPolicies: networkPolicies:
# -- Setting that allows you to enable network policies that control access to Longhorn pods. # -- Setting that allows you to enable network policies that control access to Longhorn pods.
enabled: false enabled: false
# -- Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1") # -- Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1")
type: "k3s" type: "k3s"
image: image:
longhorn: longhorn:
engine: engine:
# -- Repository for the Longhorn Engine image. # -- Repository for the Longhorn Engine image.
repository: longhornio/longhorn-engine repository: longhornio/longhorn-engine
# -- Tag for the Longhorn Engine image. # -- Tag for the Longhorn Engine image.
tag: v1.7.0 tag: v1.9.0
manager: manager:
# -- Repository for the Longhorn Manager image. # -- Repository for the Longhorn Manager image.
repository: longhornio/longhorn-manager repository: longhornio/longhorn-manager
# -- Tag for the Longhorn Manager image. # -- Tag for the Longhorn Manager image.
tag: v1.7.0 tag: v1.9.0
ui: ui:
# -- Repository for the Longhorn UI image. # -- Repository for the Longhorn UI image.
repository: longhornio/longhorn-ui repository: longhornio/longhorn-ui
# -- Tag for the Longhorn UI image. # -- Tag for the Longhorn UI image.
tag: v1.7.0 tag: v1.9.0
instanceManager: instanceManager:
# -- Repository for the Longhorn Instance Manager image. # -- Repository for the Longhorn Instance Manager image.
repository: longhornio/longhorn-instance-manager repository: longhornio/longhorn-instance-manager
# -- Tag for the Longhorn Instance Manager image. # -- Tag for the Longhorn Instance Manager image.
tag: v1.7.0 tag: v1.9.0
shareManager: shareManager:
# -- Repository for the Longhorn Share Manager image. # -- Repository for the Longhorn Share Manager image.
repository: longhornio/longhorn-share-manager repository: longhornio/longhorn-share-manager
# -- Tag for the Longhorn Share Manager image. # -- Tag for the Longhorn Share Manager image.
tag: v1.7.0 tag: v1.9.0
backingImageManager: backingImageManager:
# -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
repository: longhornio/backing-image-manager repository: longhornio/backing-image-manager
# -- Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value. # -- Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value.
tag: v1.7.0 tag: v1.9.0
supportBundleKit: supportBundleKit:
# -- Repository for the Longhorn Support Bundle Manager image. # -- Repository for the Longhorn Support Bundle Manager image.
repository: longhornio/support-bundle-kit repository: longhornio/support-bundle-kit
# -- Tag for the Longhorn Support Bundle Manager image. # -- Tag for the Longhorn Support Bundle Manager image.
tag: v0.0.41 tag: v0.0.55
csi: csi:
attacher: attacher:
# -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value.
repository: longhornio/csi-attacher repository: longhornio/csi-attacher
# -- Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. # -- Tag for the CSI attacher image. When unspecified, Longhorn uses the default value.
tag: v4.6.1 tag: v4.8.1
provisioner: provisioner:
# -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. # -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
repository: longhornio/csi-provisioner repository: longhornio/csi-provisioner
# -- Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. # -- Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value.
tag: v4.0.1 tag: v5.2.0
nodeDriverRegistrar: nodeDriverRegistrar:
# -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. # -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
repository: longhornio/csi-node-driver-registrar repository: longhornio/csi-node-driver-registrar
# -- Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. # -- Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value.
tag: v2.11.1 tag: v2.13.0
resizer: resizer:
# -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value.
repository: longhornio/csi-resizer repository: longhornio/csi-resizer
# -- Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. # -- Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value.
tag: v1.11.1 tag: v1.13.2
snapshotter: snapshotter:
# -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. # -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
repository: longhornio/csi-snapshotter repository: longhornio/csi-snapshotter
# -- Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. # -- Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value.
tag: v7.0.2 tag: v8.2.0
livenessProbe: livenessProbe:
# -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
repository: longhornio/livenessprobe repository: longhornio/livenessprobe
# -- Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. # -- Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value.
tag: v2.13.1 tag: v2.15.0
openshift: openshift:
oauthProxy: oauthProxy:
# -- Repository for the OAuth Proxy image. This setting applies only to OpenShift users. # -- 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.
repository: longhornio/openshift-origin-oauth-proxy repository: ""
# -- Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.15. # -- 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.
tag: 4.15 tag: ""
# -- Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. # -- Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI.
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
service: service:
ui: ui:
# -- Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy") # -- Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy")
@ -121,7 +118,6 @@ service:
type: ClusterIP type: ClusterIP
# -- NodePort port number for Longhorn Manager. When unspecified, Longhorn selects a free port between 30000 and 32767. # -- NodePort port number for Longhorn Manager. When unspecified, Longhorn selects a free port between 30000 and 32767.
nodePort: "" nodePort: ""
persistence: persistence:
# -- Setting that allows you to specify the default Longhorn StorageClass. # -- Setting that allows you to specify the default Longhorn StorageClass.
defaultClass: true defaultClass: true
@ -135,6 +131,8 @@ persistence:
defaultDataLocality: disabled defaultDataLocality: disabled
# -- Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete") # -- Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete")
reclaimPolicy: Delete reclaimPolicy: Delete
# -- VolumeBindingMode controls when volume binding and dynamic provisioning should occur. (Options: "Immediate", "WaitForFirstConsumer") (Defaults to "Immediate")
volumeBindingMode: "Immediate"
# -- Setting that allows you to enable live migration of a Longhorn volume from one node to another. # -- Setting that allows you to enable live migration of a Longhorn volume from one node to another.
migratable: false migratable: false
# -- 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. # -- 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.
@ -172,13 +170,15 @@ persistence:
selector: "" selector: ""
# -- Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled") # -- Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled")
removeSnapshotsDuringFilesystemTrim: ignored removeSnapshotsDuringFilesystemTrim: ignored
# -- Setting that allows you to specify the data engine version for the default Longhorn StorageClass. (Options: "v1", "v2")
dataEngine: v1
# -- Setting that allows you to specify the backup target for the default Longhorn StorageClass.
backupTargetName: default
preUpgradeChecker: preUpgradeChecker:
# -- Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. # -- Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions.
jobEnabled: true jobEnabled: true
# -- 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. # -- 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.
upgradeVersionCheck: true upgradeVersionCheck: true
csi: csi:
# -- kubelet root directory. When unspecified, Longhorn uses the default value. # -- kubelet root directory. When unspecified, Longhorn uses the default value.
kubeletRootDir: ~ kubeletRootDir: ~
@ -190,12 +190,7 @@ csi:
resizerReplicaCount: ~ resizerReplicaCount: ~
# -- Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3"). # -- Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3").
snapshotterReplicaCount: ~ snapshotterReplicaCount: ~
defaultSettings: defaultSettings:
# -- Endpoint used to access the backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE")
backupTarget: ~
# -- Name of the Kubernetes secret associated with the backup target.
backupTargetCredentialSecret: ~
# -- Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run. # -- Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run.
allowRecurringJobWhileVolumeDetached: ~ allowRecurringJobWhileVolumeDetached: ~
# -- 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. # -- 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.
@ -216,14 +211,16 @@ defaultSettings:
storageReservedPercentageForDefaultDisk: ~ storageReservedPercentageForDefaultDisk: ~
# -- 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 # -- 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
upgradeChecker: ~ upgradeChecker: ~
# -- 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.
upgradeResponderURL: ~
# -- 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". # -- 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".
defaultReplicaCount: ~ defaultReplicaCount: ~
# -- 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". # -- 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".
defaultLonghornStaticStorageClass: ~ defaultLonghornStaticStorageClass: ~
# -- 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.
backupstorePollInterval: ~
# -- Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled. # -- Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled.
failedBackupTTL: ~ failedBackupTTL: ~
# -- Number of minutes that Longhorn allows for the backup execution. The default value is "1".
backupExecutionTimeout: ~
# -- Setting that restores recurring jobs from a backup volume on a backup target and creates recurring jobs if none exist during backup restoration. # -- Setting that restores recurring jobs from a backup volume on a backup target and creates recurring jobs if none exist during backup restoration.
restoreVolumeRecurringJobs: ~ restoreVolumeRecurringJobs: ~
# -- 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. # -- 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.
@ -285,8 +282,12 @@ defaultSettings:
guaranteedInstanceManagerCPU: ~ guaranteedInstanceManagerCPU: ~
# -- Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler. # -- Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler.
kubernetesClusterAutoscalerEnabled: ~ kubernetesClusterAutoscalerEnabled: ~
# -- 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. # -- 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.
orphanAutoDeletion: ~ # 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`.
orphanResourceAutoDeletion: ~
# -- Specifies the wait time, in seconds, before Longhorn automatically deletes an orphaned Custom Resource (CR) and its associated resources.
# Note that if a user manually deletes an orphaned CR, the deletion occurs immediately and does not respect this grace period.
orphanResourceAutoDeletionGracePeriod: ~
# -- Storage network for in-cluster traffic. When unspecified, Longhorn uses the Kubernetes cluster network. # -- Storage network for in-cluster traffic. When unspecified, Longhorn uses the Kubernetes cluster network.
storageNetwork: ~ storageNetwork: ~
# -- Flag that prevents accidental uninstallation of Longhorn. # -- Flag that prevents accidental uninstallation of Longhorn.
@ -317,12 +318,14 @@ defaultSettings:
restoreConcurrentLimit: ~ restoreConcurrentLimit: ~
# -- Setting that allows you to enable the V1 Data Engine. # -- Setting that allows you to enable the V1 Data Engine.
v1DataEngine: ~ v1DataEngine: ~
# -- 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. # -- 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.
v2DataEngine: ~ v2DataEngine: ~
# -- Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine. # -- Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine.
v2DataEngineHugepageLimit: ~ v2DataEngineHugepageLimit: ~
# -- 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". # -- 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".
v2DataEngineGuaranteedInstanceManagerCPU: ~ v2DataEngineGuaranteedInstanceManagerCPU: ~
# -- 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".
v2DataEngineCPUMask: ~
# -- Setting that allows scheduling of empty node selector volumes to any node. # -- Setting that allows scheduling of empty node selector volumes to any node.
allowEmptyNodeSelectorVolume: ~ allowEmptyNodeSelectorVolume: ~
# -- Setting that allows scheduling of empty disk selector volumes to any disk. # -- Setting that allows scheduling of empty disk selector volumes to any disk.
@ -337,13 +340,26 @@ defaultSettings:
v2DataEngineLogLevel: ~ v2DataEngineLogLevel: ~
# -- Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine. # -- Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine.
v2DataEngineLogFlags: ~ v2DataEngineLogFlags: ~
# -- Setting allows you to enable or disable snapshot hashing and data integrity checking for the V2 Data Engine.
v2DataEngineSnapshotDataIntegrity: ~
# -- Setting that freezes the filesystem on the root partition before a snapshot is created. # -- Setting that freezes the filesystem on the root partition before a snapshot is created.
freezeFilesystemForSnapshot: ~ freezeFilesystemForSnapshot: ~
# -- Setting that automatically cleans up the snapshot when the backup is deleted. # -- Setting that automatically cleans up the snapshot when the backup is deleted.
autoCleanupSnapshotWhenDeleteBackup: ~ autoCleanupSnapshotWhenDeleteBackup: ~
# -- Turn on logic to detect and move RWX volumes quickly on node failure. # -- Setting that automatically cleans up the snapshot after the on-demand backup is completed.
autoCleanupSnapshotAfterOnDemandBackupCompleted: ~
# -- Setting that allows Longhorn to detect node failure and immediately migrate affected RWX volumes.
rwxVolumeFastFailover: ~ rwxVolumeFastFailover: ~
# -- 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`.
offlineRelicaRebuilding: ~
# -- Setting that allows you to update the default backupstore.
defaultBackupStore:
# -- Endpoint used to access the default backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE")
backupTarget: ~
# -- Name of the Kubernetes secret associated with the default backup target.
backupTargetCredentialSecret: ~
# -- 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.
pollInterval: ~
privateRegistry: privateRegistry:
# -- Setting that allows you to create a private registry secret. # -- Setting that allows you to create a private registry secret.
createSecret: ~ createSecret: ~
@ -355,7 +371,6 @@ privateRegistry:
registryPasswd: ~ registryPasswd: ~
# -- 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. # -- 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.
registrySecret: ~ registrySecret: ~
longhornManager: longhornManager:
log: log:
# -- Format of Longhorn Manager logs. (Options: "plain", "json") # -- Format of Longhorn Manager logs. (Options: "plain", "json")
@ -382,8 +397,10 @@ longhornManager:
## and uncomment this example block ## and uncomment this example block
# annotation-key1: "annotation-value1" # annotation-key1: "annotation-value1"
# annotation-key2: "annotation-value2" # annotation-key2: "annotation-value2"
longhornDriver: longhornDriver:
log:
# -- Format of longhorn-driver logs. (Options: "plain", "json")
format: plain
# -- PriorityClass for Longhorn Driver. # -- PriorityClass for Longhorn Driver.
priorityClass: *defaultPriorityClassNameRef priorityClass: *defaultPriorityClassNameRef
# -- Toleration for Longhorn Driver on nodes allowed to run Longhorn components. # -- Toleration for Longhorn Driver on nodes allowed to run Longhorn components.
@ -400,12 +417,24 @@ longhornDriver:
## and uncomment this example block ## and uncomment this example block
# label-key1: "label-value1" # label-key1: "label-value1"
# label-key2: "label-value2" # label-key2: "label-value2"
longhornUI: longhornUI:
# -- Replica count for Longhorn UI. # -- Replica count for Longhorn UI.
replicas: 2 replicas: 2
# -- PriorityClass for Longhorn UI. # -- PriorityClass for Longhorn UI.
priorityClass: *defaultPriorityClassNameRef priorityClass: *defaultPriorityClassNameRef
# -- Affinity for Longhorn UI pods. Specify the affinity you want to use for Longhorn UI.
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- longhorn-ui
topologyKey: kubernetes.io/hostname
# -- Toleration for Longhorn UI on nodes allowed to run Longhorn components. # -- Toleration for Longhorn UI on nodes allowed to run Longhorn components.
tolerations: [] tolerations: []
## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above
@ -420,33 +449,24 @@ longhornUI:
## and uncomment this example block ## and uncomment this example block
# label-key1: "label-value1" # label-key1: "label-value1"
# label-key2: "label-value2" # label-key2: "label-value2"
ingress: ingress:
# -- Setting that allows Longhorn to generate ingress records for the Longhorn UI service. # -- Setting that allows Longhorn to generate ingress records for the Longhorn UI service.
enabled: false enabled: false
# -- IngressClass resource that contains ingress configuration, including the name of the Ingress controller. # -- IngressClass resource that contains ingress configuration, including the name of the Ingress controller.
# ingressClassName can replace the kubernetes.io/ingress.class annotation used in earlier Kubernetes releases. # ingressClassName can replace the kubernetes.io/ingress.class annotation used in earlier Kubernetes releases.
ingressClassName: ~ ingressClassName: ~
# -- Hostname of the Layer 7 load balancer. # -- Hostname of the Layer 7 load balancer.
host: sslip.io host: sslip.io
# -- Setting that allows you to enable TLS on ingress records. # -- Setting that allows you to enable TLS on ingress records.
tls: false tls: false
# -- Setting that allows you to enable secure connections to the Longhorn UI service via port 443. # -- Setting that allows you to enable secure connections to the Longhorn UI service via port 443.
secureBackends: false secureBackends: false
# -- 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. # -- 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.
tlsSecret: longhorn.local-tls tlsSecret: longhorn.local-tls
# -- Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}. # -- Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}.
path: / path: /
# -- Ingress path type. To maintain backward compatibility, the default value is "ImplementationSpecific". # -- Ingress path type. To maintain backward compatibility, the default value is "ImplementationSpecific".
pathType: ImplementationSpecific pathType: ImplementationSpecific
## If you're using kube-lego, you will want to add: ## If you're using kube-lego, you will want to add:
## kubernetes.io/tls-acme: true ## kubernetes.io/tls-acme: true
## ##
@ -473,20 +493,15 @@ ingress:
# - name: longhorn.local-tls # - name: longhorn.local-tls
# key: # key:
# certificate: # certificate:
# -- 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. # -- 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.
enablePSP: false enablePSP: false
# -- Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`. # -- Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`.
namespaceOverride: "" namespaceOverride: ""
# -- Annotation for the Longhorn Manager DaemonSet pods. This setting is optional. # -- Annotation for the Longhorn Manager DaemonSet pods. This setting is optional.
annotations: {} annotations: {}
serviceAccount: serviceAccount:
# -- Annotations to add to the service account # -- Annotations to add to the service account
annotations: {} annotations: {}
metrics: metrics:
serviceMonitor: serviceMonitor:
# -- Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components. # -- Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components.
@ -507,7 +522,6 @@ metrics:
# documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for
# formatting details. # formatting details.
metricRelabelings: [] metricRelabelings: []
## openshift settings ## openshift settings
openshift: openshift:
# -- Setting that allows Longhorn to integrate with OpenShift. # -- Setting that allows Longhorn to integrate with OpenShift.
@ -519,6 +533,7 @@ openshift:
port: 443 port: 443
# -- Port for proxy that provides access to the OpenShift web console. # -- Port for proxy that provides access to the OpenShift web console.
proxy: 8443 proxy: 8443
# -- Setting that allows Longhorn to generate code coverage profiles. # -- Setting that allows Longhorn to generate code coverage profiles.
enableGoCoverDir: false enableGoCoverDir: false
# -- Add extra objects manifests
extraObjects: []