Alibaba cloud CSI plugins implement an interface between CSI enabled Container Orchestrator and Alibaba Cloud Storage. It allows dynamically provision Disk volumes and attach it to workloads. Current implementation of CSI plugins was tested in Kubernetes environment (requires Kubernetes 1.10+).
Current Support: Alibaba cloud Disk, OSS, NAS;
CSI using with Kubrentes:
Kubernetes | CSI Version | CSI Status |
---|---|---|
v1.9 | v0.1 | Alpha |
v1.10 | v0.2 | Beta |
v1.11 | v0.3 | Beta |
v1.12 | v0.3 | Beta |
v1.13 | v1.0.0 | GA |
Enable Feature gates:
--feature-gates=VolumeSnapshotDataSource=true,CSINodeInfo=true,CSIDriverRegistry=true
Enable Privileged:
enable kube-apiserver with --allow-privileged=true ...
enable kubelet with --allow-privileged=true ...
Create CRDs for csidriver、csinodeinfo:
# kubectl create -f https://raw.githubusercontent.com/kubernetes/csi-api/ab0df28581235f5350f27ce9c27485850a3b2802/pkg/crd/testdata/csidriver.yaml --validate=false
# kubectl create -f https://raw.githubusercontent.com/kubernetes/csi-api/ab0df28581235f5350f27ce9c27485850a3b2802/pkg/crd/testdata/csinodeinfo.yaml --validate=false
# kubectl create -f ./deploy/rbac.yaml
CSI v1.0.0 should be supported by below externals:
quay.io/k8scsi/csi-attacher:v1.0.0
quay.io/k8scsi/csi-snapshotter:v1.0.0
quay.io/k8scsi/csi-provisioner:v1.0.0
quay.io/k8scsi/csi-node-driver-registrar:v1.0.1
Disk csi-plugin support Alicloud disk provision and attachment. And alicloud disk is type of block storage, can only used as ReadWriteOnce mode. Only be attached to one node at the same time.
More detail information pls refer to Disk.
Nas csi-plugin can support alicloud nas mount, and does not support provision nas volume. Nas storage is type of network storage and can be mount by multi nodes at the same time.
More detail information pls refer to NAS.
OSS csi-plugin support Alicloud oss mount, and does not support provision volume.
More detail information pls refer to OSS.
Please submit an issue at: Issues