doc: document csi naming "prefix" as the rook operator namespace
Update the rbd and cephfs docs to include the new prefixed style of name for the rook-managed csi instances. Document that this prefix must match the namespace the rook operator is deployed in. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
1 parent
dd7a82fdc2
commit
e67b0317c7
2 files changed
+14
-2
No files matched your search
@@ -45,7 +45,8 @@ apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: rook-ceph-block
|
||||
provisioner: rbd.csi.ceph.com
|
||||
# Change "rook-ceph" provisioner prefix to match the operator namespace if needed
|
||||
provisioner: rook-ceph.rbd.csi.ceph.com
|
||||
parameters:
|
||||
# clusterID is the namespace where the rook cluster is running
|
||||
clusterID: rook-ceph
|
||||
@@ -60,6 +61,11 @@ parameters:
|
||||
reclaimPolicy: Delete
|
||||
```
|
||||
|
||||
If you've deployed the Rook operator in a namespace other than "rook-ceph"
|
||||
as is common change the prefix in the provisioner to match the namespace
|
||||
you used. For example, if the Rook operator is running in "rook-op" the
|
||||
provisioner value should be "rook-op.rbd.csi.ceph.com".
|
||||
|
||||
Create the storage class.
|
||||
```bash
|
||||
kubectl create -f cluster/examples/kubernetes/ceph/csi/rbd/storageclass.yaml
|
||||
|
||||
@@ -86,7 +86,8 @@ apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: rook-cephfs
|
||||
provisioner: cephfs.csi.ceph.com
|
||||
# Change "rook-ceph" provisioner prefix to match the operator namespace if needed
|
||||
provisioner: rook-ceph.cephfs.csi.ceph.com
|
||||
parameters:
|
||||
# clusterID is the namespace where operator is deployed.
|
||||
clusterID: rook-ceph
|
||||
@@ -112,6 +113,11 @@ parameters:
|
||||
reclaimPolicy: Delete
|
||||
```
|
||||
|
||||
If you've deployed the Rook operator in a namespace other than "rook-ceph"
|
||||
as is common change the prefix in the provisioner to match the namespace
|
||||
you used. For example, if the Rook operator is running in "rook-op" the
|
||||
provisioner value should be "rook-op.rbd.csi.ceph.com".
|
||||
|
||||
Create the storage class.
|
||||
```bash
|
||||
kubectl create -f cluster/examples/kubernetes/ceph/csi/cephfs/storageclass.yaml
|
||||
|
||||
Reference in new issue
Block a user