Skip to content

Alicloud CSI Plugin for Kubernetes, Support csi-v1.0.0

License

Notifications You must be signed in to change notification settings

tommenx/csi-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alibaba Cloud Kubernetes CSI Plugin

Build Status CircleCI Go Report Card

Overview

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 Version Support

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

Requirements

Kubernetes Configurations

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 

RBAC

# kubectl create -f ./deploy/rbac.yaml

Plugin Dependencies

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

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

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

OSS csi-plugin support Alicloud oss mount, and does not support provision volume.

More detail information pls refer to OSS.

Troubleshooting

Please submit an issue at: Issues

About

Alicloud CSI Plugin for Kubernetes, Support csi-v1.0.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.3%
  • Shell 2.0%
  • Dockerfile 1.7%