Skip to content

Longhorn

前置条件

https://longhorn.io/docs/1.5.3/deploy/install/#installation-requirements

# 环境检查
curl -sSfL https://raw.githubusercontent.com/longhorn/longhorn/v1.5.3/scripts/environment_check.sh | bash

# 自动安装 open-iscsi 和 nfs-client
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.5.3/deploy/prerequisite/longhorn-iscsi-installation.yaml
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.5.3/deploy/prerequisite/longhorn-nfs-installation.yaml

# 手动安装
apt install open-iscsi nfs-common -y
systemctl enable iscsid --now