Skip to content

Commit 69ef260

Browse files
(DOCSP-9702): Design a new Versioning of Ops Manager images (#246)
* (DOCSP-9702): Design a new Versioning of Ops Manager images * (DOCSP-9702): tech review feedback and adding appdb versioning and initcontainer changes * (DOCSP-9702): more additions for appdb versioning and initContainer
1 parent da9f76e commit 69ef260

File tree

7 files changed

+642
-21
lines changed

7 files changed

+642
-21
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Replace the following values:
22

33
- ``<op-version>`` with the |k8s-op-short| version you're installing
4-
- ``<om-version>`` with the |onprem| version you're installing.
4+
- ``<om-version>`` with the |onprem| version you're installing.
5+
- ``<db-version>`` with the MongoDB Enterprise database version you're
6+
installing.

source/includes/list-tables/k8s-helm-install-options.rst

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,73 @@
7575
operator:
7676
watchNamespace: *
7777
78+
* - ``registry.operator``
79+
- Repository from which the |k8s-op-short| image is pulled. Specify
80+
this value if you want to pull the |k8s-op-short| image from a
81+
private repository.
82+
83+
.. example::
84+
85+
.. code-block:: sh
86+
:emphasize-lines: 2
87+
88+
registry:
89+
operator: quay.io/mongodb
90+
91+
* - ``registry.opsManager``
92+
- Repository from which the |onprem| image is pulled. Specify
93+
this value if you want to pull the |onprem| image from a
94+
private repository.
95+
96+
.. example::
97+
98+
.. code-block:: sh
99+
:emphasize-lines: 2
100+
101+
registry:
102+
opsManager: quay.io/mongodb
103+
104+
* - ``registry.initOpsManager``
105+
- Repository from which the |onprem| initContainer image is pulled.
106+
This image contains the start-up scripts and readiness probe
107+
for |onprem|.
108+
109+
Specify this value if you want to pull the |onprem| initContainer
110+
image from a private repository.
111+
112+
.. example::
113+
114+
.. code-block:: sh
115+
:emphasize-lines: 2
116+
117+
registry:
118+
initOpsManager: quay.io/mongodb
119+
120+
* - ``registry.appDb``
121+
- Repository from which the Application Database image is pulled.
122+
Specify this value if you want to pull the |onprem| image from a
123+
private repository.
124+
125+
.. example::
126+
127+
.. code-block:: sh
128+
:emphasize-lines: 2
129+
130+
registry:
131+
appDb: quay.io/mongodb
132+
133+
* - ``registry.initAppDb``
134+
- Repository from which the Application Database initContainer
135+
image is pulled. This image contains the start-up scripts and
136+
readiness probe for the Application Database.
137+
138+
Specify this value if you want to pull the Application Database
139+
initContainer image from a private repository.
140+
141+
.. example::
142+
143+
.. code-block:: sh
144+
:emphasize-lines: 2
145+
146+
registry:
147+
initAppDb: quay.io/mongodb

source/includes/list-tables/k8s-kubectl-install-options.rst

Lines changed: 235 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,82 @@
9292
- name: WATCH_NAMESPACE
9393
value: "<testNamespace>"
9494
95+
* - ``MONGODB_ENTERPRISE_DATABASE_IMAGE``
96+
- |url| of the MongoDB Enterprise Database image the |k8s-op-short|
97+
deploys.
98+
99+
Default value is
100+
``quay.io/mongodb/mongodb-enterprise-database``.
101+
102+
.. code-block:: yaml
103+
104+
spec.template.spec.containers.name.env.name:
105+
MONGODB_ENTERPRISE_DATABASE_IMAGE
106+
spec.template.spec.containers.name.env.value:
107+
quay.io/mongodb/mongodb-enterprise-database
108+
109+
.. example::
110+
111+
.. code-block:: yaml
112+
:linenos:
113+
:emphasize-lines: 10-13
114+
115+
spec:
116+
template:
117+
spec:
118+
serviceAccountName: mongodb-enterprise-operator
119+
containers:
120+
- name: mongodb-enterprise-operator
121+
image: <operatorVersionUrl>
122+
imagePullPolicy: <policyChoice>
123+
env:
124+
- name: MONGODB_ENTERPRISE_DATABASE_IMAGE
125+
value: quay.io/mongodb/mongodb-enterprise-database
126+
- name: IMAGE_PULL_POLICY
127+
value: Always
128+
129+
* - ``IMAGE_PULL_POLICY``
130+
- :k8sdocs:`Pull policy
131+
</concepts/configuration/overview/#container-images>` for the
132+
MongoDB Enterprise database image the |k8s-op-short| deploys.
133+
134+
Accepted values are ``Always``, ``IfNotPresent``, ``Never``.
135+
136+
Default value is ``Always``.
137+
138+
.. code-block:: yaml
139+
140+
spec.template.spec.containers.name.env.name:
141+
IMAGE_PULL_POLICY
142+
spec.template.spec.containers.name.env.value:
143+
<policy>
144+
145+
.. example::
146+
147+
.. code-block:: yaml
148+
:linenos:
149+
:emphasize-lines: 10-13
150+
151+
spec:
152+
template:
153+
spec:
154+
serviceAccountName: mongodb-enterprise-operator
155+
containers:
156+
- name: mongodb-enterprise-operator
157+
image: <operatorVersionUrl>
158+
imagePullPolicy: <policyChoice>
159+
env:
160+
- name: MONGODB_ENTERPRISE_DATABASE_IMAGE
161+
value: quay.io/mongodb/mongodb-enterprise-database
162+
- name: IMAGE_PULL_POLICY
163+
value: Always
164+
95165
* - ``OPS_MANAGER_IMAGE_REPOSITORY``
96166
- |url| of the repository from which the image for an :doc:`Ops
97167
Manager resource </tutorial/deploy-om-container>` is downloaded.
98168

99-
Default value is:
100-
``quay.io/mongodb/mongodb-enterprise-ops-manager``
169+
Default value is
170+
``quay.io/mongodb/mongodb-enterprise-ops-manager``.
101171

102172
.. code-block:: yaml
103173
@@ -129,12 +199,11 @@
129199
* - ``OPS_MANAGER_IMAGE_PULL_POLICY``
130200
- :k8sdocs:`Pull policy
131201
</concepts/configuration/overview/#container-images>` for the
132-
image deployed to an :doc:`Ops Manager resource
133-
</tutorial/deploy-om-container>`.
202+
|onprem| images the |k8s-op-short| deploys.
134203

135-
Accepted values are: ``Always``, ``IfNotPresent``, ``Never``
204+
Accepted values are: ``Always``, ``IfNotPresent``, ``Never``.
136205

137-
Default value is: ``Always``
206+
Default value is ``Always``.
138207

139208
.. code-block:: yaml
140209
@@ -162,3 +231,163 @@
162231
value: quay.io/mongodb/mongodb-enterprise-ops-manager
163232
- name: OPS_MANAGER_IMAGE_PULL_POLICY
164233
value: Always
234+
235+
* - ``INIT_OPS_MANAGER_IMAGE_REPOSITORY``
236+
- |url| of the repository from which the initContainer image that
237+
contains |onprem| start-up scripts and the readiness probe is
238+
downloaded.
239+
240+
Default value is
241+
``quay.io/mongodb/mongodb-enterprise-ops-manager-init``.
242+
243+
.. code-block:: yaml
244+
245+
spec.template.spec.containers.name.env.name:
246+
INIT_OPS_MANAGER_IMAGE_REPOSITORY
247+
spec.template.spec.containers.name.env.value:
248+
quay.io/mongodb/mongodb-enterprise-ops-manager-init
249+
250+
.. example::
251+
252+
.. code-block:: yaml
253+
:linenos:
254+
:emphasize-lines: 9-11
255+
256+
spec:
257+
template:
258+
spec:
259+
serviceAccountName: mongodb-enterprise-operator
260+
containers:
261+
- name: mongodb-enterprise-operator
262+
image: <operatorVersionUrl>
263+
imagePullPolicy: <policyChoice>
264+
env:
265+
- name: INIT_OPS_MANAGER_IMAGE_REPOSITORY
266+
value: quay.io/mongodb/mongodb-enterprise-ops-manager-init
267+
268+
* - ``INIT_OPS_MANAGER_VERSION``
269+
- Version of the initContainer image that contains |onprem|
270+
start-up scripts and the readiness probe.
271+
272+
Default value is ``latest``.
273+
274+
.. code-block:: yaml
275+
276+
spec.template.spec.containers.name.env.name:
277+
INIT_OPS_MANAGER_VERSION
278+
spec.template.spec.containers.name.env.value:
279+
latest
280+
281+
.. example::
282+
283+
.. code-block:: yaml
284+
:linenos:
285+
:emphasize-lines: 9-11
286+
287+
spec:
288+
template:
289+
spec:
290+
serviceAccountName: mongodb-enterprise-operator
291+
containers:
292+
- name: mongodb-enterprise-operator
293+
image: <operatorVersionUrl>
294+
imagePullPolicy: <policyChoice>
295+
env:
296+
- name: INIT_APPDB_VERSION
297+
value: latest
298+
299+
* - ``APPDB_IMAGE_REPOSITORY``
300+
- |url| of the repository from which the Application Database image
301+
is downloaded.
302+
303+
Default value is
304+
``quay.io/mongodb/mongodb-enterprise-appdb``.
305+
306+
.. code-block:: yaml
307+
308+
spec.template.spec.containers.name.env.name:
309+
APPDB_IMAGE_REPOSITORY
310+
spec.template.spec.containers.name.env.value:
311+
quay.io/mongodb/mongodb-enterprise-appdb
312+
313+
.. example::
314+
315+
.. code-block:: yaml
316+
:linenos:
317+
:emphasize-lines: 9-11
318+
319+
spec:
320+
template:
321+
spec:
322+
serviceAccountName: mongodb-enterprise-operator
323+
containers:
324+
- name: mongodb-enterprise-operator
325+
image: <operatorVersionUrl>
326+
imagePullPolicy: <policyChoice>
327+
env:
328+
- name: APPDB_IMAGE_REPOSITORY
329+
value: quay.io/mongodb/mongodb-enterprise-appdb
330+
331+
* - ``INIT_APPDB_IMAGE_REPOSITORY``
332+
- |url| of the repository from which the initContainer image that
333+
contains Application Database start-up scripts and the readiness
334+
probe is downloaded.
335+
336+
Default value is
337+
``quay.io/mongodb/mongodb-enterprise-appdb-init``.
338+
339+
.. code-block:: yaml
340+
341+
spec.template.spec.containers.name.env.name:
342+
INIT_APPDB_IMAGE_REPOSITORY
343+
spec.template.spec.containers.name.env.value:
344+
quay.io/mongodb/mongodb-enterprise-init-appdb
345+
346+
.. example::
347+
348+
.. code-block:: yaml
349+
:linenos:
350+
:emphasize-lines: 9-11
351+
352+
spec:
353+
template:
354+
spec:
355+
serviceAccountName: mongodb-enterprise-operator
356+
containers:
357+
- name: mongodb-enterprise-operator
358+
image: <operatorVersionUrl>
359+
imagePullPolicy: <policyChoice>
360+
env:
361+
- name: INIT_APPDB_IMAGE_REPOSITORY
362+
value: quay.io/mongodb/mongodb-enterprise-init-appdb
363+
364+
* - ``INIT_APPDB_VERSION``
365+
- Version of the initContainer image that contains |onprem|
366+
start-up scripts and the readiness probe.
367+
368+
Default value is ``latest``.
369+
370+
.. code-block:: yaml
371+
372+
spec.template.spec.containers.name.env.name:
373+
INIT_APPDB_VERSION
374+
spec.template.spec.containers.name.env.value:
375+
latest
376+
377+
.. example::
378+
379+
.. code-block:: yaml
380+
:linenos:
381+
:emphasize-lines: 9-11
382+
383+
spec:
384+
template:
385+
spec:
386+
serviceAccountName: mongodb-enterprise-operator
387+
containers:
388+
- name: mongodb-enterprise-operator
389+
image: <operatorVersionUrl>
390+
imagePullPolicy: <policyChoice>
391+
env:
392+
- name: INIT_APPDB_VERSION
393+
value: latest

0 commit comments

Comments
 (0)