Skip to content

Commit bf55e83

Browse files
Update storage-persistent-storage-pv.adoc
- The command structure requires correction. - Current Look: - You can view the name of a PVC that is bound to a PV by running the following command ~~~ $ oc get pv <pv-name> -o jsonpath='{.spec.claimRef.name}' ~~~ Last phase transition time The LastPhaseTransitionTime field has a timestamp that updates every time a persistent volume (PV) transitions to a different phase (pv.Status.Phase). To find the time of the last phase transition for a PV, run the following command: ~~~ $ oc get pv <pv-name> -o json | jq '.status.lastPhaseTransitionTime' (1) ~~~ Updated Look:
1 parent cce7f17 commit bf55e83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/storage-persistent-storage-pv.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can view the name of a PVC that is bound to a PV by running the following co
3434

3535
[source,terminal]
3636
----
37-
$ oc get pv <pv-name> -o jsonpath='{.spec.claimRef.name}'
37+
$ oc get pv <pv_name> -o jsonpath='{.spec.claimRef.name}'
3838
----
3939

4040
ifndef::microshift[]
@@ -261,7 +261,7 @@ The `LastPhaseTransitionTime` field has a timestamp that updates every time a pe
261261

262262
[source,terminal]
263263
----
264-
$ oc get pv <pv-name> -o json | jq '.status.lastPhaseTransitionTime' <1>
264+
$ oc get pv <pv_name> -o json | jq '.status.lastPhaseTransitionTime' <1>
265265
----
266266
<1> Specify the name of the PV that you want to see the last phase transition.
267267

@@ -350,4 +350,4 @@ allowVolumeExpansion: true
350350
====
351351
`mountOptions` are not validated. Incorrect values will cause the mount to fail and an event to be logged to the PVC.
352352
====
353-
endif::microshift[]
353+
endif::microshift[]

0 commit comments

Comments
 (0)