Container storage interface is an industry standard that enables storage vendors to develop a plugin once and have it work across a number of container orchestration systems.
SeaweedFS is a simple and highly scalable distributed file system, to store and serve billions of files fast!
kubectl)Git clone this repository and add your SeaweedFS master IP to deploy/kubernetes/seaweedfs-csi.yaml (2 places)
Apply the container storage interface for SeaweedFS for your cluster
$ kubectl apply -f deploy/kubernetes/seaweedfs-csi.yaml
$ kubectl get po -n kube-system
seaweedfs-csi-pvc with storage class seaweedfs-storage. The value, 5Gib does not have any significance as for SeaweedFS the whole filesystem is mounted into the container.$ kubectl apply -f deploy/kubernetes/sample-seaweedfs-pvc.yaml
Bound$ kubectl get pvc
Bound state, create a sample workload mounting that volume$ kubectl apply -f deploy/kubernetes/sample-busybox-pod.yaml
$ kubectl exec my-csi-app -- df -h
$ kubectl delete -f deploy/kubernetes/sample-busybox-pod.yaml
$ kubectl delete -f deploy/kubernetes/sample-seaweedfs-pvc.yaml
$ kubectl delete -f deploy/kubernetes/seaweedfs-csi.yaml
git clone https://github.com/seaweedfs/seaweedfs-csi-driver.git
helm install --set seaweedfsFiler=<filerHost:port> seaweedfs-csi-driver ./seaweedfs-csi-driver/deploy/helm/seaweedfs-csi-driver
helm uninstall seaweedfs-csi-driver
When update DaemonSet ( DS ) break processes who implements fuse mount. And now new pod not remount net device
For better safe update use node.updateStrategy.type: OnDelete in this need manual update. Steps:
Participation in this project is governed by Kubernetes/CNCF code of conduct
Content type
Image
Digest
sha256:ee221142e…
Size
21.9 MB
Last updated
about 10 hours ago
docker pull chrislusf/seaweedfs-csi-driver