Skip to content

Commit e39f2fc

Browse files
committed
docs: added RPC connections for public clusters
Signed-off-by: Ali Mukadam <ali.mukadam@oracle.com>
1 parent c753f59 commit e39f2fc

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

docs/src/multi/pub-ep.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
```bash, editable
1212
cp terraform.tfvars.example terraform.tfvars
13-
1413
```
1514

1615
2. Provide values for the following input variables:
@@ -113,7 +112,7 @@ clusters = {
113112
Do not remove those that you are not using.
114113
```
115114

116-
6. For the regions you enable, uncomment them in `modules\clusters\outputs.tf` for `cluster_ids`, `int_nsg_ids` and `pub_nsg_ids`. For the clusters that you do not use, leave them commented e.g.
115+
6. For the managed clusters you enable, uncomment them in `modules\clusters\outputs.tf` for `cluster_ids`, `int_nsg_ids` and `pub_nsg_ids`. For the clusters that you do not use, leave them commented e.g.
117116

118117
```terraform,editable
119118
output "cluster_ids" {
@@ -155,6 +154,13 @@ output "cluster_ids" {
155154
}
156155
}
157156
```
157+
158+
```admonish warning
159+
In the outputs.tf, you must uncomment only the regions where you are running the managed clusters, not your the region where your admin cluster is running.
160+
161+
Only uncomment the admin region in outputs if you happen to also run a managed cluster in the same region as your admin cluster.
162+
```
163+
158164
7. Uncomment the respective clusters that you have enabled. The clusters are created in either {country, continent,region}.tf. e.g. Ashburn will be found in `usa.tf` under `modules\clusters`. Leave the clusters that you do not use as commented.
159165

160166
```admonish info
@@ -171,7 +177,7 @@ install_verrazzano = false
171177
When provisioning the cluster, the above 2 variables must set to `false`.
172178
```
173179

174-
7. Create the cluster by running Terraform:
180+
7. Create the clusters by running Terraform:
175181

176182
```bash,editable
177183
terraform init
@@ -185,6 +191,19 @@ terraform apply
185191
The operator host is created in the admin region only.
186192
```
187193

194+
## Configure connectivity with Remote Peering Connection
195+
196+
1. In OCI console, select your admin region and navigate to Networking > Dynamic Routing Gateway. Click on the admin drg.
197+
2. Under Resources, click on Remote Peering Connections Attachments.
198+
3. Under Remote Peering Connections, click on the Remote Peering Connection.
199+
4. Copy the RPC OCID (in the right column). Do not mistake the RPC OCID for the DRG OCID which is also shown on the left.
200+
5. If your managed cluster is in another region, select the managed cluster's region. This will change the OCI Console page to Networking > Dynamic Routing Gateway.
201+
6. Repeat steps 2-3.
202+
7. Click on "Establish Connection".
203+
8. Select the region of the Admin cluster.
204+
9. Paste the RPC OCID you copied from Step 4 and click on "Establish Connection".
205+
10. Wait for the Remote Peering to be established.
206+
188207
## Setting up kubeconfig
189208

190209
You will now generate the installation script.

0 commit comments

Comments
 (0)