@@ -11,7 +11,7 @@ content: |
11
11
.. literalinclude:: /reference/k8s/example-opsmgr-minimal.yaml
12
12
:language: yaml
13
13
:linenos:
14
- :emphasize-lines: 5,7-11,13,15,17-19,21,23-25,27-31,34-35
14
+ :emphasize-lines: 5,7-11,13,15,17-19,21,23-25,27-31,34,38-39
15
15
16
16
---
17
17
title : " Open your preferred text editor and paste the |k8s-obj| specification into a new text file."
@@ -152,6 +152,26 @@ content: |
152
152
database Backup snapshots.
153
153
- my-bucket
154
154
155
+ * - | ``spec``
156
+ | ``.externalConnectivity``
157
+ | ``.``:opsmgrkube:`~spec.externalConnectivity.type`
158
+ - string
159
+ - *Optional*.
160
+
161
+ The |k8s| service :k8sdocs:`ServiceType
162
+ </concepts/services-networking/service/#publishing-services-service-types>`
163
+ that exposes |onprem| outside of |k8s|.
164
+
165
+ .. note::
166
+
167
+ Exclude the ``spec.``:opsmgrkube:`~spec.externalConnectivity`
168
+ setting and its children if you don't want the
169
+ |k8s-op-short| to create a |k8s| service to route external
170
+ traffic to the |onprem| application.
171
+
172
+
173
+ - ``LoadBalancer``
174
+
155
175
* - | ``spec``
156
176
| ``.applicationDatabase``
157
177
| ``.``:setting:`~spec.members`
@@ -214,48 +234,10 @@ content: |
214
234
.. include:: /includes/k8s/k8s-persistent-volumes-om.rst
215
235
216
236
- ``true``
217
- ---
218
- title : " Allow external traffic to reach the |onprem| application."
219
- stepnum : 4
220
- level : 4
221
- ref : om-external-connectivity
222
- content : |
223
-
224
- By default, the |k8s-op-short| does not create a |k8s| service to
225
- route traffic originating from outside of the |k8s| cluster to the
226
- |onprem| application.
227
-
228
- To access the |onprem| application, you can:
229
-
230
- - Configure the |k8s-op-short| to create a |k8s| service.
231
- - Create a |k8s| service manually. MongoDB recommends using a
232
- ``LoadBalancer`` |k8s| service if your cloud provider supports it.
233
- - If you're using OpenShift, use
234
- `Routes <https://docs.openshift.com/enterprise/3.0/architecture/core_concepts/routes.html>`__.
235
- - Use a third-party service, such as Istio.
236
-
237
- The simplest method is to configure the |k8s-op-short| to create a
238
- |k8s| service to route external traffic to the |onprem| application:
239
-
240
- a. Add the ``spec.``:opsmgrkube:`~spec.externalConnectivity` setting
241
- to the |k8s-obj| specification.
242
-
243
- #. Add the following settings to the |k8s-obj| specification
244
- to configure the |k8s| service that routes external traffic to the
245
- |onprem| application:
246
-
247
- - ``spec.externalConnectivity.``:opsmgrkube:`~spec.externalConnectivity.type`
248
- - (optional) ``spec.externalConnectivity.``:opsmgrkube:`~spec.externalConnectivity.port`
249
-
250
- To learn how to create a |k8s| :k8sdocs:`service </concepts/services-networking/service/>`
251
- manually, see the |k8s| documentation.
252
-
253
- To learn how to route external traffic to the |onprem| application
254
- using a different method, refer to the documentation for your solution.
255
237
256
238
---
257
239
title : " (Optional) Configure any additional settings for an |onprem| deployment."
258
- stepnum : 5
240
+ stepnum : 4
259
241
level : 4
260
242
ref : add-k8s-values
261
243
content : |
@@ -286,16 +268,20 @@ content: |
286
268
- ``spec.backup.opLogStores.mongodbUserRef.``:opsmgrkube:`~spec.backup.opLogStores.mongodbUserRef.name`
287
269
- ``spec.backup.s3Stores.mongodbUserRef.``:opsmgrkube:`~spec.backup.s3Stores.mongodbUserRef.name`
288
270
- ``spec.backup.s3Stores.``:opsmgrkube:`~spec.backup.s3Stores.pathStyleAccessEnabled`
271
+ - ``spec.externalConnectivity.``:opsmgrkube:`~spec.externalConnectivity.port`
272
+ - ``spec.externalConnectivity.``:opsmgrkube:`~spec.externalConnectivity.loadBalancerIP`
273
+ - ``spec.externalConnectivity.``:opsmgrkube:`~spec.externalConnectivity.externalTrafficPolicy`
274
+ - ``spec.externalConnectivity.``:opsmgrkube:`~spec.externalConnectivity.annotations`
289
275
290
276
---
291
277
title : " Save this file with a ``.yaml`` file extension."
292
- stepnum : 6
278
+ stepnum : 5
293
279
level : 4
294
280
ref : save-object-spec
295
281
296
282
---
297
283
title : " Create your |onprem| instance."
298
- stepnum : 7
284
+ stepnum : 6
299
285
level : 4
300
286
ref : start-k8s-instance
301
287
content : |
@@ -309,7 +295,7 @@ content: |
309
295
310
296
---
311
297
title : " Track the status of your |onprem| instance."
312
- stepnum : 8
298
+ stepnum : 7
313
299
level : 4
314
300
ref : track-k8s-instance
315
301
content : |
@@ -372,7 +358,7 @@ content: |
372
358
373
359
---
374
360
title : " Access the |onprem| application."
375
- stepnum : 9
361
+ stepnum : 8
376
362
level : 4
377
363
ref : access-opsmgr-instance
378
364
content : |
@@ -422,8 +408,8 @@ content: |
422
408
423
409
#. Log in to |onprem| using the :ref:`admin user credentials <om-rsrc-prereqs>`.
424
410
425
- To learn how to access the |onprem| application using a different
426
- traffic routing method , refer to the documentation for your solution.
411
+ To learn how to access the |onprem| application using a third-party
412
+ service , refer to the documentation for your solution.
427
413
428
414
---
429
415
title : " Create credentials for the Kubernetes Operator."
0 commit comments