Skip to content

Commit 32e6120

Browse files
erabil-mdbjwilliams-mongo
authored andcommitted
(DOCSP-29890) Updates docs for new appDB Docker image repo and tags. (#1343)
* (DOCSP-29890) Changes -ent Helm tag suffix to -ubi8. * Adds new environment variables. * Revises per tech review. * Updates MDB version in examples, creates an include, adds note to upgrade doc. * Updates Ubuntu-to-ubi migration doc. * Adds link. * De-emphasizes using Ubuntu images. * Edits per tech and copy reviews. * Revises per tech review.
1 parent 5193381 commit 32e6120

20 files changed

+126
-30
lines changed

source/includes/facts/fact-must-migrate-specified-appdb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ MongoDB version for the :opsmgr:`Application Database
66
</core/system-overview/#application-database>` in the required
77
:opsmgrkube:`spec.applicationDatabase.version` setting.
88
For the list of supported MongoDB versions, see the
9-
:qr-mdb:`container registry </mongodb-enterprise-appdb-database?tab=tags>`.
9+
:qr-mdb:`container registry </mongodb-enterprise-server?tab=tags>`.
1010

1111
You must migrate the Application Database to the latest available
1212
enterprise edition of MongoDB if your ``MongoDBOpsManager`` custom
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
For best results, use the
2-
:qr-mdb:`latest available enterprise MongoDB version </mongodb-enterprise-appdb-database?tab=tags>`
3-
that is :ref:`compatible <k8s-onprem-version-compatibility>` with your
2+
:qr-mdb:`latest available enterprise MongoDB version </mongodb-enterprise-server?tab=tags>` that is :ref:`compatible <k8s-onprem-version-compatibility>` with your
43
|onprem| version.

source/includes/steps-configure-cert-manager-integration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ content: |
273273
certsSecretPrefix: appdb
274274
tls:
275275
ca: ca-issuer
276-
version: 6.0.0
276+
version: 6.0.0-ubi8
277277
replicas: 1
278278
security:
279279
certsSecretPrefix: mdb

source/includes/steps-configure-filesystem-store.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ content: |
8989
mountPath: /snapshot_store
9090
applicationDatabase:
9191
members: 3
92-
version: 5.0.7-ent
92+
version: 5.0.7-ubi8
9393
9494
---
9595
title: "Apply changes to your |onprem| deployment."

source/includes/steps-deploy-k8s-opsmgr-http.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ content: |
122122
should run.
123123
124124
The format should be ``X.Y.Z`` for the Community edition and
125-
``X.Y.Z-ent`` for the :product:`Enterprise edition
125+
``X.Y.Z-ubi8`` for the :product:`Enterprise edition
126126
</mongodb-enterprise-advanced>`.
127127
128128
.. include:: /includes/admonitions/ubi-8-min-db-versions.rst
@@ -380,7 +380,7 @@ content: |
380380
members: 3
381381
phase: Running
382382
type: ReplicaSet
383-
version: "4.2.11-ent"
383+
version: "4.4.5-ubi8"
384384
backup:
385385
lastTransition: "2020-04-01T09:57:42Z"
386386
message: The MongoDB object <namespace>/<oplogresourcename>
@@ -501,7 +501,7 @@ content: |
501501
members: 3
502502
phase: Running
503503
type: ReplicaSet
504-
version: "4.2.11-ent"
504+
version: "4.4.5-ubi8"
505505
backup:
506506
lastTransition: "2020-04-01T09:57:42Z"
507507
message: The MongoDB object <namespace>/<oplogresourcename>
@@ -583,7 +583,7 @@ content: |
583583
members: 3
584584
phase: Running
585585
type: ReplicaSet
586-
version: "4.2.11-ent"
586+
version: "4.4.5-ubi8"
587587
backup:
588588
lastTransition: "2020-04-01T10:00:53Z"
589589
phase: Running

source/includes/steps-deploy-k8s-opsmgr-https.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,10 @@ content: |
244244
Version of MongoDB that the :ref:`mms-application-database`
245245
should run.
246246
247-
The format should be ``X.Y.Z`` for the Community edition and
248-
``X.Y.Z-ent`` for the :product:`Enterprise edition
249-
</mongodb-enterprise-advanced>`.
247+
The format should be
248+
``X.Y.Z-ubi8`` for the :product:`Enterprise edition
249+
</mongodb-enterprise-advanced>` and ``X.Y.Z`` for the Community edition.
250+
Do not add the ``-ubi8`` tag suffix to the Community edition image because the |k8s-op-short| adds the tag suffix automatically.
250251
251252
.. include:: /includes/admonitions/ubi-8-min-db-versions.rst
252253
@@ -540,7 +541,7 @@ content: |
540541
members: 3
541542
phase: Running
542543
type: ReplicaSet
543-
version: "4.2.0"
544+
version: "4.4.5-ubi8"
544545
backup:
545546
lastTransition: "2020-04-01T09:57:42Z"
546547
message: The MongoDB object <namespace>/<oplogresourcename>
@@ -575,7 +576,7 @@ content: |
575576
members: 3
576577
phase: Running
577578
type: ReplicaSet
578-
version: "4.2.11-ent"
579+
version: "4.4.5-ubi8"
579580
opsManager:
580581
lastTransition: "2019-12-06T18:23:26Z"
581582
message: The MongoDB object namespace/oplogdbname doesn't exist
@@ -697,7 +698,7 @@ content: |
697698
members: 3
698699
phase: Running
699700
type: ReplicaSet
700-
version: "4.2.11-ent"
701+
version: "4.4.5-ubi8"
701702
opsManager:
702703
lastTransition: "2019-12-06T18:23:26Z"
703704
message: The MongoDB object namespace/oplogdbname doesn't exist
@@ -775,7 +776,7 @@ content: |
775776
members: 3
776777
phase: Running
777778
type: ReplicaSet
778-
version: "4.2.11-ent"
779+
version: "4.4.5-ubi8"
779780
opsManager:
780781
lastTransition: "2019-12-06T17:46:32Z"
781782
phase: Running

source/includes/steps-migrate-specified-to-new-appdb-v.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ content: |
1111
a. Locate the :opsmgrkube:`spec.applicationDatabase.version`
1212
setting.
1313
b. Specify the :qr-mdb:`latest available enterprise MongoDB version
14-
</mongodb-enterprise-appdb-database?tab=tags>`
14+
</mongodb-enterprise-server?tab=tags>`
1515
that is :ref:`compatible <k8s-onprem-version-compatibility>` with your
1616
|onprem| version.
1717
@@ -31,7 +31,7 @@ content: |
3131
backup:
3232
enabled: false
3333
applicationDatabase:
34-
version: 5.0.0-ent
34+
version: 5.0.0-ubi8
3535
members: 3
3636
3737
---

source/includes/steps-migrate-unspecified-to-new-appdb-v.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ content: |
2323
a. Locate the :opsmgrkube:`spec.applicationDatabase.version`
2424
setting.
2525
b. Specify the :qr-mdb:`latest available enterprise MongoDB version
26-
</mongodb-enterprise-appdb-database?tab=tags>`
26+
</mongodb-enterprise-server?tab=tags>`
2727
that is :ref:`compatible <k8s-onprem-version-compatibility>` with your
2828
|onprem| version.
2929
@@ -43,7 +43,7 @@ content: |
4343
backup:
4444
enabled: false
4545
applicationDatabase:
46-
version: 4.4.4-ent
46+
version: 4.4.4-ubi8
4747
members: 3
4848
4949
---
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
In |k8s-op-short| 1.20, the :qr-mdb:`container registry </mongodb-enterprise-server?tab=tags>` changed for the :term:`application database` image and the images use a new tag suffix. When you :ref:`upgrade the Kubernetes Operator <upgrade-k8s-operator>`, the |k8s-op-short| automatically updates the earlier suffix, ``-ent``, for all images that reference the new container registry to ``-ubi8`` or the suffix set in :ref:`mdb-image-type` or :ref:`mongodb-image-type`.
2+
3+
For example, the |k8s-op-short| changes ``quay.io/mongodb/mongodb-enterprise-server:4.4.5-ent`` to ``quay.io/mongodb/mongodb-enterprise-server:4.4.5-ubi8``.
4+
5+
To stop the |k8s-op-short| from automatically updating the suffix, set :ref:`old-suffix` or :ref:`old-suffix-helm` to ``true``. For example, you might want to stop the automatic suffix change if you're mirroring this image from your own repository.

source/reference/helm-operator-settings.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,41 @@ managedSecurityContext
210210
# If running OpenShift (Cloud, Minishift, etc.), set this to true.
211211
managedSecurityContext: true
212212

213+
.. _old-suffix-helm:
214+
215+
mongodb.appdbAssumeOldFormat
216+
----------------------------
217+
218+
.. include:: /includes/summary-1-20-suffix-change.rst
219+
220+
The default value is ``false``, which automatically updates the image suffix.
221+
222+
.. example::
223+
224+
.. code-block:: yaml
225+
226+
mongodb:
227+
appdbAssumeOldFormat: false
228+
229+
.. _mongodb-image-type:
230+
231+
mongodb.imageType
232+
-----------------
233+
234+
The suffix of the :term:`application database` image.
235+
236+
.. include:: /includes/summary-1-20-suffix-change.rst
237+
238+
The default is ``ubi8``. We recommend using only ``ubi`` images for consistency, but if you need to, you can change this setting to ``ubuntu2204``.
239+
240+
.. example::
241+
242+
.. code-block:: yaml
243+
244+
mongodb:
245+
imageType: ubi8
246+
247+
213248
multiCluster.clusterClientTimeout
214249
---------------------------------
215250

source/reference/k8s-operator-om-specification.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ resources.
108108
*Required*. Version of MongoDB installed on the |onprem|
109109
:opsmgr:`Application Database </core/system-overview/#application-database>`.
110110
You must specify a compatible enterprise MongoDB version based on the tag in the
111-
:qr-mdb:`container registry </mongodb-enterprise-appdb-database?tab=tags>`.
111+
:qr-mdb:`container registry </mongodb-enterprise-server?tab=tags>`. For example, ``6.0.0-ubi8``. Starting in |k8s-op-short| version 1.20, tags no longer end in ``-ent``.
112112

113113
.. include:: /includes/admonitions/ubi-8-min-db-versions.rst
114114

source/reference/k8s/example-ops-manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ spec:
4949
name: om-db-user-secret
5050
key: password
5151
members: 3
52-
version: "4.4.18-ent"
52+
version: "4.4.5-ubi8"

source/reference/k8s/example-opsmgr-https.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424

2525
applicationDatabase:
2626
members: 3
27-
version: "4.4.0-ent"
27+
version: "4.4.0-ubi8"
2828
security:
2929
certsSecretPrefix: <prefix> # Required. Text to prefix to the
3030
# name of the secret that contains the Application

source/reference/k8s/example-status-om-running-local-mode.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ status:
44
members: 3
55
phase: Running
66
type: ReplicaSet
7-
version: "4.2.11-ent"
7+
version: "4.4.5-ubi8"
88
backup:
99
phase: ""
1010
opsManager:

source/reference/known-issues.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ similar to the following example.
230230

231231
applicationDatabase:
232232
# The version specified must match the one in the image provided in the `mongod` field
233-
version: 4.4.11-ent
233+
version: 4.4.11-ubi8
234234
members: 3
235235
podSpec:
236236
podTemplate:

source/reference/kubectl-operator-settings.txt

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,60 @@ MANAGED_SECURITY_CONTEXT
467467
- name: MANAGED_SECURITY_CONTEXT
468468
value: true
469469

470+
.. _old-suffix:
471+
472+
MDB_APPDB_ASSUME_OLD_FORMAT
473+
---------------------------
474+
475+
.. include:: /includes/summary-1-20-suffix-change.rst
476+
477+
The default value is ``false``, which automatically updates the image suffix.
478+
479+
.. example::
480+
481+
.. code-block:: yaml
482+
:linenos:
483+
484+
spec:
485+
template:
486+
spec:
487+
serviceAccountName: mongodb-enterprise-operator
488+
containers:
489+
- name: mongodb-enterprise-operator
490+
image: <operatorVersionUrl>
491+
imagePullPolicy: <policyChoice>
492+
env:
493+
- name: MDB_APPDB_ASSUME_OLD_FORMAT
494+
value: false
495+
496+
.. _mdb-image-type:
497+
498+
MDB_IMAGE_TYPE
499+
--------------
500+
501+
The suffix of the :term:`application database` image.
502+
503+
.. include:: /includes/summary-1-20-suffix-change.rst
504+
505+
The default is ``-ubi8``. We recommend using only ``ubi`` images for consistency, but if you need to, you can change this setting to ``-ubuntu2204``.
506+
507+
.. example::
508+
509+
.. code-block:: yaml
510+
:linenos:
511+
512+
spec:
513+
template:
514+
spec:
515+
serviceAccountName: mongodb-enterprise-operator
516+
containers:
517+
- name: mongodb-enterprise-operator
518+
image: <operatorVersionUrl>
519+
imagePullPolicy: <policyChoice>
520+
env:
521+
- name: MDB_IMAGE_TYPE
522+
value: ubi8
523+
470524
MONGODB_ENTERPRISE_DATABASE_IMAGE
471525
---------------------------------
472526

source/tutorial/migrate-k8s-images.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ and reapplying the configuration each time to migrate the images
7777
separately:
7878

7979
- ``AGENT_IMAGE``
80-
- ``APPDB_IMAGE_REPOSITORY``
8180
- ``INIT_DATABASE_IMAGE_REPOSITORY``
8281
- ``INIT_OPS_MANAGER_IMAGE_REPOSITORY``
8382
- ``MONGODB_ENTERPRISE_DATABASE_IMAGE``

source/tutorial/om-arch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ version for the Application Database using the
6363
:opsmgrkube:`spec.applicationDatabase.version` setting. The version
6464
that you specify in this setting must correspond to the tag in the
6565
:qr-mdb:`container registry
66-
</mongodb-enterprise-appdb-database?tab=tags>`. Each {+mdbagent+}
66+
</mongodb-enterprise-server?tab=tags>`. Each {+mdbagent+}
6767
starts the Application Database with the specified version on its Pod
6868
in the StatefulSet.
6969

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ To view all available versions for each image, see the following links.
3636
</mongodb-agent-ubi?tab=tags&tag=latest>`
3737
- {+mdbagent+} image.
3838

39-
* - :qr-mdb:`mongodb-enterprise-appdb-database-ubi
40-
</mongodb-enterprise-appdb-database-ubi?tab=tags&tag=latest>`
39+
* - :qr-mdb:`mongodb-enterprise-server
40+
</mongodb-enterprise-server?tab=tags&tag=latest>`
4141
- The Enterprise MongoDB image used for the Application Database.
4242

4343
* - :qr-mdb:`mongodb-enterprise-init-appdb-ubi

source/tutorial/upgrade-k8s-operator.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Upgrade the |k8s-op|
1717
The following procedure outlines how to upgrade the |k8s-op-short|
1818
to its latest version.
1919

20+
.. note::
21+
22+
.. include:: /includes/summary-1-20-suffix-change.rst
23+
2024
Upgrade using |k8s|
2125
-------------------
2226

@@ -76,4 +80,3 @@ The following steps depend on how your environment is configured:
7680
.. include:: /includes/steps/upgrade-os-offline-helm-host.rst
7781

7882
.. include:: /includes/troubleshoot-k8s.rst
79-

0 commit comments

Comments
 (0)