From 2983a76e112880e8b7bcaf2edaf4e423bb6eac1c Mon Sep 17 00:00:00 2001 From: Blaine Gardner Date: Tue, 31 Jan 2023 15:15:33 -0700 Subject: [PATCH] docs: add export path example for NFS CSI Add an example of getting the export path for an NFS PVC to the NFS CSI docs. Signed-off-by: Blaine Gardner (cherry picked from commit 935b1375900e9b72eb364383e2b1eb0289e398d9) --- .../Storage-Configuration/NFS/nfs-csi-driver.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/Storage-Configuration/NFS/nfs-csi-driver.md b/Documentation/Storage-Configuration/NFS/nfs-csi-driver.md index 640d12f56..014d014ab 100644 --- a/Documentation/Storage-Configuration/NFS/nfs-csi-driver.md +++ b/Documentation/Storage-Configuration/NFS/nfs-csi-driver.md @@ -96,7 +96,14 @@ application pod. ### Connecting to an export directly After a PVC is created successfully, the `share` parameter set on the resulting PV contains the -`share` path which can be used as the export path when [mounting the export manually](nfs.md#mounting-exports). +`share` path which can be used as the export path when +[mounting the export manually](nfs.md#mounting-exports). In the example below +`/0001-0009-rook-ceph-0000000000000001-55c910f9-a1af-11ed-9772-1a471870b2f5` is the export path. + +```console +$ kubectl get pv pvc-b559f225-de79-451b-a327-3dbec1f95a1c -o jsonpath='{.spec.csi.volumeAttributes}' +/0001-0009-rook-ceph-0000000000000001-55c910f9-a1af-11ed-9772-1a471870b2f5 +``` ## Taking snapshots of NFS exports