Skip to content

Commit 57e72bc

Browse files
committed
Clarify editing PV for volume resize
1 parent 4f1eea0 commit 57e72bc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,13 @@ To request a larger volume for a PVC, edit the PVC object and specify a larger
254254
size. This triggers expansion of the volume that backs the underlying PersistentVolume. A
255255
new PersistentVolume is never created to satisfy the claim. Instead, an existing volume is resized.
256256

257+
{{< 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
261+
increased and that no resize is necessary.
262+
{{< /warning >}}
263+
257264
#### CSI Volume expansion
258265

259266
{{< feature-state for_k8s_version="v1.16" state="beta" >}}

0 commit comments

Comments
 (0)