@@ -5,26 +5,38 @@ inherit:
5
5
file : steps-configure-kubectl-namespace.yaml
6
6
ref : configure-kubectl-namespace
7
7
---
8
- title : " Copy the following example |onprem| |k8s| |k8s-obj|."
8
+ title : " Copy one of the following |onprem| |k8s| |k8s-obj| examples ."
9
9
stepnum : 2
10
10
level : 4
11
11
ref : copy-k8s-example
12
12
content : |
13
13
14
- Change the highlighted settings to match your desired
15
- |onprem| configuration.
14
+ Change the settings to match your |onprem| configuration.
16
15
17
- .. literalinclude:: /reference/k8s/example-opsmgr-minimal.yaml
18
- :language: yaml
19
- :linenos:
16
+ .. tabs::
17
+
18
+ .. tab:: Single Kubernetes Cluster
19
+ :tabid: single-cluster-tls
20
+
21
+ .. literalinclude:: /reference/k8s/example-opsmgr-minimal.yaml
22
+ :language: yaml
23
+ :linenos:
24
+
25
+
26
+ .. tab:: Multi-Kubernetes Cluster
27
+ :tabid: multi-cluster-tls
28
+
29
+ .. literalinclude:: /reference/k8s/example-opsmgr-multi-cluster-http.yaml
30
+ :language: yaml
31
+ :linenos:
20
32
21
33
---
22
34
title : " Open your preferred text editor and paste the |k8s-obj| specification into a new text file."
23
35
stepnum : 3
24
36
level : 4
25
37
ref : paste-k8s-example
26
38
---
27
- title : " Configure the settings included in the prior example."
39
+ title : " Configure the settings included in the previous example."
28
40
stepnum : 4
29
41
level : 4
30
42
ref : change-k8s-values
@@ -132,6 +144,33 @@ content: |
132
144
133
145
- .. include:: /includes/facts/fact-which-appdb-version.rst
134
146
147
+ * - | ``spec``
148
+ | ``.applicationDatabase``
149
+ | ``.``:opsmgrkube:`~spec.applicationDatabase.topology`
150
+ - string
151
+ - *Optional*.
152
+
153
+ The type of the |k8s| deployment for the Application Database.
154
+ If omitted, the default is ``SingleCluster``.
155
+
156
+ If you specify ``MultiCluster``, the |k8s-op-short| ignores
157
+ values that you set for the
158
+ :setting:`spec.applicationDatabase.members <spec.members>`
159
+ field, if specified.
160
+
161
+ Instead, you must specify the :opsmgrkube:`clusterSpecList <spec.applicationDatabase.clusterSpecList>`
162
+ and include in it the :opsmgrkube:`clusterName <spec.applicationDatabase.clusterSpecList.clusterName>`
163
+ of each selected |k8s| member cluster on which you want to deploy the Application Database, and
164
+ the number of :opsmgrkube:`members <spec.applicationDatabase.clusterSpecList.clusterName.members>`
165
+ (MongoDB nodes) in each |k8s| cluster.
166
+
167
+ .. note::
168
+
169
+ .. include:: /includes/facts/fact-cannot-convert-om-crd-multi.rst
170
+
171
+ See also the :ref:`example of the resource specification <om_resource_spec_example_multi_cluster>`.
172
+
173
+ - ``MultiCluster``
135
174
---
136
175
title : " Configure backup settings."
137
176
stepnum : 5
@@ -175,7 +214,9 @@ content: |
175
214
| ``.mongodbResourceRef``
176
215
| ``.``:opsmgrkube:`~spec.backup.opLogStores.mongodbResourceRef.name`
177
216
- string
178
- - Name of the MongoDB database resource for the oplog store.
217
+ - Name of the |k8s-mdbrsc| or |mongodb-multi| for the oplog store.
218
+ The resource's ``metadata.name`` must match this name.
219
+
179
220
- ``my-oplog-db``
180
221
181
222
You must also configure an :term:`S3 snapshot store <s3 snapshot store>`
@@ -273,9 +314,9 @@ content: |
273
314
| ``.mongodbResourceRef``
274
315
| ``.``:opsmgrkube:`~spec.backup.blockStores.mongodbResourceRef.name`
275
316
- string
276
- - Name of the MongoDB database resource that you create for the
277
- blockstore. You must deploy this database resource in the same
278
- namespace as the |onprem| resource.
317
+ - Name of the |k8s-mdbrsc| that you create for the blockstore.
318
+ You must deploy this database resource in the same namespace as
319
+ the |onprem| resource. The resource's ``metadata.name`` must match this name .
279
320
- ``my-mongodb-blockstore``
280
321
---
281
322
title : " Configure any additional settings for an |onprem| backup."
@@ -348,7 +389,7 @@ content: |
348
389
349
390
status:
350
391
applicationDatabase:
351
- lastTransition: "2020 -04-01T09:49:22Z"
392
+ lastTransition: "2022 -04-01T09:49:22Z"
352
393
message: AppDB Statefulset is not ready yet
353
394
phase: Reconciling
354
395
type: ""
@@ -376,22 +417,22 @@ content: |
376
417
377
418
status:
378
419
applicationDatabase:
379
- lastTransition: "2020 -04-01T09:50:20Z"
420
+ lastTransition: "2022 -04-01T09:50:20Z"
380
421
members: 3
381
422
phase: Running
382
423
type: ReplicaSet
383
- version: "4.4 .5-ubi8"
424
+ version: "6.0 .5-ubi8"
384
425
backup:
385
- lastTransition: "2020 -04-01T09:57:42Z"
426
+ lastTransition: "2022 -04-01T09:57:42Z"
386
427
message: The MongoDB object <namespace>/<oplogresourcename>
387
428
doesn't exist
388
429
phase: Pending
389
430
opsManager:
390
- lastTransition: "2020 -04-01T09:57:40Z"
431
+ lastTransition: "2022 -04-01T09:57:40Z"
391
432
phase: Running
392
433
replicas: 1
393
434
url: http://om-svc.cloudqa.svc.cluster.local:8080
394
- version: "5 .0.0 "
435
+ version: "6 .0.17 "
395
436
396
437
Backup remains in a ``Pending`` state until you configure the backup
397
438
databases.
@@ -459,7 +500,7 @@ content: |
459
500
service, refer to the documentation for your solution.
460
501
461
502
---
462
- title : " Create credentials for the Kubernetes Operator ."
503
+ title : " Create credentials for the |k8s-op-short| ."
463
504
stepnum : 12
464
505
level : 4
465
506
optional : true
@@ -489,30 +530,30 @@ content: |
489
530
kubectl get om -o yaml -w
490
531
491
532
The command returns the URL of the |application| in the
492
- ``status.opsManager.url`` field.
533
+ ``status.opsManager.url`` field, similar to the following example:
493
534
494
535
.. code-block:: yaml
495
536
:copyable: false
496
537
:emphasize-lines: 17
497
538
498
539
status:
499
540
applicationDatabase:
500
- lastTransition: "2020 -04-01T10:00:32Z"
541
+ lastTransition: "2022 -04-01T10:00:32Z"
501
542
members: 3
502
543
phase: Running
503
544
type: ReplicaSet
504
- version: "4.4 .5-ubi8"
545
+ version: "6.0 .5-ubi8"
505
546
backup:
506
- lastTransition: "2020 -04-01T09:57:42Z"
547
+ lastTransition: "2022 -04-01T09:57:42Z"
507
548
message: The MongoDB object <namespace>/<oplogresourcename>
508
549
doesn't exist
509
550
phase: Pending
510
551
opsManager:
511
- lastTransition: "2020 -04-01T09:57:40Z"
552
+ lastTransition: "2022 -04-01T09:57:40Z"
512
553
phase: Running
513
554
replicas: 1
514
555
url: http://om-svc.cloudqa.svc.cluster.local:8080
515
- version: "5 .0.0 "
556
+ version: "6 .0.17 "
516
557
517
558
.. include:: /includes/admonitions/data-url-config-map-external-dbs.rst
518
559
@@ -579,21 +620,21 @@ content: |
579
620
580
621
status:
581
622
applicationDatabase:
582
- lastTransition: "2020 -04-01T10:00:32Z"
623
+ lastTransition: "2022 -04-01T10:00:32Z"
583
624
members: 3
584
625
phase: Running
585
626
type: ReplicaSet
586
- version: "4.4 .5-ubi8"
627
+ version: "6.0 .5-ubi8"
587
628
backup:
588
- lastTransition: "2020 -04-01T10:00:53Z"
629
+ lastTransition: "2022 -04-01T10:00:53Z"
589
630
phase: Running
590
- version: "4.2.8 "
631
+ version: "6.0.5-ubi8 "
591
632
opsManager:
592
- lastTransition: "2020 -04-01T10:00:34Z"
633
+ lastTransition: "2022 -04-01T10:00:34Z"
593
634
phase: Running
594
635
replicas: 1
595
636
url: http://om-svc.cloudqa.svc.cluster.local:8080
596
- version: "5 .0.0 "
637
+ version: "6 .0.17 "
597
638
598
639
See :doc:`/reference/troubleshooting` for information about the
599
640
resource deployment statuses.
0 commit comments