Skip to content

Commit 83839d0

Browse files
committed
OSDOCS-9583
1 parent 8ac3337 commit 83839d0

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

modules/rosa-accessing-your-cluster-quick.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,24 @@ $ rosa create admin --cluster=<cluster_name>
3030
W: It is recommended to add an identity provider to login to this cluster. See 'rosa create idp --help' for more information.
3131
I: Admin account has been added to cluster 'cluster_name'. It may take up to a minute for the account to become active.
3232
I: To login, run the following command:
33-
oc login https://api.cluster-name.t6k4.i1.oragnization.org:6443 \
33+
oc login https://api.cluster-name.t6k4.i1.oragnization.org:6443 \ <1>
3434
--username cluster-admin \
3535
--password FWGYL-2mkJI-3ZTTZ-rINns
3636
----
37+
<1> For a {hcp-title-first} cluster, the port number should be `443`.
3738

3839
. Enter the `oc login` command, username, and password from the output of the previous command:
3940

4041
+
4142
.Example output
4243
[source,terminal]
4344
----
44-
$ oc login https://api.cluster_name.t6k4.i1.oragnization.org:6443 \
45+
$ oc login https://api.cluster_name.t6k4.i1.oragnization.org:6443 \ <1>
4546
> --username cluster-admin \
4647
> --password FWGYL-2mkJI-3ZTTZ-rINns
4748
Login successful. You have access to 77 projects, the list has been suppressed. You can list all projects with ' projects'
4849
----
50+
<1> For a {hcp-title} cluster, the port number should be `443`.
4951

5052
. Using the default project, enter this `oc` command to verify that the cluster administrator access is created:
5153
+

modules/rosa-accessing-your-cluster.adoc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,14 @@ $ rosa describe cluster --cluster=<cluster_name>
106106
Name: rh-rosa-test-cluster1
107107
ID: 1de87g7c30g75qechgh7l5b2bha6r04e
108108
External ID: 34322be7-b2a7-45c2-af39-2c684ce624e1
109-
API URL: https://api.rh-rosa-test-cluster1.j9n4.s1.devshift.org:6443
109+
API URL: https://api.rh-rosa-test-cluster1.j9n4.s1.devshift.org:6443 <1>
110110
Console URL: https://console-openshift-console.apps.rh-rosa-test-cluster1.j9n4.s1.devshift.org
111111
Nodes: Master: 3, Infra: 3, Compute: 4
112112
Region: us-east-2
113113
State: ready
114114
Created: May 27, 2020
115115
----
116+
<1> For a {hcp-title-first} cluster, the port number should be `443`.
116117
+
117118
.. Navigate to the `Console URL`, and log in using your Github credentials.
118119
.. In the top right of the OpenShift console, click your name and click **Copy Login Command**.
@@ -121,18 +122,21 @@ Created: May 27, 2020
121122
+
122123
[source,terminal]
123124
----
124-
$ oc login --token=z3sgOGVDk0k4vbqo_wFqBQQTnT-nA-nQLb8XEmWnw4X --server=https://api.rh-rosa-test-cluster1.j9n4.s1.devshift.org:6443
125+
$ oc login --token=z3sgOGVDk0k4vbqo_wFqBQQTnT-nA-nQLb8XEmWnw4X --server=https://api.rh-rosa-test-cluster1.j9n4.s1.devshift.org:6443 <1>
125126
----
127+
<1> For a {hcp-title} cluster, use the port number `443`.
126128
+
127129
.Example output
128130
[source,terminal]
129131
----
130-
Logged into "https://api.rh-rosa-cluster1.j9n4.s1.devshift.org:6443" as "rh-rosa-test-user" using the token provided.
132+
Logged into "https://api.rh-rosa-cluster1.j9n4.s1.devshift.org:6443" as "rh-rosa-test-user" using the token provided. <1>
131133

132134
You have access to 67 projects, the list has been suppressed. You can list all projects with 'oc projects'
133135

134136
Using project "default".
135137
----
138+
<1> For a {hcp-title} cluster, the port number should be `443`.
139+
136140
.. Enter a simple `oc` command to verify everything is setup properly and that you are logged in.
137141
+
138142
[source,terminal]

0 commit comments

Comments
 (0)