Skip to content

Commit 8f86ab0

Browse files
author
Traci Morrison
authored
Merge pull request #9645 from tmorriso-rh/PR8990followup
Add edits to PR 8990
2 parents b6cb64b + c813ca8 commit 8f86ab0

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

dev_guide/expanding_persistent_volumes.adoc

+13-17
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cases.
2020

2121
[NOTE]
2222
====
23-
For more information on Red Hat Technology Preview features support scope, see
23+
For more information on Red Hat Technology Preview features support scope, see
2424
https://access.redhat.com/support/offerings/techpreview/.
2525
====
2626

@@ -66,10 +66,9 @@ kubernetesMasterConfig:
6666
[[expanding_glusterfs_pvc]]
6767
== Expanding GlusterFS-Based Persistent Volume Claims
6868

69-
Expanding GlusterFS volumes is easiest. Once the {product-title} administrator
70-
has created a StorageClass with `allowVolumeExpansion` set to `true`, you can
71-
create a PVC from that class, and afterwards, whenever needed, you can edit the
72-
PVC and request a new size.
69+
Once the {product-title} administrator has created a StorageClass with
70+
`allowVolumeExpansion` set to `true`, you can create a PVC from that class, and
71+
afterwards, whenever needed, you can edit the PVC and request a new size.
7372

7473
For example:
7574

@@ -120,18 +119,15 @@ available and `FileSystemResizePending` condition is removed from the PVC.
120119
[[recover_from_resize_failure]]
121120
== Recovering from Failure when Expanding Volumes
122121

123-
If expanding underlying storage fails either on master or node,
124-
{product-title} admin can manually recover the PVC state and cancel the resize requests that are
125-
continuously retried by the controller without administrator intervention.
122+
If expanding underlying storage fails either on master or node, the
123+
{product-title} administrator can manually recover the PVC state and cancel the resize
124+
requests that are continuously retried by the controller without administrator
125+
intervention.
126126

127127
Currently, this can be done manually by completing the following steps:
128128

129-
1. Mark the PV that is bound to the claim (PVC) with the `Retain` reclaim policy.
130-
This can be done by editing the PV and changing persistentVolumeReclaimPolicy to `Retain`.
131-
2. Delete the PVC, so as we can re-create it later.
132-
3. To ensure that newly created PVC can bind to PV marked `Retain`, we will have to manually edit the PV
133-
and delete `claimRef` entry from PV specs. This will mark the PV as `Available`. For more information
134-
about prebinding PVCs please see xref:./persistent_volumes.adoc#persistent-volumes-volumes-and-claim-prebinding[Volume and claim prebinding].
135-
4. Re-create the PVC in a smaller size or a size that can be allocated by the underlying storage provider.
136-
Also set `volumeName` field of PVC to name of PV, so as PVC can only bind to already provisioned PV.
137-
5. Restore the reclaim policy on the PV.
129+
. Mark the PV that is bound to the claim (PVC) with the `Retain` reclaim policy. This can be done by editing the PV and changing `persistentVolumeReclaimPolicy` to `Retain`.
130+
. Delete the PVC (it will be recreated later).
131+
. To ensure that the newly created PVC can bind to the PV marked `Retain`, manually edit the PV and delete the `claimRef` entry from the PV specs. This marks the PV as `Available`. For more information about prebinding PVCs, see xref:./persistent_volumes.adoc#persistent-volumes-volumes-and-claim-prebinding[volume and claim prebinding].
132+
. Re-create the PVC in a smaller size or a size that can be allocated by the underlying storage provider. Also, set the `volumeName` field of the PVC to the name of the PV. This binds the PVC to the provisioned PV only.
133+
. Restore the reclaim policy on the PV.

0 commit comments

Comments
 (0)