You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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.
0 commit comments