Skip to content

Commit 3e84fea

Browse files
committed
MIG-1362: Issue in modules/migration-adding-cluster-to-cam.adoc
Signed-off-by: A.Arnold <[email protected]>
1 parent 74c4cdf commit 3e84fea

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

modules/migration-adding-cluster-to-cam.adoc

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ You can add a cluster to the {mtc-full} ({mtc-short}) web console.
1111

1212
.Prerequisites
1313

14+
* Cross-origin resource sharing must be configured on the source cluster.
1415
* If you are using Azure snapshots to copy data:
1516
** You must specify the Azure resource group name for the cluster.
1617
** The clusters must be in the same Azure resource group.
@@ -24,7 +25,7 @@ You can add a cluster to the {mtc-full} ({mtc-short}) web console.
2425
+
2526
[source,terminal]
2627
----
27-
$ oc sa get-token migration-controller -n openshift-migration
28+
$ oc create token migration-controller -n openshift-migration
2829
----
2930
+
3031
.Example output
@@ -34,6 +35,7 @@ $ oc sa get-token migration-controller -n openshift-migration
3435
eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJtaWciLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlY3JldC5uYW1lIjoibWlnLXRva2VuLWs4dDJyIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6Im1pZyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImE1YjFiYWMwLWMxYmYtMTFlOS05Y2NiLTAyOWRmODYwYjMwOCIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDptaWc6bWlnIn0.xqeeAINK7UXpdRqAtOj70qhBJPeMwmgLomV9iFxr5RoqUgKchZRG2J2rkqmPm6vr7K-cm7ibD1IBpdQJCcVDuoHYsFgV4mp9vgOfn9osSDp2TGikwNz4Az95e81xnjVUmzh-NjDsEpw71DH92iHV_xt2sTwtzftS49LpPW2LjrV0evtNBP_t_RfskdArt5VSv25eORl7zScqfe1CiMkcVbf2UqACQjo3LbkpfN26HAioO2oH0ECPiRzT0Xyh-KwFutJLS9Xgghyw-LD9kPKcE_xbbJ9Y4Rqajh7WdPYuB0Jd9DPVrslmzK-F6cgHHYoZEv0SvLQi-PO0rpDrcjOEQQ
3536
----
3637

38+
. Log in to the {mtc-short} web console.
3739
. In the {mtc-short} web console, click *Clusters*.
3840
. Click *Add cluster*.
3941
. Fill in the following fields:
@@ -59,8 +61,36 @@ $ oc create route passthrough --service=image-registry --port=5000 -n openshift-
5961
----
6062
6163
* *Azure cluster*: You must select this option if you use Azure snapshots to copy your data.
62-
* *Azure resource group*: This field is displayed if *Azure cluster* is selected. Specify the Azure resource group.
63-
* *Require SSL verification*: Optional: Select this option to verify SSL connections to the cluster.
64+
** *Azure resource group*: This field is displayed if *Azure cluster* is selected. Specify the Azure resource group.
65+
+
66+
When an {OCP} cluster is created on Microsoft Azure, an Azure Resource Group is created to contain all resources associated with the cluster. In the Azure CLI, you can display all resource groups by issuing the following command:
67+
+
68+
[source,terminal]
69+
----
70+
$ az group list
71+
----
72+
+
73+
`ResourceGroups` associated with {product-title} clusters are tagged, where `sample-rg-name` is the value you would extract and supply to the UI:
74+
+
75+
[source,terminal]
76+
----
77+
{
78+
"id": "/subscriptions/...//resourceGroups/sample-rg-name",
79+
"location": "centralus",
80+
"name": "...",
81+
"properties": {
82+
"provisioningState": "Succeeded"
83+
},
84+
"tags": {
85+
"kubernetes.io_cluster.sample-ld57c": "owned",
86+
"openshift_creationDate": "2019-10-25T23:28:57.988208+00:00"
87+
},
88+
"type": "Microsoft.Resources/resourceGroups"
89+
},
90+
----
91+
+
92+
This information is also available from the link:https://portal.azure.com[Azure Portal] in the **Resource groups** blade.
93+
* *Require SSL verification*: Optional: Select this option to verify the Secure Socket Layer (SSL) connection to the cluster.
6494
* *CA bundle file*: This field is displayed if *Require SSL verification* is selected. If you created a custom CA certificate bundle file for self-signed certificates, click *Browse*, select the CA bundle file, and upload it.
6595
6696
. Click *Add cluster*.

0 commit comments

Comments
 (0)