cleverlzc / flexibleengine-sfsturbo-csi-driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SFS-turbo CSI Driver for Kubernetes

SFS-turbo Container Storage Interface (CSI) Plugin

Prerequisite

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

Install SFS-turbo CSI driver

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

Examples

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

Note

When creating pod, it takes a while because a sfs turbo instance will be created dedicated inside of your cluter's vpc.

Links

About

License:Apache License 2.0


Languages

Language:Go 88.1%Language:Shell 8.9%Language:Makefile 2.3%Language:Dockerfile 0.6%