Skip to content

Commit a1936fa

Browse files
Update lvms-scaling-storage-expand-pvc.adoc
- Needs to correct the command structure in Expanding a persistent volume claim. - Here is the documentation link: https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html/storage/configuring-persistent-storage#lvms-scaling-expand-pvc_logical-volume-manager-storage Here is the current documentation: 2. Update the value of the spec.resources.requests.storage field to a value that is greater than the current value by running the following command: ~~~ $ oc patch pvc <pvc_name> -n <application_namespace> \ --type=merge -p \ '{ "spec": { "resources": { "requests": { "storage": "<desired_size>" }}}}' ~~~ - In the above commands, the "- -" signs are incorrectly placed below the "$" symbol. - However, they should be aligned parallel to the "oc" command, where the command begins.* Here is the updated look: 2. Update the value of the spec.resources.requests.storage field to a value that is greater than the current value by running the following command: ~~~ $ oc patch pvc <pvc_name> -n <application_namespace> \ 1 --type=merge -p \ '{ "spec": { "resources": { "requests": { "storage": "<desired_size>" }}}}' ~~~ - The commands will work as it is, but the structure is incorrect. - It should be standard format all over the documentation. - Hence it needs to be changed.
1 parent e09888a commit a1936fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/lvms-scaling-storage-expand-pvc.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To expand a PVC, you must update the `storage` field in the PVC.
2424
[source,terminal]
2525
----
2626
$ oc patch pvc <pvc_name> -n <application_namespace> \ <1>
27-
--type=merge -p \ '{ "spec": { "resources": { "requests": { "storage": "<desired_size>" }}}}' <2>
27+
--type=merge -p \ '{ "spec": { "resources": { "requests": { "storage": "<desired_size>" }}}}' <2>
2828
----
2929
<1> Replace `<pvc_name>` with the name of the PVC that you want to expand.
3030
<2> Replace `<desired_size>` with the new size to expand the PVC.

0 commit comments

Comments
 (0)