Skip to content

Commit 8bfff50

Browse files
authored
Merge branch 'main' into update/docs-extensions-and-macros-main
2 parents 086dd97 + b61fc39 commit 8bfff50

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

modules/manage/pages/kubernetes/k-scale-redpanda.adoc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,18 @@
44
:page-categories: Management, Scaling
55
:env-kubernetes: true
66

7-
You can scale a cluster both vertically, by increasing or decreasing the resources available to existing brokers, and horizontally, by increasing or decreasing the number of brokers in the cluster.
7+
You can scale a cluster both vertically (by increasing or decreasing the resources available to existing brokers) and horizontally (by adding or removing brokers from the cluster).
88

99
== Vertical scaling
1010

11-
Vertical scaling involves increasing the amount of resources available to Redpanda brokers (scaling up) or decreasing the amount of resources (scaling down). Resources include the amount of hardware available to Redpanda brokers, such as CPU cores, memory, and storage.
11+
Vertical scaling involves increasing or decreasing the amount of resources available to Redpanda brokers, referred to as scaling up or scaling down. Resources include hardware resources such as CPU cores, memory, and storage.
1212

1313
To scale a Redpanda cluster vertically, see xref:./k-manage-resources.adoc[Manage Pod Resources in Kubernetes].
1414

15-
IMPORTANT: You cannot decrease the number of CPU cores in a running cluster.
16-
1715
If your existing worker nodes have either too many resources or not enough resources, you may need to move Redpanda brokers to new worker nodes that meet your resource requirements. This process involves:
1816

1917
- Making sure the new worker nodes are available.
20-
- Deleting each worker node one by one.
18+
- Deleting each worker node individually.
2119
- Deleting the Pod's PersistentVolumeClaim (PVC).
2220
- Ensuring that the PersistentVolume's (PV) reclaim policy is set to `Retain` to make sure that you can roll back to the original worker node without losing data.
2321

@@ -33,7 +31,7 @@ CAUTION: Redpanda does not support Kubernetes autoscalers. Autoscalers rely on C
3331

3432
:caution-caption: Caution
3533

36-
While you should not rely on Kubernetes autoscalers to scale your Redpanda brokers, you can prevent infrastructure-level autoscalers like Karpenter from terminating nodes that run Redpanda Pods. For example, you can set the xref:reference:k-redpanda-helm-spec.adoc#statefulset-podtemplate-annotations[`statefulset.podTemplate.annotations`] field in the Redpanda Helm values, or the xref:reference:k-crd.adoc#k8s-api-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-podtemplate[`statefulset.podTemplate.annotations`] field in the Redpanda custom resource to include:
34+
Do not rely on Kubernetes autoscalers to scale your Redpanda brokers. Instead, prevent infrastructure-level autoscalers, such as Karpenter, from terminating nodes that host Redpanda Pods. For example, you can set the xref:reference:k-redpanda-helm-spec.adoc#statefulset-podtemplate-annotations[`statefulset.podTemplate.annotations`] field in the Redpanda Helm values, or the xref:reference:k-crd.adoc#k8s-api-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-podtemplate[`statefulset.podTemplate.annotations`] field in the Redpanda custom resource to include:
3735

3836
[,yaml]
3937
----
@@ -44,7 +42,7 @@ This annotation tells Karpenter not to disrupt the node on which the annotated P
4442

4543
=== Scale out
4644

47-
Scaling out is the process of adding more brokers to your Redpanda cluster. You may want to add more brokers for increased throughput, high availability, and fault tolerance. Adding more brokers allows for better distribution of data across the cluster. This can be particularly important when dealing with large data sets.
45+
Scaling out involves adding more brokers to your Redpanda cluster. You may want to add more brokers to increase throughput, enhance high availability, and improve fault tolerance. Adding more brokers enables a more effective distribution of data across the cluster. This is particularly important when dealing with large datasets.
4846

4947
To add Redpanda brokers to your cluster:
5048

0 commit comments

Comments
 (0)