Longhorn 存储搭建 · 语雀
2019年11月28日
Longhorn 存储搭建
本文指导如何在 Rancher UI 中搭建 Longhorn 存储。GitHub
环境
- Docker v1.13+
- Kubernetes v1.8+. Recommend v1.12+.
open-iscsi
has been installed on all the nodes of the Kubernetes cluster.
-
- For GKE, recommended Ubuntu as guest OS image since it contains open-iscsi already.
- For Debian/Ubuntu, use
apt-get install open-iscsi
to install. - For RHEL/CentOS, use
yum install iscsi-initiator-utils
to install.
步骤
- 在集群机器上执行
yum install iscsi-initiator-utils
- 在 Rancher UI 的应用商店里找到 Longhorn,是官方的 Chart。默认启动即可。
- 安装完毕,访问 Dashboard