Skip to content

Commit bcfa897

Browse files
(DOCSP-11892): Adjust Kubernetes Docs with known scaling configuration issue
1 parent 9311d5a commit bcfa897

File tree

2 files changed

+48
-14
lines changed

2 files changed

+48
-14
lines changed

source/release-notes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ Known Issues
6363
~~~~~~~~~~~~
6464

6565
- |onprem| cannot monitor Application Databases secured using |tls|.
66+
- For MongoDB 4.4 deployments, you can increase or decrease the number
67+
of members in a replica set or a sharded cluster by only one member
68+
at a time.
6669

6770
.. _ent-op-1.6.1:
6871

source/tutorial/scale-resources.txt

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

56-
The |k8s-op-short| does not support modifying deployment types.
57-
For example, you cannot convert a standalone deployment to a
58-
replica set. To modify the type of a deployment,
59-
we recommend the following procedure:
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.
6059

61-
1. Create the new deployment with the desired configuration.
60+
.. example::
6261

63-
#. :opsmgr:`Back up the data </tutorial/nav/backup-deployments/>` from
64-
your current deployment.
62+
To scale a replica set from three members to five members, you
63+
must:
6564

66-
#. :opsmgr:`Restore the data
67-
</tutorial/nav/backup-restore-deployments/>` from your current
68-
deployment to the new deployment.
65+
1. Change the value of the :setting:`spec.members` setting from
66+
``3`` to ``4``.
6967

70-
#. Test your application connections to the new deployment as needed.
68+
#. Reapply the configuration to |k8s|.
7169

72-
#. Once you have verified that the new deployment contains the
73-
required data and can be reached by your application(s), bring
74-
down the old deployment.
70+
#. Change the value of the :setting:`spec.members` setting from
71+
``4`` to ``5``.
72+
73+
#. Reapply the configuration to |k8s|.
74+
75+
- The |k8s-op-short| does not support modifying deployment types.
76+
For example, you cannot convert a standalone deployment to a
77+
replica set. To modify the type of a deployment,
78+
we recommend the following procedure:
79+
80+
1. Create the new deployment with the desired configuration.
81+
82+
#. :opsmgr:`Back up the data </tutorial/nav/backup-deployments/>` from
83+
your current deployment.
84+
85+
#. :opsmgr:`Restore the data
86+
</tutorial/nav/backup-restore-deployments/>` from your current
87+
deployment to the new deployment.
88+
89+
#. Test your application connections to the new deployment as needed.
90+
91+
#. Once you have verified that the new deployment contains the
92+
required data and can be reached by your application(s), bring
93+
down the old deployment.
7594

7695
Examples
7796
--------
@@ -99,6 +118,12 @@ want to scale:
99118
1. Adjust the :setting:`spec.members` setting to the desired
100119
number of members:
101120

121+
.. important::
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.
126+
102127
.. literalinclude:: /includes/code-examples/yaml-files/example-replica-set.yaml
103128
:language: yaml
104129
:start-after: START-scaled-replset
@@ -129,6 +154,12 @@ want to scale:
129154

130155
1. Adjust the following settings to the desired values:
131156

157+
.. important::
158+
159+
For MongoDB 4.4 deployments, you can increase or decrease
160+
the number of members in a sharded cluster by only one
161+
member at a time.
162+
132163
- :setting:`spec.shardCount`
133164
- :setting:`spec.mongodsPerShardCount`
134165
- :setting:`spec.mongosCount`

0 commit comments

Comments
 (0)