2019-05-08 17:21:58 +00:00
|
|
|
# Default values for longhorn.
|
|
|
|
# This is a YAML-formatted file.
|
|
|
|
# Declare variables to be passed into your templates.
|
2020-09-29 09:16:09 +00:00
|
|
|
global:
|
|
|
|
cattle:
|
|
|
|
systemDefaultRegistry: ""
|
2022-07-22 10:44:56 +00:00
|
|
|
windowsCluster:
|
|
|
|
# Enable this to allow Longhorn to run on the Rancher deployed Windows cluster
|
|
|
|
enabled: false
|
|
|
|
# Tolerate Linux node taint
|
|
|
|
tolerations:
|
|
|
|
- key: "cattle.io/os"
|
|
|
|
value: "linux"
|
|
|
|
effect: "NoSchedule"
|
|
|
|
operator: "Equal"
|
|
|
|
# Select Linux nodes
|
|
|
|
nodeSelector:
|
|
|
|
kubernetes.io/os: "linux"
|
|
|
|
# Recognize toleration and node selector for Longhorn run-time created components
|
|
|
|
defaultSetting:
|
|
|
|
taintToleration: cattle.io/os=linux:NoSchedule
|
|
|
|
systemManagedComponentsNodeSelector: kubernetes.io/os:linux
|
2020-09-29 09:16:09 +00:00
|
|
|
|
2019-05-08 17:21:58 +00:00
|
|
|
image:
|
|
|
|
longhorn:
|
2020-09-29 09:16:09 +00:00
|
|
|
engine:
|
|
|
|
repository: longhornio/longhorn-engine
|
2023-10-26 09:41:30 +00:00
|
|
|
tag: v1.4.4
|
2020-09-29 09:16:09 +00:00
|
|
|
manager:
|
|
|
|
repository: longhornio/longhorn-manager
|
2023-10-26 09:41:30 +00:00
|
|
|
tag: v1.4.4
|
2020-09-29 09:16:09 +00:00
|
|
|
ui:
|
|
|
|
repository: longhornio/longhorn-ui
|
2023-10-26 09:41:30 +00:00
|
|
|
tag: v1.4.4
|
2020-09-29 09:16:09 +00:00
|
|
|
instanceManager:
|
|
|
|
repository: longhornio/longhorn-instance-manager
|
2023-10-26 09:41:30 +00:00
|
|
|
tag: v1.4.4
|
2020-12-07 05:32:05 +00:00
|
|
|
shareManager:
|
|
|
|
repository: longhornio/longhorn-share-manager
|
2023-10-26 09:41:30 +00:00
|
|
|
tag: v1.4.4
|
2021-04-05 11:46:30 +00:00
|
|
|
backingImageManager:
|
|
|
|
repository: longhornio/backing-image-manager
|
2023-10-26 09:41:30 +00:00
|
|
|
tag: v1.4.4
|
2022-11-21 08:04:00 +00:00
|
|
|
supportBundleKit:
|
|
|
|
repository: longhornio/support-bundle-kit
|
2023-08-18 04:07:01 +00:00
|
|
|
tag: v0.0.27
|
2020-09-29 09:16:09 +00:00
|
|
|
csi:
|
|
|
|
attacher:
|
2021-11-16 23:03:58 +00:00
|
|
|
repository: longhornio/csi-attacher
|
2022-05-31 08:37:47 +00:00
|
|
|
tag: v3.4.0
|
2020-09-29 09:16:09 +00:00
|
|
|
provisioner:
|
2021-11-16 23:03:58 +00:00
|
|
|
repository: longhornio/csi-provisioner
|
2021-08-24 21:17:21 +00:00
|
|
|
tag: v2.1.2
|
2020-09-29 09:16:09 +00:00
|
|
|
nodeDriverRegistrar:
|
2021-11-16 23:03:58 +00:00
|
|
|
repository: longhornio/csi-node-driver-registrar
|
2022-05-31 08:37:47 +00:00
|
|
|
tag: v2.5.0
|
2020-09-29 09:16:09 +00:00
|
|
|
resizer:
|
2021-11-16 23:03:58 +00:00
|
|
|
repository: longhornio/csi-resizer
|
2022-10-11 00:47:36 +00:00
|
|
|
tag: v1.3.0
|
2020-10-12 04:38:12 +00:00
|
|
|
snapshotter:
|
2021-11-16 23:03:58 +00:00
|
|
|
repository: longhornio/csi-snapshotter
|
2022-10-11 00:47:36 +00:00
|
|
|
tag: v5.0.1
|
2022-11-28 01:25:02 +00:00
|
|
|
livenessProbe:
|
|
|
|
repository: longhornio/livenessprobe
|
|
|
|
tag: v2.8.0
|
2019-05-08 17:21:58 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
service:
|
|
|
|
ui:
|
2020-02-26 23:16:36 +00:00
|
|
|
type: ClusterIP
|
|
|
|
nodePort: null
|
2019-05-08 17:21:58 +00:00
|
|
|
manager:
|
|
|
|
type: ClusterIP
|
|
|
|
nodePort: ""
|
2022-01-03 13:05:28 +00:00
|
|
|
loadBalancerIP: ""
|
|
|
|
loadBalancerSourceRanges: ""
|
2019-05-08 17:21:58 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
defaultClass: true
|
2021-09-02 18:17:07 +00:00
|
|
|
defaultFsType: ext4
|
2022-11-21 16:05:35 +00:00
|
|
|
defaultMkfsParams: ""
|
2019-05-08 21:05:55 +00:00
|
|
|
defaultClassReplicaCount: 3
|
2022-03-01 08:30:48 +00:00
|
|
|
defaultDataLocality: disabled # best-effort otherwise
|
2020-09-26 13:11:12 +00:00
|
|
|
reclaimPolicy: Delete
|
2022-04-21 05:54:07 +00:00
|
|
|
migratable: false
|
2021-08-17 03:11:42 +00:00
|
|
|
recurringJobSelector:
|
2020-11-11 12:08:22 +00:00
|
|
|
enable: false
|
|
|
|
jobList: []
|
2021-08-25 13:49:11 +00:00
|
|
|
backingImage:
|
|
|
|
enable: false
|
|
|
|
name: ~
|
|
|
|
dataSourceType: ~
|
|
|
|
dataSourceParameters: ~
|
|
|
|
expectedChecksum: ~
|
2022-09-21 09:23:01 +00:00
|
|
|
defaultNodeSelector:
|
|
|
|
enable: false # disable by default
|
2023-04-05 11:16:10 +00:00
|
|
|
selector: ""
|
2022-11-22 13:07:09 +00:00
|
|
|
removeSnapshotsDuringFilesystemTrim: ignored # "enabled" or "disabled" otherwise
|
2020-09-30 12:18:33 +00:00
|
|
|
|
2019-05-08 17:21:58 +00:00
|
|
|
csi:
|
2020-05-14 18:27:02 +00:00
|
|
|
kubeletRootDir: ~
|
|
|
|
attacherReplicaCount: ~
|
|
|
|
provisionerReplicaCount: ~
|
|
|
|
resizerReplicaCount: ~
|
2020-10-12 04:38:12 +00:00
|
|
|
snapshotterReplicaCount: ~
|
2019-05-08 17:21:58 +00:00
|
|
|
|
2019-08-12 21:17:44 +00:00
|
|
|
defaultSettings:
|
2020-05-14 18:27:02 +00:00
|
|
|
backupTarget: ~
|
|
|
|
backupTargetCredentialSecret: ~
|
2020-10-23 23:39:05 +00:00
|
|
|
allowRecurringJobWhileVolumeDetached: ~
|
2020-05-14 18:27:02 +00:00
|
|
|
createDefaultDiskLabeledNodes: ~
|
|
|
|
defaultDataPath: ~
|
2020-11-11 12:08:22 +00:00
|
|
|
defaultDataLocality: ~
|
2020-05-14 18:27:02 +00:00
|
|
|
replicaSoftAntiAffinity: ~
|
2021-06-16 06:03:44 +00:00
|
|
|
replicaAutoBalance: ~
|
2020-05-14 18:27:02 +00:00
|
|
|
storageOverProvisioningPercentage: ~
|
|
|
|
storageMinimalAvailablePercentage: ~
|
|
|
|
upgradeChecker: ~
|
|
|
|
defaultReplicaCount: ~
|
|
|
|
defaultLonghornStaticStorageClass: ~
|
|
|
|
backupstorePollInterval: ~
|
2022-08-17 02:41:03 +00:00
|
|
|
failedBackupTTL: ~
|
2022-11-25 07:14:56 +00:00
|
|
|
restoreVolumeRecurringJobs: ~
|
2022-09-28 09:53:13 +00:00
|
|
|
recurringSuccessfulJobsHistoryLimit: ~
|
|
|
|
recurringFailedJobsHistoryLimit: ~
|
2022-11-21 08:04:00 +00:00
|
|
|
supportBundleFailedHistoryLimit: ~
|
2020-05-14 18:27:02 +00:00
|
|
|
taintToleration: ~
|
2021-04-13 22:50:25 +00:00
|
|
|
systemManagedComponentsNodeSelector: ~
|
2020-07-14 22:29:20 +00:00
|
|
|
priorityClass: ~
|
2020-05-20 04:44:35 +00:00
|
|
|
autoSalvage: ~
|
2020-10-23 23:39:05 +00:00
|
|
|
autoDeletePodWhenVolumeDetachedUnexpectedly: ~
|
2020-05-20 04:44:35 +00:00
|
|
|
disableSchedulingOnCordonedNode: ~
|
|
|
|
replicaZoneSoftAntiAffinity: ~
|
2020-10-23 23:39:05 +00:00
|
|
|
nodeDownPodDeletionPolicy: ~
|
|
|
|
allowNodeDrainWithLastHealthyReplica: ~
|
2023-06-02 15:40:58 +00:00
|
|
|
nodeDrainPolicy: ~
|
2020-05-20 04:44:35 +00:00
|
|
|
mkfsExt4Parameters: ~
|
2020-10-23 23:39:05 +00:00
|
|
|
disableReplicaRebuild: ~
|
2020-11-11 12:08:22 +00:00
|
|
|
replicaReplenishmentWaitInterval: ~
|
2021-09-16 11:39:22 +00:00
|
|
|
concurrentReplicaRebuildPerNodeLimit: ~
|
2022-12-05 05:53:58 +00:00
|
|
|
concurrentVolumeBackupRestorePerNodeLimit: ~
|
2020-10-23 23:39:05 +00:00
|
|
|
disableRevisionCounter: ~
|
|
|
|
systemManagedPodsImagePullPolicy: ~
|
|
|
|
allowVolumeCreationWithDegradedAvailability: ~
|
|
|
|
autoCleanupSystemGeneratedSnapshot: ~
|
2021-01-28 21:51:48 +00:00
|
|
|
concurrentAutomaticEngineUpgradePerNodeLimit: ~
|
2021-02-02 12:07:08 +00:00
|
|
|
backingImageCleanupWaitInterval: ~
|
2021-09-03 05:47:19 +00:00
|
|
|
backingImageRecoveryWaitInterval: ~
|
2021-03-08 06:39:54 +00:00
|
|
|
guaranteedEngineManagerCPU: ~
|
|
|
|
guaranteedReplicaManagerCPU: ~
|
2022-04-21 04:26:02 +00:00
|
|
|
kubernetesClusterAutoscalerEnabled: ~
|
2022-04-27 05:13:19 +00:00
|
|
|
orphanAutoDeletion: ~
|
2022-05-16 14:59:25 +00:00
|
|
|
storageNetwork: ~
|
2022-10-13 05:56:05 +00:00
|
|
|
deletingConfirmationFlag: ~
|
2022-11-15 10:03:06 +00:00
|
|
|
engineReplicaTimeout: ~
|
2022-11-17 04:24:24 +00:00
|
|
|
snapshotDataIntegrity: ~
|
|
|
|
snapshotDataIntegrityImmediateCheckAfterSnapshotCreation: ~
|
|
|
|
snapshotDataIntegrityCronjob: ~
|
2022-11-22 13:07:09 +00:00
|
|
|
removeSnapshotsDuringFilesystemTrim: ~
|
2022-11-30 05:03:31 +00:00
|
|
|
fastReplicaRebuildEnabled: ~
|
2022-12-21 06:09:07 +00:00
|
|
|
replicaFileSyncHttpClientTimeout: ~
|
2020-03-19 22:20:09 +00:00
|
|
|
privateRegistry:
|
2022-03-18 05:50:45 +00:00
|
|
|
createSecret: ~
|
2020-05-14 18:27:02 +00:00
|
|
|
registryUrl: ~
|
|
|
|
registryUser: ~
|
|
|
|
registryPasswd: ~
|
2020-11-21 06:38:04 +00:00
|
|
|
registrySecret: ~
|
2019-08-12 21:17:44 +00:00
|
|
|
|
2021-03-15 19:12:28 +00:00
|
|
|
longhornManager:
|
2022-07-20 15:36:18 +00:00
|
|
|
log:
|
|
|
|
## Allowed values are `plain` or `json`.
|
|
|
|
format: plain
|
2021-03-15 19:12:28 +00:00
|
|
|
priorityClass: ~
|
|
|
|
tolerations: []
|
|
|
|
## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above
|
|
|
|
## and uncomment this example block
|
|
|
|
# - key: "key"
|
|
|
|
# operator: "Equal"
|
|
|
|
# value: "value"
|
|
|
|
# effect: "NoSchedule"
|
2021-04-13 22:50:25 +00:00
|
|
|
nodeSelector: {}
|
|
|
|
## If you want to set node selector for Longhorn Manager DaemonSet, delete the `{}` in the line above
|
|
|
|
## and uncomment this example block
|
|
|
|
# label-key1: "label-value1"
|
|
|
|
# label-key2: "label-value2"
|
2022-07-20 10:16:34 +00:00
|
|
|
serviceAnnotations: {}
|
2022-07-21 08:07:48 +00:00
|
|
|
## If you want to set annotations for the Longhorn Manager service, delete the `{}` in the line above
|
2022-07-20 10:16:34 +00:00
|
|
|
## and uncomment this example block
|
|
|
|
# annotation-key1: "annotation-value1"
|
|
|
|
# annotation-key2: "annotation-value2"
|
2021-03-15 19:12:28 +00:00
|
|
|
|
|
|
|
longhornDriver:
|
|
|
|
priorityClass: ~
|
|
|
|
tolerations: []
|
2021-04-13 22:50:25 +00:00
|
|
|
## If you want to set tolerations for Longhorn Driver Deployer Deployment, delete the `[]` in the line above
|
2021-03-15 19:12:28 +00:00
|
|
|
## and uncomment this example block
|
|
|
|
# - key: "key"
|
|
|
|
# operator: "Equal"
|
|
|
|
# value: "value"
|
|
|
|
# effect: "NoSchedule"
|
2021-04-13 22:50:25 +00:00
|
|
|
nodeSelector: {}
|
|
|
|
## If you want to set node selector for Longhorn Driver Deployer Deployment, delete the `{}` in the line above
|
|
|
|
## and uncomment this example block
|
|
|
|
# label-key1: "label-value1"
|
|
|
|
# label-key2: "label-value2"
|
2021-03-15 19:12:28 +00:00
|
|
|
|
|
|
|
longhornUI:
|
2022-12-15 07:22:12 +00:00
|
|
|
replicas: 2
|
2021-03-15 19:12:28 +00:00
|
|
|
priorityClass: ~
|
|
|
|
tolerations: []
|
2021-04-13 22:50:25 +00:00
|
|
|
## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above
|
2021-03-15 19:12:28 +00:00
|
|
|
## and uncomment this example block
|
|
|
|
# - key: "key"
|
|
|
|
# operator: "Equal"
|
|
|
|
# value: "value"
|
|
|
|
# effect: "NoSchedule"
|
2021-04-13 22:50:25 +00:00
|
|
|
nodeSelector: {}
|
|
|
|
## If you want to set node selector for Longhorn UI Deployment, delete the `{}` in the line above
|
|
|
|
## and uncomment this example block
|
|
|
|
# label-key1: "label-value1"
|
|
|
|
# label-key2: "label-value2"
|
2021-03-15 19:12:28 +00:00
|
|
|
|
2022-12-16 07:59:58 +00:00
|
|
|
longhornConversionWebhook:
|
|
|
|
replicas: 2
|
|
|
|
priorityClass: ~
|
|
|
|
tolerations: []
|
|
|
|
## If you want to set tolerations for Longhorn conversion webhook Deployment, delete the `[]` in the line above
|
|
|
|
## and uncomment this example block
|
|
|
|
# - key: "key"
|
|
|
|
# operator: "Equal"
|
|
|
|
# value: "value"
|
|
|
|
# effect: "NoSchedule"
|
|
|
|
nodeSelector: {}
|
|
|
|
## If you want to set node selector for Longhorn conversion webhook Deployment, delete the `{}` in the line above
|
|
|
|
## and uncomment this example block
|
|
|
|
# label-key1: "label-value1"
|
|
|
|
# label-key2: "label-value2"
|
|
|
|
|
|
|
|
longhornAdmissionWebhook:
|
|
|
|
replicas: 2
|
|
|
|
priorityClass: ~
|
|
|
|
tolerations: []
|
|
|
|
## If you want to set tolerations for Longhorn admission webhook Deployment, delete the `[]` in the line above
|
|
|
|
## and uncomment this example block
|
|
|
|
# - key: "key"
|
|
|
|
# operator: "Equal"
|
|
|
|
# value: "value"
|
|
|
|
# effect: "NoSchedule"
|
|
|
|
nodeSelector: {}
|
|
|
|
## If you want to set node selector for Longhorn admission webhook Deployment, delete the `{}` in the line above
|
|
|
|
## and uncomment this example block
|
|
|
|
# label-key1: "label-value1"
|
|
|
|
# label-key2: "label-value2"
|
|
|
|
|
|
|
|
longhornRecoveryBackend:
|
|
|
|
replicas: 2
|
|
|
|
priorityClass: ~
|
|
|
|
tolerations: []
|
|
|
|
## If you want to set tolerations for Longhorn recovery backend Deployment, delete the `[]` in the line above
|
|
|
|
## and uncomment this example block
|
|
|
|
# - key: "key"
|
|
|
|
# operator: "Equal"
|
|
|
|
# value: "value"
|
|
|
|
# effect: "NoSchedule"
|
|
|
|
nodeSelector: {}
|
|
|
|
## If you want to set node selector for Longhorn recovery backend Deployment, delete the `{}` in the line above
|
|
|
|
## and uncomment this example block
|
|
|
|
# label-key1: "label-value1"
|
|
|
|
# label-key2: "label-value2"
|
|
|
|
|
2019-05-08 17:21:58 +00:00
|
|
|
ingress:
|
|
|
|
## Set to true to enable ingress record generation
|
|
|
|
enabled: false
|
|
|
|
|
2021-03-31 17:08:32 +00:00
|
|
|
## Add ingressClassName to the Ingress
|
|
|
|
## Can replace the kubernetes.io/ingress.class annotation on v1.18+
|
|
|
|
ingressClassName: ~
|
2019-05-08 17:21:58 +00:00
|
|
|
|
2021-09-05 19:03:25 +00:00
|
|
|
host: sslip.io
|
2019-05-08 17:21:58 +00:00
|
|
|
|
|
|
|
## Set this to true in order to enable TLS on the ingress record
|
|
|
|
tls: false
|
|
|
|
|
2022-05-27 15:59:22 +00:00
|
|
|
## Enable this in order to enable that the backend service will be connected at port 443
|
|
|
|
secureBackends: false
|
|
|
|
|
2019-05-08 17:21:58 +00:00
|
|
|
## If TLS is set to true, you must declare what secret will store the key/certificate for TLS
|
|
|
|
tlsSecret: longhorn.local-tls
|
|
|
|
|
2021-10-02 13:29:05 +00:00
|
|
|
## If ingress is enabled you can set the default ingress path
|
|
|
|
## then you can access the UI by using the following full path {{host}}+{{path}}
|
|
|
|
path: /
|
|
|
|
|
2019-05-08 17:21:58 +00:00
|
|
|
## Ingress annotations done as key:value pairs
|
|
|
|
## If you're using kube-lego, you will want to add:
|
|
|
|
## kubernetes.io/tls-acme: true
|
|
|
|
##
|
|
|
|
## For a full list of possible ingress annotations, please see
|
|
|
|
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md
|
|
|
|
##
|
|
|
|
## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
|
|
|
|
annotations:
|
|
|
|
# kubernetes.io/ingress.class: nginx
|
|
|
|
# kubernetes.io/tls-acme: true
|
|
|
|
|
|
|
|
secrets:
|
|
|
|
## If you're providing your own certificates, please use this to add the certificates as secrets
|
|
|
|
## key and certificate should start with -----BEGIN CERTIFICATE----- or
|
|
|
|
## -----BEGIN RSA PRIVATE KEY-----
|
|
|
|
##
|
|
|
|
## name should line up with a tlsSecret set further up
|
|
|
|
## If you're using kube-lego, this is unneeded, as it will create the secret for you if it is not set
|
|
|
|
##
|
|
|
|
## It is also possible to create and manage the certificates outside of this helm chart
|
|
|
|
## Please see README.md for more information
|
|
|
|
# - name: longhorn.local-tls
|
|
|
|
# key:
|
|
|
|
# certificate:
|
2020-07-24 09:54:23 +00:00
|
|
|
|
2022-10-11 00:47:36 +00:00
|
|
|
# For Kubernetes < v1.25, if your cluster enables Pod Security Policy admission controller,
|
|
|
|
# set this to `true` to ship longhorn-psp which allow privileged Longhorn pods to start
|
|
|
|
enablePSP: false
|
2020-12-03 15:02:28 +00:00
|
|
|
|
|
|
|
## Specify override namespace, specifically this is useful for using longhorn as sub-chart
|
|
|
|
## and its release namespace is not the `longhorn-system`
|
|
|
|
namespaceOverride: ""
|
2021-03-21 08:04:52 +00:00
|
|
|
|
2021-03-29 01:19:19 +00:00
|
|
|
# Annotations to add to the Longhorn Manager DaemonSet Pods. Optional.
|
2021-03-21 08:04:52 +00:00
|
|
|
annotations: {}
|
2021-12-17 16:00:35 +00:00
|
|
|
|
|
|
|
serviceAccount:
|
|
|
|
# Annotations to add to the service account
|
2022-03-03 18:06:00 +00:00
|
|
|
annotations: {}
|