Settings
To setup setting before installing Longhorn, see Customized Default Setting for details.
s3://backupbucket@us-east-1/backupstore
s3-secret
300
false
node.longhorn.io/create-default-disk=true
if no other Disks exist. If disabled, the default Disk will be created on all new Nodes when the node was detected for the first time./var/lib/longhorn
Create Default Disk on Labeled Nodes
option, to make Longhorn only use the nodes with specific storage mounted at e.g. /opt/longhorn
directory when scaling the cluster.longhornio/longhorn-engine:v0.6.0
true
v0.6.0
Upgrade Checker
is enabled.3
numberOfReplicas
in the StorageClass0.2
longhorn-static
storageClassName
is for PV/PVC when creating PV/PVC for an existing Longhorn volume. Notice that it’s unnecessary for users to 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’.nodetype=storage:NoSchedule
true
false
. The volume may be kept in Degraded
state until another node that doesn’t already have a replica scheduled comes online.500
10
© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.