Navigating Che using the Dashboard
The Dashboard is accessible on your cluster from a URL like http://<https://che-host:che-port>/dashboard/
.
This section describes how to access this URL on
Minishift and
OpenShift.
Navigating Che using the Dashboard on Minishift
This section describes how to access the Eclipse Che Dashboard on Minishift.
-
Che deployed on a running Minishift instance. See Installing Che locally.
-
Take note of the IP address of the Minishift console as displayed during Minishift startup.
-
Use the latest version of Google Chrome. Google Chrome is the officially supported browser for Eclipse Che 7.23
-
Log into the Minishift console at
https://<IP-address>:8443/console/
. -
Navigate to the mini-che project:
https://<IP-address>:8443/console/project/mini-che/overview
. -
Click on to the mini-che route link:
http://che-che.<IP-address>.nip.io/
.
-
The browser displays the Eclipse Che Dashboard.
Logging in to Che on OpenShift for the first time using OAuth
This section describes how to log in to Che on OpenShift for the first time using OAuth.
-
Contact the administrator of the OpenShift instance to obtain the Eclipse Che URL.
-
Navigate to the Eclipse Che URL to display the Eclipse Che login page.
-
Choose the OpenShift OAuth option.
-
The Authorize Access page is displayed.
-
Click on the Allow selected permissions button.
-
Update the account information: specify the
Username
,Email
,First name
andLast name
fields and click the Submit button.
-
The browser displays the Eclipse Che Dashboard.
Logging in to Che on OpenShift for the first time registering as a new user
This section describes how to log in to Che on OpenShift for the first time registering as a new user.
-
Contact the administrator of the OpenShift instance to obtain the Eclipse Che URL.
-
Navigate to the Eclipse Che URL to display the Eclipse Che login page.
-
Choose the Register as a new user option.
-
Update the account information: specify the
Username
,Email
,First name
andLast name
field and click the Submit button.
-
The browser displays the Eclipse Che Dashboard.
Logging in to Che using chectl
This section describes how to log in to Che using chectl tool by copying login command from Eclipse Che Dashboard.
-
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Installing Che.
-
The Che CLI management tool. See Using the chectl management tool.
-
Eclipse Che Dashboard is opened in a browser.
-
Open the user’s context menu in the lower-left corner and select
Copy Login Command
-
Wait for the notification message:
-
Paste the login command into a terminal and observe a successful login:
$ chectl auth:login ... Successfully logged into <server> as <user>
Finding Che cluster URL using the OpenShift 4 CLI
This section describes how to obtain the Che cluster URL using the OpenShift 4 command line interface (CLI). The URL can be retrieved from the OpenShift logs or from the checluster
Custom Resource.
-
An instance of Eclipse Che running on OpenShift.
-
User is located in a Che installation namespace.
-
To retrieve the Che cluster URL from the
checluster
CR (Custom Resource), run:$ oc get checluster --output jsonpath='{.items[0].status.cheURL}'
-
Alternatively, to retrieve the Che cluster URL from the OpenShift logs, run:
$ oc logs --tail=10 `(oc get pods -o name | grep operator)` | \ grep "available at" | \ awk -F'available at: ' '{print $2}' | sed 's/"//'