Skip to content

Commit e706e48

Browse files
author
Amrita
committed
BZ2007065-PVC defintion
1 parent 4642191 commit e706e48

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

modules/storage-persistent-storage-nfs-provisioning.adoc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,22 @@ spec:
7474
resources:
7575
requests:
7676
storage: 5Gi <2>
77+
volumeName: pv0001
78+
storageClassName: ""
7779
----
78-
<1> As mentioned above for PVs, the `accessModes` do not enforce security, but
79-
rather act as labels to match a PV to a PVC.
80+
<1> The access modes do not enforce security, but rather act as labels to match a PV to a PVC.
8081
<2> This claim looks for PVs offering *5Gi* or greater capacity.
8182

8283
. Verify that the persistent volume claim was created:
8384
+
85+
[source,terminal]
8486
----
8587
$ oc get pvc
88+
----
89+
+
90+
.Example output
91+
[source,terminal]
92+
----
8693
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
87-
nfs-claim1 Bound pv0001 5Gi RWO gp2 2m
94+
nfs-claim1 Bound pv0001 5Gi RWO 2m
8895
----

0 commit comments

Comments
 (0)