Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.94 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.94 KB

SFS CSI Driver for Kubernetes

SFS Container Storage Interface (CSI) Plugin makes it possible to use SFS with your self-built Kubernetes cluster on Flexible Engine

Prerequisite

  • The driver initialization depends on a cloud config file. Make sure it's in /etc/sfs/cloud-config on your node.

Install SFS CSI driver

kubectl apply -f https://raw.githubusercontent.com/FlexibleEngineCloud/flexibleengine-sfs-csi-driver/master/deploy/sfs-csi-plugin/kubernetes/rbac-csi-sfs-controller.yaml
kubectl apply -f https://raw.githubusercontent.com/FlexibleEngineCloud/flexibleengine-sfs-csi-driver/master/deploy/sfs-csi-plugin/kubernetes/rbac-csi-sfs-node.yaml
kubectl apply -f https://raw.githubusercontent.com/FlexibleEngineCloud/flexibleengine-sfs-csi-driver/master/deploy/sfs-csi-plugin/kubernetes/csi-sfs-controller.yaml
kubectl apply -f https://raw.githubusercontent.com/FlexibleEngineCloud/flexibleengine-sfs-csi-driver/master/deploy/sfs-csi-plugin/kubernetes/csi-sfs-node.yaml
kubectl apply -f https://raw.githubusercontent.com/FlexibleEngineCloud/flexibleengine-sfs-csi-driver/master/deploy/sfs-csi-plugin/kubernetes/csi-sfs-driver.yaml

Examples

kubectl apply -f https://raw.githubusercontent.com/FlexibleEngineCloud/flexibleengine-sfs-csi-driver/master/examples/sfs-csi-plugin/kubernetes/sc.yaml
kubectl apply -f https://raw.githubusercontent.com/FlexibleEngineCloud/flexibleengine-sfs-csi-driver/master/examples/sfs-csi-plugin/kubernetes/pvc.yaml
kubectl apply -f https://raw.githubusercontent.com/FlexibleEngineCloud/flexibleengine-sfs-csi-driver/master/examples/sfs-csi-plugin/kubernetes/pod.yaml

Links