Skip to content

Commit 33aae9b

Browse files
mattcaryTim Bannister
andauthored
Update content/en/docs/concepts/storage/persistent-volumes.md
Co-authored-by: Tim Bannister <[email protected]>
1 parent 57e72bc commit 33aae9b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

content/en/docs/concepts/storage/persistent-volumes.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,12 @@ size. This triggers expansion of the volume that backs the underlying Persistent
255255
new PersistentVolume is never created to satisfy the claim. Instead, an existing volume is resized.
256256

257257
{{< warning >}}
258-
Editing the size of a PersistentVolume can prevent resize of the volume. If the
259-
capacity of a PersistentVolume edited, then the PersistentVolumeClaim size is edited to increase to
260-
the same value, no resize will happen. Kubernetes will think the backing volume has been manually
258+
Directly editing the size of a PersistentVolume can prevent an automatic resize of that volume.
259+
If you edit the capacity of a PersistentVolume, and then edit the `.spec` of a matching
260+
PersistentVolumeClaim to make the size of the PersistentVolumeClaim match the PersistentVolume,
261+
then no storage resize happens.
262+
The Kubernetes control plane will see that the desired state of both resources matches,
263+
conclude that the backing volume size has been manually
261264
increased and that no resize is necessary.
262265
{{< /warning >}}
263266

0 commit comments

Comments
 (0)