Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placeholder doc for CSI Migration feature Cinder #13002

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions content/en/docs/concepts/storage/volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Kubernetes supports several types of Volumes:
* [secret](#secret)
* [storageos](#storageos)
* [vsphereVolume](#vspherevolume)
* [cinder](#cinder)

We welcome additional contributions.

Expand Down Expand Up @@ -1033,6 +1034,40 @@ spec:

More examples can be found [here](https://github.com/kubernetes/examples/tree/master/staging/volumes/vsphere).

### cinder {#cinder}

{{< note >}}
Prerequisite: Kubernetes with OpenStack Cloud Provider configured. For cloudprovider
configuration please refer [cloud provider openstack](https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/#openstack).
{{< /note >}}

`cinder` is used to mount OpenStack Cinder Volume into your Pod.

#### Cinder Volume Example configuration

```yaml
apiVersion: v1
kind: Pod
metadata:
name: test-cinder
spec:
containers:
- image: k8s.gcr.io/test-webserver
name: test-cinder-container
volumeMounts:
- mountPath: /test-cinder
name: test-volume
volumes:
- name: test-volume
# This OpenStack volume must already exist.
cinder:
volumeID: <volume-id>
fsType: ext4
```
{{< note >}}
CSI Migration: To enable CSI Migration for Cinder in-tree driver, `CSIMigration` and `CSIMigrationOpenStack` feature gates needs to be set true
{{< /note >}}
Copy link
Member

@ddebroy ddebroy Mar 8, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it will be helpful to also have a note pointing to the CSI driver for Cinder (that will supersede the in-tree plugin) and specify that it needs to be present and configured with the appropriate credentials for the cloud.



## Using subPath

Expand Down