From e8c103a3bf146eae16c1d328ffbeef89fe76edfd Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Wed, 29 Jun 2016 14:19:56 +0200 Subject: [PATCH] Add CephFS volume type --- docs/user-guide/volumes.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/user-guide/volumes.md b/docs/user-guide/volumes.md index 433deae10f..48343e4b41 100644 --- a/docs/user-guide/volumes.md +++ b/docs/user-guide/volumes.md @@ -64,6 +64,7 @@ Kubernetes supports several types of Volumes: * `flocker` * `glusterfs` * `rbd` + * `cephfs` * `gitRepo` * `secret` * `persistentVolumeClaim` @@ -307,6 +308,20 @@ simultaneous writers allowed. See the [RBD example](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/rbd/) for more details. +### cephfs + +A `cephfs` volume allows an existing CephFS volume to be +mounted into your pod. Unlike `emptyDir`, which is erased when a Pod is +removed, the contents of a `cephfs` volume are preserved and the volume is merely +unmounted. This means that a CephFS volume can be pre-populated with data, and +that data can be "handed off" between pods. CephFS can be mounted by multiple +writers simultaneously. + +__Important: You must have your own Ceph server running with the share exported +before you can use it__ + +See the [CephFS example](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/cephfs/) for more details. + ### gitRepo A `gitRepo` volume is an example of what can be done as a volume plugin. It