@@ -53,25 +53,6 @@ Scale a Sharded Cluster
53
53
Considerations
54
54
--------------
55
55
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
-
75
56
- The |k8s-op-short| does not support modifying deployment types.
76
57
For example, you cannot convert a standalone deployment to a
77
58
replica set. To modify the type of a deployment,
@@ -92,6 +73,25 @@ Considerations
92
73
required data and can be reached by your application(s), bring
93
74
down the old deployment.
94
75
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
+
95
95
Examples
96
96
--------
97
97
@@ -120,9 +120,9 @@ want to scale:
120
120
121
121
.. important::
122
122
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.
126
126
127
127
.. literalinclude:: /includes/code-examples/yaml-files/example-replica-set.yaml
128
128
:language: yaml
0 commit comments