This driver allows Kubernetes to access LocalStorage on Linux node.
-
安装
localstorage
组件kubectl apply -f deploy/v1.0.0 # 验证 kubectl get pod -l app=csi-ls-node -n kube-system NAME READY STATUS RESTARTS AGE pixiu-localstorage-node-7945j 3/3 Running 0 8m22s
-
安装
storageclass
kubectl apply -f deploy/storageclass.yaml # 验证 kubectl get sc pixiu-localstorage NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE pixiu-localstorage localstorage.csi.caoyingjunz.io Delete WaitForFirstConsumer false 2m54s
-
创建
pvc
验证kubectl apply -f examples/pvc.yaml # 验证 kubectl get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE test-pvc Bound pvc-2b2c809f-33b5-437f-a4b8-61906c10a3e1 1Mi RWX pixiu-localstorage 5s
- Schedule with volume status
- Volume metrics
- 搜索微信号
yingjuncz
, 备注(ls), 验证通过会加入群聊 - bilibili 技术分享
Copyright 2019 caoyingjun ([email protected]) Apache License 2.0