Skip to content

Commit

Permalink
fix scaling document
Browse files Browse the repository at this point in the history
  • Loading branch information
kmetin committed Jan 15, 2024
1 parent 77a8edc commit c970107
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docs/modules/ROOT/pages/scaling-upgrading.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
= Scaling and Upgrading a Hazelcast Deployment

To scale an existing Hazelcast deployment, modify the yaml definition you used to deploy Hazelcast cluster by updating `clusterSize` field and re-apply it again:
To scale an existing Hazelcast deployment, modify the yaml definition you used to deploy Hazelcast cluster by updating `clusterSize` field and re-apply it again.

Assuming the following is the existing configuration:

[source,yaml]
----
Expand All @@ -9,10 +11,10 @@ kind: Hazelcast
metadata:
name: hazelcast-sample
spec:
clusterSize: <desired-cluster-size>
clusterSize: 3
----

Example:
and you want to scale your deployment to 5 replicas, you need to apply the following:

[source,yaml]
----
Expand All @@ -39,9 +41,6 @@ include::ROOT:example$/hazelcast-5.2.4.yaml[]

and you want to upgrade your Hazelcast version to {page-latest-supported-hazelcast}, you need to apply the following:


Assuming the following is the existing configuration:

[source,yaml,subs="attributes+"]
----
include::ROOT:example$/hazelcast.yaml[]
Expand Down

0 comments on commit c970107

Please sign in to comment.