https://www.yuque.com/liweiming/rancher/upzpa9
https://www.rancher.cn/longhorn
yum install iscsi-initiator-utils -y
Longhorn 1.1
https://github.com/longhorn/longhorn
https://github.com/longhorn/longhorn/releases/tag/v1.1.0
https://blog.csdn.net/networken/article/details/108234051
部署
k8s部署存储
https://longhorn.io/docs/0.8.0/install/install-with-kubectl/
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.1.0/deploy/longhorn.yaml
helm 部署
Longhorn初探 轻松实现企业级持久化存储 .pdf
推荐链接
https://mritd.com/2021/03/06/longhorn-storage-test/
卸载
https://longhorn.io/docs/1.1.0/deploy/uninstall/
kubectl api-resources -o name --verbs=list --namespaced | xargs -n 1 kubectl get --show-kind --ignore-not-found -n longhorn-system
kubectl -n longhorn-system delete pod --all --force --grace-period=0
kubectl create -f https://raw.githubusercontent.com/longhorn/longhorn/v1.1.0/uninstall/uninstall.yaml
kubectl get job/longhorn-uninstall -w
kubectl delete -f https://raw.githubusercontent.com/longhorn/longhorn/v1.1.0/deploy/longhorn.yaml
kubectl delete -f https://raw.githubusercontent.com/longhorn/longhorn/v1.1.0/uninstall/uninstall.yaml
kubectl delete namespaces longhorn-system --force --grace-period=0