Longhorn

Longhorn is a cloud-native distributed storage application that allows easy and persistent storage across the eco-system.
Advertisement

Longhorn

Install

  • 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

NFS

  • 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

Namespace

  • Creating a custom namespace to hold the storage.
    • Kubectl command to create the namespace:

      • kubectl create namespace storage
        
        • std out: namespace/storage created
  • This namespace will be where we store our production data.
Advertisement