From abe18bc29e68bcfbffc432e3f7f8eedf8590bb9e Mon Sep 17 00:00:00 2001 From: Kaitlyn Michael Date: Fri, 15 Aug 2025 10:21:32 -0500 Subject: [PATCH 1/2] add info on default PVC size --- content/operate/kubernetes/re-clusters/expand-pvc.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/operate/kubernetes/re-clusters/expand-pvc.md b/content/operate/kubernetes/re-clusters/expand-pvc.md index 43dc8c67f..9ca74dd8f 100644 --- a/content/operate/kubernetes/re-clusters/expand-pvc.md +++ b/content/operate/kubernetes/re-clusters/expand-pvc.md @@ -20,6 +20,14 @@ This process involves deleting and recreating the REC StatefulSet with a larger {{}}Shrinking (reducing the size) of your PVC is not allowed. This process only allows you to expand (size up) your PVC.{{}} +### Default PVC size + +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. + +- 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. +- 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. +- 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. + ## Prerequisites {{}}Do not change any other REC fields related to the StatefulSet while resizing is in progress. From e47fd7858bf40f8d6691ed74301fcbda5fb81dc3 Mon Sep 17 00:00:00 2001 From: Kaitlyn Michael Date: Mon, 18 Aug 2025 09:09:02 -0500 Subject: [PATCH 2/2] memory omitted option --- content/operate/kubernetes/re-clusters/expand-pvc.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/operate/kubernetes/re-clusters/expand-pvc.md b/content/operate/kubernetes/re-clusters/expand-pvc.md index 9ca74dd8f..72c033aab 100644 --- a/content/operate/kubernetes/re-clusters/expand-pvc.md +++ b/content/operate/kubernetes/re-clusters/expand-pvc.md @@ -26,6 +26,8 @@ By default, if you omit [`spec.persistentSpec.volumeSize`]({{< relref "/operate/ - 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. - 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. +- If you omit [`spec.redisEnterpriseNodeResources.requests.memory`]({{< relref "/operate/kubernetes/reference/api/redis_enterprise_cluster_api#specredisenterprisenoderesources" >}}), the operator uses its default memory request (4Gi). With `volumeSize` omitted, this results in a default PVC size of approximately 20Gi per node (5 × 4Gi). See [sizing on Kubernetes]({{< relref "/operate/kubernetes/recommendations/sizing-on-kubernetes" >}}) for defaults. + - 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. ## Prerequisites