CSI driver for Ceph
Go to file
ShyamsundarR e5e332eded Use correct file descriptor to parse errors
File descriptors in use to parse errors from a few command
invocations were incorrect. This led to inability to detect
certain errors cases and act accordingly.

One of the easiest noticeable issues was when an image is deleted
but its RADOS keys and maps are still intact. In such cases
the DeleteVolume call always errored out unable to find the
image rather than, proceed with cleaning up the RADOS objects
and returning a success.

The original method of using stdout was incorrect, as the command
was tested from within a shell script and the scripts STDIN/OUT/ERR
was redirected to understand behavior. This is now tested using just
the CLI in question, and also examining Ceph code, and further
testing a couple of edge conditions by deleting backing images
for PVs

Signed-off-by: ShyamsundarR <srangana@redhat.com>
2019-07-16 07:51:10 +00:00
.github Add PR/Issue/Feature templates 2019-05-27 11:43:44 +00:00
cmd Support mounting and deleting version 1.0.0 RBD volumes 2019-07-08 15:40:17 +00:00
deploy Move locks to more granular locking than CPU count based 2019-07-01 14:10:14 +00:00
docs Support mounting and deleting version 1.0.0 RBD volumes 2019-07-08 15:40:17 +00:00
e2e Modify CephFs provisioner to use the ceph mgr commands 2019-07-12 05:42:41 +00:00
examples Merge pull request #456 from Madhu-1/rbd-mount-opt 2019-07-08 10:45:07 +05:30
pkg Use correct file descriptor to parse errors 2019-07-16 07:51:10 +00:00
scripts Modify CephFs provisioner to use the ceph mgr commands 2019-07-12 05:42:41 +00:00
vendor Migrate from snapClient.VolumesnapshotV1alpha1Client to 2019-06-24 13:08:29 +00:00
.gitignore update ceph-csi to build and use a single docker image 2019-05-28 18:10:22 +00:00
.mergify.yml Default to 2 approvals for a patch to get in. 2019-04-04 07:38:02 +00:00
.travis.yml Enable Travis to run E2E against kube 1.15.0 2019-07-02 11:47:05 +00:00
deploy.sh update ceph-csi to build and use a single docker image 2019-05-28 18:10:22 +00:00
Gopkg.lock Migrate from snapClient.VolumesnapshotV1alpha1Client to 2019-06-24 13:08:29 +00:00
Gopkg.toml Migrate from snapClient.VolumesnapshotV1alpha1Client to 2019-06-24 13:08:29 +00:00
LICENSE add Apache License 2018-01-10 16:12:00 +00:00
Makefile code changes for E2E 2019-06-04 11:39:40 +05:30
README.md README update for v1.1.0 release 2019-07-12 13:19:36 +05:30

Ceph CSI

Go Report
Card Build
Status

This repo contains [Container Storage Interface(CSI)] (https://github.com/container-storage-interface/) Ceph 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/.

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
Dynamically provision, de-provision Block mode RWX volume GA >=v1.0.0 >=v1.0.0 >= Mimic >= v13.0.0
Dynamically provision, de-provision File mode RWO volume GA >=v1.0.0 >=v1.0.0 >= Mimic >= v13.0.0
Creating and deleting snapshot Alpha >=v1.0.0 >=v1.0.0 >= Mimic >= v13.0.0
Provision volume from snapshot Alpha >=v1.0.0 >=v1.0.0 >= Mimic >= v13.0.0
Provision volume from another volume - - - - -
Resize volume - - - - -
Metrics Support - - - - -
CephFS Dynamically provision, de-provision File mode RWO volume Alpha >=v1.1.0 >=v1.0.0 Nautilus >=v13.0.0
Dynamically provision, de-provision File mode RWX volume Alpha >=v1.1.0 >=v1.0.0 Nautilus >=v13.0.0
Creating and deleting snapshot - - - - -
Provision volume from snapshot - - - - -
Provision volume from another volume - - - - -
Resize volume - - - - -
Metrics - - - - -

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.

Contributing to this repo

Please follow [development-guide] (https://github.com/ceph/ceph-csi/tree/master/docs/development-guide.md) and coding style guidelines if you are interested to contribute to this repo.

Troubleshooting

Please submit an issue at: Issues

Contact

Please use the following to reach members of the community: