@@ -18,7 +18,10 @@ Prerequisites
18
18
19
19
20
20
Before you create a |multi-cluster| using either the quick start or a
21
- deployment procedure, complete the following tasks:
21
+ deployment procedure, complete the following tasks.
22
+
23
+ To learn more about prerequisites specific to the quick start, see
24
+ :ref:`Quick Start Prerequisites <multi-cluster-qs-prerequisites>`.
22
25
23
26
Review Supported Hardware Architectures
24
27
---------------------------------------
@@ -35,66 +38,18 @@ Clone the :github:`MongoDB Enterprise Kubernetes Operator repository </mongodb/m
35
38
36
39
git clone https://github.com/mongodb/mongodb-enterprise-kubernetes.git
37
40
38
- Set Environment Variables and GKE Zones
39
- ----------------------------------------
41
+ Set Environment Variables
42
+ -------------------------
40
43
41
- Set the environment variables with cluster names and the
42
- `available GKE zones <https://cloud.google.com/compute/docs/regions-zones#available>`__
44
+ Set the environment variables with cluster names
43
45
where you deploy the clusters, as in this example:
44
46
45
47
.. code-block:: sh
46
48
47
- export MDB_GKE_PROJECT={GKE project name}
48
-
49
- export MDB_CENTRAL_CLUSTER="mdb-central"
50
- export MDB_CENTRAL_CLUSTER_ZONE="us-west1-a"
51
-
52
- export MDB_CLUSTER_1="mdb-1"
53
- export MDB_CLUSTER_1_ZONE="us-west1-b"
54
-
55
- export MDB_CLUSTER_2="mdb-2"
56
- export MDB_CLUSTER_2_ZONE="us-east1-b"
57
-
58
- export MDB_CLUSTER_3="mdb-3"
59
- export MDB_CLUSTER_3_ZONE="us-central1-a"
60
-
61
- export MDB_CENTRAL_CLUSTER_FULL_NAME="gke_${MDB_GKE_PROJECT}_${MDB_CENTRAL_CLUSTER_ZONE}_${MDB_CENTRAL_CLUSTER}"
62
-
63
- export MDB_CLUSTER_1_FULL_NAME="gke_${MDB_GKE_PROJECT}_${MDB_CLUSTER_1_ZONE}_${MDB_CLUSTER_1}"
64
- export MDB_CLUSTER_2_FULL_NAME="gke_${MDB_GKE_PROJECT}_${MDB_CLUSTER_2_ZONE}_${MDB_CLUSTER_2}"
65
- export MDB_CLUSTER_3_FULL_NAME="gke_${MDB_GKE_PROJECT}_${MDB_CLUSTER_3_ZONE}_${MDB_CLUSTER_3}"
66
-
67
- Set up GKE Clusters
68
- -------------------
69
-
70
- Set up |gke| clusters:
71
-
72
- .. include:: /includes/steps/multi-cluster-set-gke.rst
73
-
74
- .. _multi-cluster-user-auth-clusters-ref:
75
-
76
- Obtain User Authentication Credentials for Central and Member Clusters
77
- ----------------------------------------------------------------------
78
-
79
- Obtain user authentication credentials for the central and member |k8s|
80
- clusters and save the credentials. You will later use these credentials
81
- for running ``kubectl`` commands on these clusters.
82
-
83
- Run the following commands:
84
-
85
- .. code-block:: sh
86
-
87
- gcloud container clusters get-credentials $MDB_CENTRAL_CLUSTER \
88
- --zone=$MDB_CENTRAL_CLUSTER_ZONE
89
-
90
- gcloud container clusters get-credentials $MDB_CLUSTER_1 \
91
- --zone=$MDB_CLUSTER_1_ZONE
92
-
93
- gcloud container clusters get-credentials $MDB_CLUSTER_2 \
94
- --zone=$MDB_CLUSTER_2_ZONE
95
-
96
- gcloud container clusters get-credentials $MDB_CLUSTER_3 \
97
- --zone=$MDB_CLUSTER_3_ZONE
49
+ export MDB_CENTRAL_CLUSTER_FULL_NAME="mdb-central"
50
+ export MDB_CLUSTER_1_FULL_NAME="mdb-1"
51
+ export MDB_CLUSTER_2_FULL_NAME="mdb-2"
52
+ export MDB_CLUSTER_3_FULL_NAME="mdb-3"
98
53
99
54
.. _install_go:
100
55
.. _install-helm:
0 commit comments