One benefit of installing Longhorn through Rancher catalog is that Rancher provides authentication to the Longhorn UI.

If there is a new version of Longhorn available, you will see an Upgrade Available sign on the Catalog Apps screen. You can click Upgrade button to upgrade Longhorn manager. See more about upgrade here.

Prerequisites

Each node in the Kubernetes cluster where Longhorn is installed must fulfill these requirements.

This script can be used to check the Longhorn environment for potential issues.

Installation

  1. Optional: We recommend creating a new project for Longhorn, for example, Storage.
  2. Navigate to the cluster and project where you will install Longhorn.

    Install as a Rancher Catalog App - 图1

  3. Navigate to the Catalog Apps screen.

    Install as a Rancher Catalog App - 图2

  4. Find the Longhorn item in the catalog and click it.

    Install as a Rancher Catalog App - 图3

  5. Optional: Customize the default settings.

  6. Click Launch. Longhorn will be installed in the longhorn-system namespace.

    Install as a Rancher Catalog App - 图4

    Longhorn is now installed.

    Install as a Rancher Catalog App - 图5

  7. Click the index.html link to navigate to the Longhorn dashboard.

    Install as a Rancher Catalog App - 图6

After Longhorn has been successfully installed, you can access the Longhorn UI by navigating to the Catalog Apps screen.