CSI driver for Ceph
Go to file
Niels de Vos 397825c665 util: add ConnPool for connection re-use
By using the ConnPool it is not needed to re-connect every time to the
Ceph cluster when (rbd) operations are executed through the go-ceph/rbd
API.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-03-11 16:09:10 +00:00
.github Add PR/Issue/Feature templates 2019-05-27 11:43:44 +00:00
assets feat: Adds Ceph logo as icon for Helm charts 2019-08-20 05:34:28 +00:00
charts Added forcecephkernelclient as startup parameter 2020-03-03 09:50:42 +05:30
cmd Remove mount cache for cephfs 2020-02-11 15:11:21 +00:00
deploy Remove unwanted RBAC rules from ceph-csi 2020-02-13 21:36:27 +00:00
docs added volumeNamePrefix and snapshotNamePrefix as parameters for storageClass 2020-02-25 05:03:51 +00:00
e2e added volumeNamePrefix and snapshotNamePrefix as parameters for storageClass 2020-02-25 05:03:51 +00:00
examples Reduce encryption KMS configuration SC parameters 2020-02-10 15:21:11 +00:00
pkg util: add ConnPool for connection re-use 2020-03-11 16:09:10 +00:00
scripts added volumeNamePrefix and snapshotNamePrefix as parameters for storageClass 2020-02-25 05:03:51 +00:00
troubleshooting/tools Trace backend volume from pvc 2019-08-26 14:42:12 +00:00
vendor dep: add github.com/ceph/go-ceph for rbd API 2020-03-11 16:09:10 +00:00
.gitignore Delete IDE releated files in .gitignore 2019-10-17 08:17:27 +00:00
.mergify.yml Update mergify to release-v2.0 2020-01-20 17:33:03 +05:30
.travis.yml travis: install Ceph development packages for go-ceph 2020-03-11 16:09:10 +00:00
deploy.sh Fix branch name in notes.txt 2020-02-13 21:36:27 +00:00
Gopkg.lock dep: add github.com/ceph/go-ceph for rbd API 2020-03-11 16:09:10 +00:00
Gopkg.toml dep: add github.com/ceph/go-ceph for rbd API 2020-03-11 16:09:10 +00:00
LICENSE Removing appendix from license. 2019-08-09 15:16:46 +00:00
Makefile enable building with cgo for go-ceph usage 2020-03-11 16:09:10 +00:00
README.md refact: Remove Kubernetes 1.13.x support 2020-01-20 10:32:30 +00:00

Ceph CSI

Go Report
Card Build
Status

This repo contains Ceph Container Storage Interface (CSI) driver for RBD, CephFS and kubernetes sidecar deployment yamls of provisioner, attacher, node-driver-registrar and snapshotter for supporting CSI functionalities.

Overview

Ceph CSI plugins implement an interface between CSI enabled Container Orchestrator (CO) and Ceph cluster. It allows dynamically provisioning Ceph volumes and attaching them to workloads.

Independent CSI plugins are provided to support RBD and CephFS backed volumes,

  • For details about configuration and deployment of RBD plugin, please refer rbd doc and for CephFS plugin configuration and deployment please refer cephfs doc.
  • For example usage of RBD and CephFS CSI plugins, see examples in examples/.

NOTE:

  • Ceph CSI Arm64 support is experimental.

Project status

Status: GA

Supported CO platforms

Ceph CSI drivers are currently developed and tested exclusively on Kubernetes environments. There is work in progress to make this CO independent and thus support other orchestration environments in the future.

NOTE:

  • csiv0.3 is deprecated with release of csi v1.1.0

Support Matrix

Ceph-CSI features and available versions

Plugin Features Feature Status CSI Driver Version CSI Spec Version Ceph Cluster Version Kubernetes Version
RBD Dynamically provision, de-provision Block mode RWO volume GA >= v1.0.0 >= v1.0.0 Mimic (>=v13.0.0) >= v1.14.0
Dynamically provision, de-provision Block mode RWX volume GA >= v1.0.0 >= v1.0.0 Mimic (>=v13.0.0) >= v1.14.0
Dynamically provision, de-provision File mode RWO volume GA >= v1.0.0 >= v1.0.0 Mimic (>=v13.0.0) >= v1.14.0
Creating and deleting snapshot Alpha >= v1.0.0 >= v1.0.0 Mimic (>=v13.0.0) >= v1.14.0
Provision volume from snapshot Alpha >= v1.0.0 >= v1.0.0 Mimic (>=v13.0.0) >= v1.14.0
Provision volume from another volume - - - - -
Resize volume Beta >= v2.0.0 >= v1.1.0 Mimic (>=v13.0.0) >= v1.15.0
Metrics Support Beta >= v1.2.0 >= v1.1.0 Mimic (>=v13.0.0) >= v1.15.0
CephFS Dynamically provision, de-provision File mode RWO volume Alpha >= v1.1.0 >= v1.0.0 Nautilus (>=14.2.2) >= v1.14.0
Dynamically provision, de-provision File mode RWX volume Alpha >= v1.1.0 >= v1.0.0 Nautilus (>=v14.2.2) >= v1.14.0
Creating and deleting snapshot - - - - -
Provision volume from snapshot - - - - -
Provision volume from another volume - - - - -
Resize volume Beta >= v2.0.0 >= v1.1.0 Nautilus (>=v14.2.2) >= v1.15.0
Metrics Beta >= v1.2.0 >= v1.1.0 Nautilus (>=v14.2.2) >= v1.15.0

NOTE: The Alpha status reflects possible non-backward compatible changes in the future, and is thus not recommended for production use.

CSI spec and Kubernetes version compatibility

Please refer to the matrix in the Kubernetes documentation.

Ceph CSI Container images and release compatibility

Ceph CSI Release/Branch Container image name Image Tag
Master (Branch) quay.io/cephcsi/cephcsi canary
v1.2.2 (Release) quay.io/cephcsi/cephcsi v1.2.2
v1.2.1 (Release) quay.io/cephcsi/cephcsi v1.2.1
v1.2.0 (Release) quay.io/cephcsi/cephcsi v1.2.0
v1.1.0 (Release) quay.io/cephcsi/cephcsi v1.1.0
v1.0.0 (Branch) quay.io/cephcsi/cephfsplugin v1.0.0
v1.0.0 (Branch) quay.io/cephcsi/rbdplugin v1.0.0

Contributing to this repo

Please follow development-guide and coding style guidelines if you are interested to contribute to this repo.

Troubleshooting

Please submit an issue at: Issues

Weekly Bug Triage call

We conduct weekly bug triage calls at our slack channel on Tuesdays. More details are available here

Contact

Please use the following to reach members of the community: