@@ -12,64 +12,45 @@ Configure Kubernetes for Deploying MongoDB Resource
1212 :depth: 1
1313 :class: singlecol
1414
15- You can use the Kubernetes Operator to deploy MongoDB resources such as
15+ You can use the |k8s-op-full| to deploy MongoDB resources such as
1616:k8s:`a replica set </tutorial/deploy-replica-set>`, :k8s:`a sharded
1717cluster </tutorial/deploy-sharded-cluster>`, or :k8s:`a standalone
18- instance </tutorial/deploy-standalone>` using an `object
19- <https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/>`__.
20- |mms| can generate the YAML files you need to configure your Kubernetes
21- environment for deploying a MongoDB Database resource.
18+ instance </tutorial/deploy-standalone>` using an |k8s-obj|.
19+ |mms| can generate the YAML files you need to configure your |k8s|
20+ environment for deploying a MongoDB Database resource.
2221
2322To generate the YAML files:
2423
2524- :ref:`k8s-config-mdb-res-roles`
26- - :ref:`k8s-config-mdb-res-nav`
25+ - :ref:`Learn about the MongoDB Resource in Kubernetes < k8s-config-mdb-res-nav> `
2726- :ref:`k8s-config-mdb-res-create-procedure`
2827
2928.. _k8s-config-mdb-res-roles:
3029
31- Verify Permissions
30+ Verify Permissions
3231------------------
3332
3433You must have one of the following roles to access the |mms| UI for
35- setting up Kubernetes:
34+ setting up |k8s|:
3635
3736- :authrole:`Organization Owner`
3837- :authrole:`Project Owner`
3938- :authrole:`Project Data Access Admin`
4039
41- .. _k8s-config-mdb-res-nav:
42-
43- Navigate to the Kubernetes Setup Page in the |mms| UI
44- -----------------------------------------------------
45-
46- To access the :guilabel:`Kubernetes Setup` page in the |mms| UI:
47-
48- .. include:: /includes/steps/k8s-setup-nav.rst
49-
50- If you are a :authrole:`Global Owner` or :authrole:`Organization
51- Owner`, you can access the Kubernetes Setup page in the |mms| UI
52- by doing the following also:
53-
54- .. include:: /includes/steps/k8s-setup-nav-global-org-owner.rst
55-
5640.. _k8s-config-mdb-res-create-procedure:
5741
58- Set Up Kubernetes for a MongoDB Resource
42+ Overview of MongoDB Resource in |k8s|
5943----------------------------------------
6044
61- The | k8s-op-full| requires a Kubernetes ConfigMap to create or link
62- your |mms| project.
45+ To create or link your |mms| project, the | k8s-op-full| requires that you
46+ configure a |k8s| ConfigMap. Using the |k8s| ConfigMap, you can:
6347
64- .. cond:: onprem
48+ - Connect to a HTTPS-enabled |mms| that is using a custom |certauth|, or
49+ - Link to a |mms| project that isn't using a custom |certauth|.
6550
66- Using the Kubernetes ConfigMap, you can either connect to a
67- HTTPS-enabled |mms| that is using a custom CA or link to a |mms|
68- project that isn't using a custom CA.
69-
70- You can use the |mms| :guilabel:`Kubernetes Setup` page to
71- automatically generate the ConfigMap. The generated YAML file for the
72- ConfigMap looks similar to the following:
51+ You can use the |mms| :guilabel:`Kubernetes Setup` page to automatically
52+ generate the ConfigMap. The generated YAML file for the ConfigMap looks
53+ similar to the following:
7354
7455.. tabs::
7556
@@ -92,7 +73,7 @@ ConfigMap looks similar to the following:
9273 orgId: <your-org-id>
9374
9475 sslMMSCAConfigMap: <root-ca-configmap-name>
95- sslRequireValidMMSServerCertificates: ‘ true’
76+ sslRequireValidMMSServerCertificates: ' true'
9677
9778 .. tab:: Not Using a Custom CA
9879 :tabid: link
@@ -112,25 +93,51 @@ ConfigMap looks similar to the following:
11293
11394 orgId: <your-org-id>
11495
115- You need to store your :ref:`Programmatic API Key <mms-prog-api-key>`
116- as a Kubernetes secret to create or update Kubernetes `objects
117- <https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/>`__
118- in your |mms| project. A Kubernetes secret stores authentication
119- credentials so only Kubernetes can access them.
96+ To create or update |k8s-objs| in your |mms| project, configure your
97+ :ref:`Programmatic API Key <mms-prog-api-key>` as a |k8s| secret.
98+ The secret stores authentication credentials so only |k8s| can access them.
99+
100+ The following procedures provide the detailed steps.
101+
102+ .. _k8s-config-mdb-res-procedure:
103+
104+ Procedures
105+ ------------
106+
107+ - :ref:`k8s-config-mdb-res-nav`
108+ - :ref:`k8s-setup-custom-ca-configmap-om-settings`
109+ - :ref:`k8s-generate-yaml`
110+
111+ .. _k8s-config-mdb-res-nav:
112+
113+ Navigate to the |k8s| Setup Page in the |mms| UI
114+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115+
116+ To access the :guilabel:`Kubernetes Setup` page in the |mms| UI:
117+
118+ .. include:: /includes/steps/k8s-setup-nav.rst
119+
120+ If you are a :authrole:`Global Owner` or :authrole:`Organization
121+ Owner`, you can also access the :guilabel:`Kubernetes Setup` page in
122+ the |mms| UI by following these steps:
123+
124+ .. include:: /includes/steps/k8s-setup-nav-global-org-owner.rst
125+
126+ .. _k8s-setup-custom-ca-configmap-om-settings:
120127
121- Setting up Template files and Configuration Parameters
122- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
128+ Create a Secret, a ConfigMap, and |onprem| Settings for |k8s|
129+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123130
124- To generate the YAML files, you must do the following:
131+ To create a secret, a ConfigMap file, and |onprem| settings for |k8s|:
125132
126133.. include:: /includes/steps/k8s-setup-custom-ca.rst
127134
128- .. _k8s-config-mdb-res-procedure :
135+ .. _k8s-generate-yaml :
129136
130- Generating the YAML Files
131- ~~~~~~~~~~~~~~~~~~~~~~~~~
137+ Generate the ConfigMap YAML Files
138+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132139
133- To setup Kubernetes for a MongoDB resource:
140+ To generate the |k8s| configuration files for a MongoDB resource:
134141
135142.. tabs::
136143
0 commit comments