Skip to content

Commit ec33fbd

Browse files
DOCSP-25301: Add a note for deprecation of Ubuntu images to test this with users (#1058)
* DOCSP-25301: remove ubuntu image support * DOCSP-25301: add note * DOCSP-25301: add note * fix warning * Apply suggestions from code review Co-authored-by: kyuan-mongodb <[email protected]> Co-authored-by: kyuan-mongodb <[email protected]>
1 parent 62a0b27 commit ec33fbd

7 files changed

+75
-101
lines changed

source/includes/list-tables/compatibility-mdb.rst

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
.. important::
2+
3+
Starting with the |k8s-op-short| 1.17 release, Ubuntu base images
4+
are deprecated and will be removed in a future release.
5+
6+
MongoDB will continue to support the Red Hat UBI 8 base images.
7+
8+
To provide feedback about this change, use the `MongoDB Feedback Engine
9+
<https://feedback.mongodb.com/forums/924355-ops-tools?category_id=370990>`__.
10+
111
.. list-table::
212
:header-rows: 1
313
:widths: 50 50
@@ -6,16 +16,14 @@
616
- Base Image
717

818
* - 1.17.x
9-
- Ubuntu 20.04, Red Hat UBI 8 Base Image [1]_
19+
- Ubuntu 20.04 (deprecated), Red Hat UBI 8 Base Image
1020

1121
* - 1.16.x
12-
- Ubuntu 20.04, Red Hat UBI 8 Base Image [1]_
22+
- Ubuntu 20.04, Red Hat UBI 8 Base Image
1323

1424
* - 1.15.x
15-
- Ubuntu 20.04, Red Hat UBI 8 Base Image [1]_
25+
- Ubuntu 20.04, Red Hat UBI 8 Base Image
1626

1727
* - 1.14.x
18-
- Ubuntu 20.04, Red Hat UBI 8 Base Image [1]_
19-
28+
- Ubuntu 20.04, Red Hat UBI 8 Base Image
2029

21-
.. [1] Most commonly used for OpenShift deployments

source/includes/steps-deploy-k8s-opsmgr-local-mode.yaml

Lines changed: 28 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -258,37 +258,18 @@ content: |
258258
.. note::
259259
260260
The examples below provide you with a link to quickly download the
261-
specified versions of MongoDB Community edition and the MongoDB
262-
Database tools.
261+
specified versions of MongoDB Community edition.
263262
264263
To download MongoDB Enterprise Edition, or any other version of
265264
MongoDB Community Edition, visit the :dl:`MongoDB Download Center`.
266265
267-
.. tabs::
268-
269-
.. tab:: Vanilla Kubernetes
270-
:tabid: k8s
271-
272-
a. Download the Ubuntu 20.04 installation tarball for the
273-
MongoDB Server version you want the |k8s-op-short| to
274-
deploy. For example, to download the ``4.4.0`` release:
275-
276-
.. code-block:: sh
277-
278-
curl -OL https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.4.0.tgz
279-
280-
281-
.. tab:: OpenShift
282-
:tabid: os
283-
284-
a. Download the RHEL installation tarball for the MongoDB
285-
database version you want the |k8s-op-short| to deploy. For
286-
example, to download the ``4.4.0`` release:
266+
Download the RHEL installation tarball for the MongoDB Server version
267+
you want the |k8s-op-short| to deploy. For example, to download the
268+
``6.0.1`` release:
287269
288-
.. code-block:: sh
289-
290-
curl -OL https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel<version>-4.4.0.tgz
270+
.. code-block:: sh
291271
272+
curl -OL https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-6.0.1.tgz
292273
293274
---
294275

@@ -319,49 +300,45 @@ content: |
319300
To copy the MongoDB installation archive to the
320301
|onprem| PersistentVolume:
321302
322-
a. Copy the MongoDB Server installation tarball to the
323-
|onprem| PersistentVolume. For example, to copy the ``5.0.0``
324-
release:
303+
Copy the MongoDB Server installation tarball to the
304+
|onprem| PersistentVolume. For example, to copy the ``6.0.1``
305+
release:
325306
326-
| Replica 0:
307+
| Replica 0:
327308
328-
.. code-block:: sh
309+
.. code-block:: sh
329310
330-
kubectl cp mongodb-linux-x86_64-ubuntu1604-5.0.0.tgz \
331-
"ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-ubuntu1604-5.0.0.tgz"
311+
kubectl cp mongodb-linux-x86_64-rhel80-6.0.1.tgz \
312+
"ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel80-6.0.1.tgz"
332313
333-
| Replica 1:
334-
335-
.. code-block:: sh
336-
337-
kubectl cp mongodb-linux-x86_64-ubuntu1604-5.0.0.tgz \
338-
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-ubuntu1604-5.0.0.tgz"
314+
| Replica 1:
339315
316+
.. code-block:: sh
340317
318+
kubectl cp mongodb-linux-x86_64-rhel80-6.0.1.tgz \
319+
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel80-6.0.1.tgz"
341320
342321
.. tab:: OpenShift
343322
:tabid: os
344323
345324
To copy the MongoDB installation archive to the
346-
|onprem| PersistentVolume:
347-
348-
a. Copy the MongoDB Server installation ``tarball`` to the
349-
|onprem| PersistentVolume. For example, to copy the ``5.0.0``
350-
release:
325+
|onprem| PersistentVolume, copy the MongoDB Server installation ``tarball`` to the
326+
|onprem| PersistentVolume. For example, to copy the ``6.0.1``
327+
release:
351328
352-
| Replica 0:
329+
| Replica 0:
353330
354-
.. code-block:: sh
331+
.. code-block:: sh
355332
356-
oc rsync "ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel<version>-5.0.0.tgz" \
357-
mongodb-linux-x86_64-rhel<version>-5.0.0.tgz
333+
oc rsync "ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel80-6.0.1.tgz" \
334+
mongodb-linux-x86_64-rhel80-6.0.1.tgz
358335
359-
| Replica 1:
336+
| Replica 1:
360337
361-
.. code-block:: sh
338+
.. code-block:: sh
362339
363-
oc rsync "ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel<version>-5.0.0.tgz" \
364-
mongodb-linux-x86_64-rhel<version>-5.0.0.tgz
340+
oc rsync "ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel80-6.0.1.tgz" \
341+
mongodb-linux-x86_64-rhel80-6.0.1.tgz
365342
366343
---
367344
title: "Deploy a MongoDB Database Resource."

source/includes/steps-deploy-k8s-opsmgr-remote-mode.yaml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -87,27 +87,27 @@ content: |
8787
to the appropriate initContainer for each version you want
8888
Nginx to serve.
8989
90-
For example, to configure Nginx to serve MongoDB ``4.2.0``
91-
and ``4.4.0``:
90+
For example, to configure Nginx to serve MongoDB ``5.0.12``
91+
and ``6.0.1``:
9292
9393
.. code-block:: yaml
9494
:emphasize-lines: 9-14
9595
:copyable: false
9696
97-
- name: setting-up-ubuntu-mongodb
97+
- name: setting-up-rhel-mongodb
9898
image: curlimages/curl:latest
9999
command:
100100
- curl
101101
- -L
102-
- https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz
102+
- https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-5.0.12.tgz
103103
- -o
104-
- /mongodb-ops-manager/mongodb-releases/linux/mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz
104+
- /mongodb-ops-manager/mongodb-releases/linux/mongodb-linux-x86_64-rhel80-5.0.12.tgz
105105
- &&
106106
- curl
107107
- -L
108-
- https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.4.0.tgz
108+
- https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-6.0.1.tgz
109109
- -o
110-
- /mongodb-ops-manager/mongodb-releases/linux/mongodb-linux-x86_64-ubuntu1604-4.4.0.tgz
110+
- /mongodb-ops-manager/mongodb-releases/linux/mongodb-linux-x86_64-rhel80-6.0.1.tgz
111111
112112
#. Save this file with a ``.yaml`` file extension.
113113
@@ -156,24 +156,23 @@ content: |
156156
and ``4.4.0``:
157157
158158
.. code-block:: yaml
159-
:emphasize-lines: 10-15
159+
:emphasize-lines: 10-14
160160
:copyable: false
161161
162-
initContainers:
163-
- name: setting-up-rhel-mongodb
164-
image: curlimages/curl:latest
165-
command:
166-
- curl
167-
- -L
168-
- https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel<version>-4.2.0.tgz
169-
- -o
170-
- /mongodb-ops-manager/mongodb-releases/linux/mongodb-linux-x86_64-rhel<version>-4.2.0.tgz
171-
- &&
172-
- curl
173-
- -L
174-
- https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel<version>-4.4.0.tgz
175-
- -o
176-
- /mongodb-ops-manager/mongodb-releases/linux/mongodb-linux-x86_64-rhel<version>-4.4.0.tgz
162+
- name: setting-up-rhel-mongodb
163+
image: curlimages/curl:latest
164+
command:
165+
- curl
166+
- -L
167+
- https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-5.0.12.tgz
168+
- -o
169+
- /mongodb-ops-manager/mongodb-releases/linux/mongodb-linux-x86_64-rhel80-5.0.12.tgz
170+
- &&
171+
- curl
172+
- -L
173+
- https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-6.0.1.tgz
174+
- -o
175+
- /mongodb-ops-manager/mongodb-releases/linux/mongodb-linux-x86_64-rhel80-6.0.1.tgz
177176
178177
#. Save this file with a ``.yaml`` file extension.
179178

source/includes/steps-install-prereqs.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ content: |
6969
communicate with the |k8s-op-short|.
7070
7171
To learn how to check your |ntp| service for your |onprem|
72-
host, see the documentation for
73-
`Ubuntu <https://help.ubuntu.com/lts/serverguide/NTP.html>`__ or
74-
`RHEL
72+
host, see the documentation for `RHEL
7573
<https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/s1-checking_the_status_of_ntp>`__.
7674
7775
---

source/reference/k8s/example-nginx-deployment-k8s.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ spec:
2828
mountPath: /etc/nginx/nginx.conf
2929
subPath: nginx.conf
3030
initContainers:
31-
- name: setting-up-ubuntu-mongodb
31+
- name: setting-up-rhel-mongodb
3232
image: curlimages/curl:latest
3333
command:
3434
- curl
3535
- -L
36-
- https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz
36+
- https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-6.0.1.tgz
3737
- -o
38-
- /mongodb-ops-manager/mongodb-releases/linux/mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz
38+
- /mongodb-ops-manager/mongodb-releases/linux/mongodb-linux-x86_64-rhel80-6.0.1.tgz
3939
volumeMounts:
4040
- name: mongodb-versions
4141
mountPath: /mongodb-ops-manager/mongodb-releases/linux
42-
- name: setting-up-ubuntu-mongodb-tools
42+
- name: setting-up-rhel-mongodb-tools
4343
image: curlimages/curl:latest
4444
command:
4545
- curl
4646
- -L
47-
- https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu1604-x86_64-100.1.0.tgz
47+
- https://fastdl.mongodb.org/tools/db/mongodb-database-tools-rhel80-x86_64-100.6.0.tgz
4848
- -o
49-
- /tools/db/mongodb-database-tools-ubuntu1604-x86_64-100.1.0.tgz
49+
- /tools/db/mongodb-database-tools-rhel80-x86_64-100.6.0.tgz
5050
volumeMounts:
5151
- name: mongodb-tools
5252
mountPath: /tools/db/

source/tutorial/modify-resource-image.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ To create a volume mount for a MongoDB database resource:
8383
Tune MongoDB Kubernetes Resource Docker Images with an InitContainer
8484
--------------------------------------------------------------------
8585

86-
|k8s-mdbrsc| Docker images run on Ubuntu and use Ubuntu's default
87-
system configuration. To tune the underlying Ubuntu system
86+
|k8s-mdbrsc| Docker images run on RHEL and use RHEL's default
87+
system configuration. To tune the underlying RHEL system
8888
configuration in the |k8s-mdbrsc| containers, add a privileged
8989
InitContainer
9090
:k8sdocs:`init container </concepts/workloads/pods/init-containers/>`
@@ -98,7 +98,7 @@ using one of the following settings:
9898

9999
.. example::
100100

101-
MongoDB database resource Docker images use the Ubuntu default
101+
MongoDB database resource Docker images use the RHEL default
102102
``keepalive`` time of ``7200``. MongoDB recommends a shorter
103103
``keepalive`` time of ``120`` for database deployments.
104104

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ following operating systems:
3232
- Image OS
3333

3434
* - Quay.io
35-
- `Ubuntu 20.04 <https://www.ubuntu.com/containers>`__
36-
37-
`Red Hat UBI 8 <https://www.redhat.com/en/topics/containers>`__
35+
- `Red Hat UBI 8 <https://www.redhat.com/en/topics/containers>`__
3836

3937
* - Red Hat Catalog
4038
- `Red Hat UBI 8 <https://www.redhat.com/en/topics/containers>`__
@@ -75,9 +73,3 @@ a container registry:
7573
* - ``mongodb-enterprise-init-ops-manager``
7674
- ``initContainer`` image that contains the Ops Manager start-up
7775
scripts and the readiness probe.
78-
79-
.. note::
80-
81-
Images from Quay.io use Ubuntu 20.04 by default. Append
82-
``-ubi`` to an image name to retrieve a version that uses
83-
Red Hat UBI 8.

0 commit comments

Comments
 (0)