Skip to content

Commit 4a10d91

Browse files
authored
Merge pull request #45925 from lpettyjo/OSDOCS-3675
OSDOCS-3675: CSI resize TP->GA
2 parents 21b0105 + 45683e1 commit 4a10d91

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

modules/storage-expanding-csi-volumes.adoc

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,28 @@
22
//
33
// * storage/expanding-persistent-volumes.adoc
44

5+
:_content-type: PROCEDURE
56
[id="expanding-csi-volumes_{context}"]
67
= Expanding CSI volumes
78

89
You can use the Container Storage Interface (CSI) to expand storage volumes after they have already been created.
910

10-
{product-title} supports CSI volume expansion by default. However, a specific CSI driver is required.
11+
CSI volume expansion does not support the following:
1112

12-
{product-title} {product-version} supports version 1.1.0 of the
13-
link:https://github.com/container-storage-interface/spec[CSI specification].
13+
* Recovering from failure when expanding volumes
14+
15+
* Shrinking
16+
17+
.Prerequisites
18+
19+
* The underlying CSI driver supports resize.
20+
21+
* Dynamic provisioning is used.
22+
23+
* The controlling `StorageClass` object has `allowVolumeExpansion` set to `true` (see xref:../storage/expanding-persistent-volumes.adoc#add-volume-expansion_expanding-persistent-volumes[Enabling volume expansion support]).
24+
25+
.Procedure
26+
27+
. For the persistent volume claim (PVC), set `.spec.resources.requests.storage` to the desired new size.
28+
29+
. Watch the `status.conditions` field of the PVC to see if the resize has completed. {product-title} adds the `Resizing` condition to the PVC during expansion, which is removed after expansion completes.

storage/expanding-persistent-volumes.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ include::modules/storage-expanding-csi-volumes.adoc[leveloffset=+1]
1313

1414
:FeatureName: Expanding CSI volumes
1515

16-
include::snippets/technology-preview.adoc[leveloffset=+1]
17-
1816
include::modules/storage-expanding-flexvolume.adoc[leveloffset=+1]
1917

2018
include::modules/storage-expanding-local-volumes.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)