This example shows you how to deploy Longhorn using Zarf.
Before deploying Longhorn make sure your nodes are configured with the Longhorn Installation Requirements.
You will need open-iscsi installed.
If you wish to support RWX access modes you’ll need to install an NFSv4 client on each node.
If you’re working with K3s, there is extra setup required. See Longhorn CSI on K3s.
The values file from this example was pulled using the directions at Customizing Default Settings as the path for kubelet needs to be set for K3s as per Longhorn CSI on K3s
You do not need to use the values file and can remove it from the Zarf package configuration if you’re not using K3s and don’t need that variable set.