description:"Customize the default settings before installing Longhorn for the first time. This option will only work if the cluster hasn't installed Longhorn."
description:'Create default Disk automatically only on Nodes with the label "node.longhorn.io/create-default-disk=true" if no other Disks exist. If disabled, default Disk will be created on all new Nodes (only on first add). By default false.'
group:"Longhorn Default Settings"
type:boolean
default:"false"
- variable:defaultSettings.defaultDataPath
label:Default Data Path
description:'Default path to use for storing data on a host. By default "/var/lib/longhorn/"'
description:"If one disk's available capacity to it's maximum capacity in % is less than the minimal available percentage, the disk would become unschedulable until more space freed up. By default 25."
group:"Longhorn Default Settings"
type:int
min:0
max:100
default:25
- variable:defaultSettings.upgradeChecker
label:Enable Upgrade Checker
description:'Upgrade Checker will check for new Longhorn version periodically. When there is a new version available, it will notify the user using UI. By default true.'
group:"Longhorn Default Settings"
type:boolean
default:"true"
- variable:defaultSettings.defaultReplicaCount
label:Default Replica Count
description:"The default number of replicas when creating the volume from Longhorn UI. For Kubernetes, update the `numberOfReplicas` in the StorageClass. By default 3."
group:"Longhorn Default Settings"
type:int
min:1
max:20
default:3
- variable:defaultSettings.guaranteedEngineCPU
label:Guaranteed Engine CPU
description: '(EXPERIMENTAL FEATURE) Allow Longhorn Engine to have guaranteed CPU allocation. The value is how many CPUs should be reserved for each Engine/Replica Manager Pod created by Longhorn. For example, 0.1 means one-tenth of a CPU. This will help maintain engine stability during high node workload. It only applies to the Engine/Replica Manager Pods created after the setting took effect. WARNING:Attaching of the volume may fail or stuck while using this feature due to the resource constraint. Disabled ("0") by default.'
description:"The 'storageClassName' is for PV/PVC when creating PV/PVC for an existing Longhorn volume. Notice that it's unnecessary for users create the related StorageClass object in Kubernetes since the StorageClass would only be used as matching labels for PVC bounding purpose. By default 'longhorn-static'."
description:"In seconds. The interval to poll the backup store for updating volumes' Last Backup field. By default 300."
group:"Longhorn Default Settings"
type:int
min:0
default:300
- variable:defaultSettings.taintToleration
label:Kubernetes Taint Toleration
description:"By setting tolerations for Longhorn then adding taints for the nodes, the nodes with large storage can be dedicated to Longhorn only (to store replica data) and reject other general workloads. Multiple tolerations can be set here, and these tolerations are separated by semicolon. For example, \"key1=value1:NoSchedule; key2:NoExecute\". Notice that \"kubernetes.io\" is used as the key of all Kubernetes default tolerations, please do not contain this substring in your toleration setting."