Skip to content

Commit e78ff76

Browse files
(DOCSP-11973): Adjust warning about scaling resources (#364)
1 parent 0ea4092 commit e78ff76

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

source/tutorial/scale-resources.txt

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -53,25 +53,6 @@ Scale a Sharded Cluster
5353
Considerations
5454
--------------
5555

56-
- For MongoDB 4.4 deployments, you can increase or decrease the
57-
number of members in a replica set or a sharded cluster by only one
58-
member at a time.
59-
60-
.. example::
61-
62-
To scale a replica set from three members to five members, you
63-
must:
64-
65-
1. Change the value of the :setting:`spec.members` setting from
66-
``3`` to ``4``.
67-
68-
#. Reapply the configuration to |k8s|.
69-
70-
#. Change the value of the :setting:`spec.members` setting from
71-
``4`` to ``5``.
72-
73-
#. Reapply the configuration to |k8s|.
74-
7556
- The |k8s-op-short| does not support modifying deployment types.
7657
For example, you cannot convert a standalone deployment to a
7758
replica set. To modify the type of a deployment,
@@ -92,6 +73,25 @@ Considerations
9273
required data and can be reached by your application(s), bring
9374
down the old deployment.
9475

76+
- For MongoDB 4.4 deployments using |k8s-op| v1.7.0 and earlier, you
77+
can increase or decrease the number of members in a replica set or a
78+
sharded cluster by only one member at a time.
79+
80+
.. example::
81+
82+
To scale a replica set from three members to five members, you
83+
must:
84+
85+
1. Change the value of the :setting:`spec.members` setting from
86+
``3`` to ``4``.
87+
88+
#. Reapply the configuration to |k8s|.
89+
90+
#. Change the value of the :setting:`spec.members` setting from
91+
``4`` to ``5``.
92+
93+
#. Reapply the configuration to |k8s|.
94+
9595
Examples
9696
--------
9797

@@ -120,9 +120,9 @@ want to scale:
120120

121121
.. important::
122122

123-
For MongoDB 4.4 deployments, you can increase or decrease
124-
the number of members in a replica set by only one member at
125-
a time.
123+
For MongoDB 4.4 deployments using |k8s-op| v1.7.0 and
124+
earlier, you can increase or decrease the number of members
125+
in a replica set by only one member at a time.
126126

127127
.. literalinclude:: /includes/code-examples/yaml-files/example-replica-set.yaml
128128
:language: yaml

0 commit comments

Comments
 (0)