Skip to content

Commit 42d2feb

Browse files
authored
(DOCSP-44591) Adds step for removing statefulSet overrides for init containers. (#1958)
* (DOCSP-44591) Adds step for removing statefulSet overrides for init containers. * Revises per tech review. * Revises per second-round tech review.
1 parent 6ae3e5a commit 42d2feb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

source/tutorial/plan-k8s-op-container-images.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,21 @@ You can also enable static containers during
254254
or :ref:`Remote Mode <deploy-om-container-remote-mode>` so that
255255
the binaries for all versions in-use can be pulled from |onprem|.
256256

257+
.. step:: Remove |k8s-statefulset| overrides for init containers, if any.
258+
259+
There are no init containers used with the static container architecture.
260+
If an override for an init container is present, the migration from non-static to static containers fails.
261+
262+
Remove any |k8s-statefulset| overrides for init containers from your
263+
:ref:`MongoDB resource specification <k8s-specification>` or
264+
:ref:`Ops Manager resource specification <k8s-om-specification>`.
265+
For example, ensure none of the following settings have been configured for ``initContainers``:
266+
267+
- **Ops Manager:** :opsmgrkube:`spec.statefulSet.spec`
268+
- **Application Database**: :opsmgrkube:`spec.applicationDatabase.podSpec <spec.applicationDatabase>`
269+
- **Database:** :ref:`statefulset-settings`
270+
- **Multi-cluster:** :ref:`spec.statefulSet.spec <multi-spec-statefulset-spec>`
271+
257272
.. step:: Set environment variables for the {+mdbagent+} image.
258273

259274
.. tabs::

0 commit comments

Comments
 (0)