@@ -53,25 +53,6 @@ Scale a Sharded Cluster
5353Considerations
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+
9595Examples
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