From d84b1b8c824de99db7f9bc2f088d044f22537638 Mon Sep 17 00:00:00 2001 From: Bogdan Luca Date: Thu, 14 Feb 2019 12:29:11 +0200 Subject: [PATCH] Add note of RBD image retention after the corresponding PV is deleted. Signed-off-by: Bogdan Luca --- Documentation/ceph-block.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/ceph-block.md b/Documentation/ceph-block.md index 1dfd200cd..e9b8276e0 100644 --- a/Documentation/ceph-block.md +++ b/Documentation/ceph-block.md @@ -58,6 +58,8 @@ Create the storage class. kubectl create -f storageclass.yaml ``` +**NOTE** As [specified by Kubernetes](https://v1-13.docs.kubernetes.io/docs/concepts/storage/persistent-volumes/#retain), when using the `Retain` reclaim policy, the ceph RBD images that back up `PersistentVolume`s will continue to exist even after the PV is deleted, and have to be cleaned up manually using `rbd rm`. + ## Consume the storage: Wordpress sample We create a sample app to consume the block storage provisioned by Rook with the classic wordpress and mysql apps.