This current information sheet is in reference to Longhorn 1.3v , be aware that 1.4v will be in production around 2023. Thus this might become obsolete information.
Before installing, look over the requirements for storage.
Requirements for 1.3v Longhorn
Ubuntu NFS Setup
Make sure system is updated / upgrade
sudo apt-get update && sudo apt-get upgrade -y
Install nfs-common
and nfs-kernel-server
sudo apt-get install nfs-common nfs-kernel-server -y
Creating a custom namespace to hold the storage.
Kubectl command to create the namespace:
kubectl create namespace storage
This namespace will be where we store our production data.