Skip to content

Commit abe18bc

Browse files
add info on default PVC size
1 parent f1fc6e9 commit abe18bc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/operate/kubernetes/re-clusters/expand-pvc.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ This process involves deleting and recreating the REC StatefulSet with a larger
2020

2121
{{<note>}}Shrinking (reducing the size) of your PVC is not allowed. This process only allows you to expand (size up) your PVC.{{</note>}}
2222

23+
### Default PVC size
24+
25+
By default, if you omit [`spec.persistentSpec.volumeSize`]({{< relref "/operate/kubernetes/reference/api/redis_enterprise_cluster_api#specpersistentspec" >}}), the operator allocates a persistent volume that is five times (5x) the Redis Enterprise node memory request defined in [`spec.redisEnterpriseNodeResources.requests.memory`]({{< relref "/operate/kubernetes/reference/api/redis_enterprise_cluster_api#specredisenterprisenoderesources" >}}) (per node). This 5x ratio is the recommended minimum capacity.
26+
27+
- If you set [`spec.persistentSpec.volumeSize`]({{< relref "/operate/kubernetes/reference/api/redis_enterprise_cluster_api#specpersistentspec" >}}) explicitly, that exact size is used and the 5x default does not apply.
28+
- Changing node memory requests does not automatically resize existing PVCs. Use the procedure below to expand the PVC if you want to maintain the 5x ratio after changing memory.
29+
- See the [volume size recommendations]({{< relref "/operate/kubernetes/recommendations/persistent-volumes#volume-size" >}}) and [hardware requirements]({{< relref "/operate/rs/installing-upgrading/install/plan-deployment/hardware-requirements" >}}) for guidance.
30+
2331
## Prerequisites
2432

2533
{{<warning>}}Do not change any other REC fields related to the StatefulSet while resizing is in progress.

0 commit comments

Comments
 (0)