Guides
Install Longhorn Storage
This guide is used for deploying Longhorn on Kubernetes.
Ensure that the Kubernetes environment v1.18 or higher before deploying, and only supports CentOS/Ubuntu/Debian systems.
All the packages introduced below can be downloaded from the Netdisk. Two kinds of architectures(AMD64, ARM64) packages are provides from the link:
https://pan.baidu.com/s/1lWLyyT1jAbADGuxEG3m4gA
Password: ge4d
Installation Package Preparation
Path: iManager部署包/软件工具包/Longhorn-云原生Kubernetes分布式存储平台离线安装包/longhorn-amd64-deploy.zip
Install Longhorn
- Unzip the
longhorn-amd64-deploy.zip
package on the local machine -
Copy the
supermap-longhorn
folder to any of the Kubernetes machineEnter the
supermap-longhorn
folder:cd supermap-longhorn
If Install on Kubernetes Master node, Execute:
chmod +x supermap-longhorn.sh ./supermap-longhorn.sh m
If Install on Kubernetes Worker node, Execute:
chmod +x supermap-longhorn.sh ./supermap-longhorn.sh n
-
After installing successfully, obtain the StorageClass name of Longhorn installed, Execute:
kubectl get sc
- In the Configuring Environment Dependency step for Install iManager, choose the StorageClass option and fill in the obtained name.
- When modifying values.yaml file in Install GIS Cloud Suite - Kubernetes, fill the name above in the option deploy_storage_class_name.
Uninstall Longhorn on Kubernetes Master node
Execute:
./supermap-longhorn.sh d