Skip to content

Commit c52f7b0

Browse files
euniceadam-mdbjwilliams-mongo
authored andcommitted
(DOCSP-41307) Verify GKE OM MC install guide and add missing steps (#1793)
* Updated docs with corrections * Fixed file name * Resolved feedback
1 parent 4badbcf commit c52f7b0

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

source/includes/steps-deploy-k8s-om-multi-https.rst

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@
1717
:language: sh
1818
:linenos:
1919

20-
b. Obtain credentials and save contexts to the current ``kubeconfig``
20+
21+
#. Set your default gcloud project:
22+
23+
.. literalinclude:: /includes/code-examples/ops-manager-multi-cluster/code_snippets/0011_gcloud_set_current_project.sh
24+
:language: sh
25+
:linenos:
26+
27+
28+
#. Obtain credentials and save contexts to the current ``kubeconfig``
2129
file. By default, this file is located in the ``~/.kube/config`` directory
2230
and referenced by the ``$KUBECONFIG`` :ref:`environment variable <set-env-vars-om-mc>`.
2331

@@ -31,7 +39,7 @@
3139
- ``$K8S_CLUSTER_1_CONTEXT_NAME``
3240
- ``$K8S_CLUSTER_2_CONTEXT_NAME``
3341

34-
c. Verify that ``kubectl`` has access to |k8s| clusters:
42+
#. Verify that ``kubectl`` has access to |k8s| clusters:
3543

3644
.. io-code-block::
3745
:copyable: true
@@ -45,13 +53,14 @@
4553
:language: sh
4654
:visible: false
4755

48-
d. Install |istio| service mesh to allow cross-cluster |dns| resolution
56+
#. Install |istio| service mesh to allow cross-cluster |dns| resolution
4957
and network connectivity between |k8s| clusters:
5058

5159
.. literalinclude:: /includes/code-examples/ops-manager-multi-cluster/code_snippets/0040_install_istio.sh
5260
:language: sh
5361
:linenos:
5462

63+
5564
.. step:: Create namespaces.
5665

5766
.. note::
@@ -249,8 +258,21 @@
249258

250259
.. step:: Install the |k8s-op-short| using the Helm chart.
251260

261+
a. Add and update the MongoDB Helm repository. Verify that the local Helm cache refers to the correct |k8s-op-short| version:
262+
263+
.. io-code-block::
264+
:copyable: true
265+
266+
.. input:: /includes/code-examples/ops-manager-multi-cluster/code_snippets/0205_helm_configure_repo.sh
267+
:linenos:
268+
:language: sh
269+
270+
.. output:: /includes/code-examples/ops-manager-multi-cluster/output/0205_helm_configure_repo.out
271+
:linenos:
272+
:language: sh
273+
:visible: false
252274

253-
a. Install the |k8s-op-short| into the ``$OPERATOR_NAMESPACE``, configured to watch
275+
b. Install the |k8s-op-short| into the ``$OPERATOR_NAMESPACE``, configured to watch
254276
``$NAMESPACE`` and to manage three member |k8s| clusters. At this point
255277
in the procedure, :k8sdocs:`ServiceAccounts </tasks/configure-pod-container/configure-service-account/>`
256278
and :k8sdocs:`roles </reference/access-authn-authz/rbac/#role-and-clusterrole>`
@@ -272,7 +294,7 @@
272294
:language: sh
273295
:visible: false
274296

275-
b. Check the |k8s-op-short| deployment:
297+
c. Check the |k8s-op-short| deployment:
276298

277299
.. io-code-block::
278300
:copyable: true

source/tutorial/deploy-om-multi-cluster.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ Install Tools
9393
Before you can begin the deployment, install the following required tools:
9494

9595
- |helm-install|. Installing |helm| is required for the installation of the |k8s-op-short|.
96-
- |kustomize-install|. Installing |kustomize| is required for the |minio|.
9796
- |kubectl-install|.
9897
- Prepare the |gcp| project so that you can use it to create |gke| clusters.
9998
In the following procedure, you create three new GKE clusters, with a
@@ -137,7 +136,7 @@ directory, and check out the current version.
137136

138137
git clone https://github.com/mongodb/mongodb-enterprise-kubernetes.git
139138
cd mongodb-enterprise-kubernetes
140-
git checkout {+version+}
139+
git checkout master
141140
cd public/samples/ops-manager-multi-cluster
142141

143142
.. important::

0 commit comments

Comments
 (0)