@@ -6,6 +6,7 @@ title: "Clone the :github:`MongoDB Enterprise Kubernetes Operator repository </m
6
6
content : |
7
7
8
8
.. code-block:: sh
9
+
9
10
git clone https://github.com/mongodb/mongodb-enterprise-kubernetes.git
10
11
11
12
---
@@ -17,7 +18,9 @@ content: |
17
18
By default, The |k8s-op-short| uses the ``mongodb`` namespace. To
18
19
simplify your installation, consider creating a namespace labeled
19
20
``mongodb`` using the following |kubectl| command:
21
+
20
22
.. code-block:: sh
23
+
21
24
kubectl create namespace mongodb
22
25
23
26
---
@@ -28,7 +31,9 @@ title: "Configure ``kubectl`` to default to your namespace."
28
31
content : |
29
32
If you have not already, run the following command to execute all
30
33
``kubectl`` commands in the namespace you created:
34
+
31
35
.. code-block:: sh
36
+
32
37
kubectl config set-context $(kubectl config current-context) --namespace=mongodb
33
38
34
39
---
@@ -74,10 +79,14 @@ ref: create-k8s-credentials-openshift
74
79
title : " Create credentials and store them as a secret."
75
80
content : |
76
81
Run the following command:
82
+
77
83
.. note::
84
+
78
85
Provide your Public and Private Key values for the following
79
- parameters. To learn more, see :ref:`create-k8s-credentials`.
86
+ parameters. To learn more, see :ref:`create-k8s-credentials`.
87
+
80
88
.. code-block:: sh
89
+
81
90
kubectl -n mongodb \
82
91
create secret generic ops-manager-admin-key \
83
92
--from-literal="publicKey=<publicKey>" \
@@ -90,10 +99,13 @@ ref: copy-k8s-configmap-openshift
90
99
title : " Invoke the following command to create a ConfigMap."
91
100
content : |
92
101
.. note::
102
+
93
103
Provide your values for the following parameters. To learn more,
94
104
see the :doc:`parameter descriptions
95
105
</tutorial/create-project-using-configmap>`.
106
+
96
107
.. code-block:: sh
108
+
97
109
kubectl create configmap myconfigmap \
98
110
--from-literal="baseUrl=<myOpsManagerURL>" \
99
111
--from-literal="projectName=<myOpsManagerProjectName>" \ #Optional
0 commit comments