Fluid, 在云上为大数据以及AI应用的弹性数据提供抽象和加速服务。
使用 Helm 安装 Fluid
$ kubectl create ns fluid-system
# 基于下载包文件进行安装
$ helm install fluid fluid.tgz
卸载 Fluid (按需)
为了安全的卸载fluid,在卸载前,首先需要检查fluid相关的自定义资源对象是否已被清除:
kubectl get crds -o custom-columns=NAME:.metadata.name | grep data.fluid.io | sed ':t;N;s/\n/,/;b t' | xargs kubectl get --all-namespaces
如果确认已经删除所有资源对象,则可以安全卸载fluid:
$ helm delete fluid
$ kubectl delete -f fluid/crds
$ kubectl delete ns fluid-system
安装后检验
安装并查看 Fluid 运行状态 (Pod/DaemonSet/deployment)
[fluid]# kubectl -n fluid-system get pod
NAME READY STATUS RESTARTS AGE
csi-nodeplugin-fluid-p2mzl 2/2 Running 0 25h
csi-nodeplugin-fluid-snvzm 2/2 Running 0 25h
csi-nodeplugin-fluid-wlzfw 2/2 Running 0 25h
dataset-controller-77cfc8f9bf-vtl2z 1/1 Running 0 25h
fluid-webhook-5f76bb6567-254gp 1/1 Running 0 25h
fluidapp-controller-b7c4d5579-7658r 1/1 Running 0 25h
# csi-nodeplugin-fluid-* 将每个Node节点部署一个插件服务
[fluid]# kubectl -n fluid-system get daemonset
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
csi-nodeplugin-fluid 3 3 3 3 3 <none> 25h
# alluxioruntime / jindoruntime / goosefsruntime / juicefsruntime
# 运行时初始化状态为0
[fluid]# kubectl -n fluid-system get deploy
NAME READY UP-TO-DATE AVAILABLE AGE
dataset-controller 1/1 1 1 25h
fluid-webhook 1/1 1 1 25h
fluidapp-controller 1/1 1 1 25h
alluxioruntime-controller 0/0 0 0 25h
goosefsruntime-controller 0/0 0 0 25h
jindoruntime-controller 0/0 0 0 25h
juicefsruntime-controller 0/0 0 0 25h
~~ Finish ~~
网友评论