Skip to content

Commit 7f91504

Browse files
prithvipatil97Prithviraj Patil
authored andcommitted
Update persistent-storage-csi-vsphere-top-aware-results.adoc
- Command structure must be adjusted appropriately. - Here is the documentation link: https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html/storage/using-container-storage-interface-csi#persistent-storage-csi-vsphere-top-aware-results_persistent-storage-csi-vsphere - In the above command, <pv-name> is mentioned with `hyphens`. - But as per the standard rule, it needs to be mentioned with an `underscore`. - Hence, it should be changed to `<pv_name>. In addition, "~" is incorrectly placed in the command. - This is an unnecessary sign, and there is no use of it. - We need to remove this "~" sign. - Here is the updated look of the command: ~~~ $ oc get pv <pv_name> -o yaml ~~~ - Also, need to add "-" between "-key": ~~~ nodeAffinity: required: nodeSelectorTerms: - matchExpressions: - key: topology.csi.vmware.com/openshift-zone 1 operator: In values: - <openshift-zone> - key: topology.csi.vmware.com/openshift-region 2 operator: In values: - <openshift-region> ~~~ Update persistent-storage-csi-vsphere-top-aware-results.adoc Committing the suggested changes.
1 parent 0adf46e commit 7f91504

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/persistent-storage-csi-vsphere-top-aware-results.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Creating persistent volume claims (PVCs) and PVs from the topology aware storage
1111

1212
[source,terminal]
1313
----
14-
~ $ oc get pv <pv-name> -o yaml
14+
$ oc get pv <pv_name> -o yaml
1515
----
1616

1717
.Example output
@@ -26,14 +26,14 @@ nodeAffinity:
2626
- key: topology.csi.vmware.com/openshift-zone <1>
2727
operator: In
2828
values:
29-
- <openshift-zone>
30-
-key: topology.csi.vmware.com/openshift-region <1>
29+
- <openshift_zone>
30+
- key: topology.csi.vmware.com/openshift-region <1>
3131
operator: In
3232
values:
33-
- <openshift-region>
33+
- <openshift_region>
3434
...
3535
peristentVolumeclaimPolicy: Delete
36-
storageClassName: <zoned-storage-class-name> <2>
36+
storageClassName: <zoned_storage_class_name> <2>
3737
volumeMode: Filesystem
3838
...
3939
----

0 commit comments

Comments
 (0)