Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 1. Navigating CodeReady Workspaces using the Dashboard
The Dashboard is accessible on your cluster from a URL like http://<che-instance>.<IP-address>.mycluster.mycompany.com/dashboard/. This section describes how to access this URL on OpenShift.
1.1. Logging in to CodeReady Workspaces on OpenShift for the first time using OAuth Copier lienLien copié sur presse-papiers!
This section describes how to log in to CodeReady Workspaces on OpenShift for the first time using OAuth.
Prerequisites
- Contact the administrator of the OpenShift instance to obtain the Red Hat CodeReady Workspaces URL.
Procedure
- Navigate to the Red Hat CodeReady Workspaces URL to display the Red Hat CodeReady Workspaces 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 nameandLast namefields and click the Submit button.
Validation steps
- The browser displays the Red Hat CodeReady Workspaces Dashboard.
1.2. Logging in to CodeReady Workspaces on OpenShift for the first time registering as a new user Copier lienLien copié sur presse-papiers!
This section describes how to log in to CodeReady Workspaces on OpenShift for the first time registering as a new user.
Prerequisites
- Contact the administrator of the OpenShift instance to obtain the Red Hat CodeReady Workspaces URL.
Procedure
- Navigate to the Red Hat CodeReady Workspaces URL to display the Red Hat CodeReady Workspaces login page.
- Choose the Register as a new user option.
-
Update the account information: specify the
Username,Email,First nameandLast namefield and click the Submit button.
Validation steps
- The browser displays the Red Hat CodeReady Workspaces Dashboard.
1.3. Finding CodeReady Workspaces cluster URL using the OpenShift 4 CLI Copier lienLien copié sur presse-papiers!
This section describes how to obtain the CodeReady Workspaces cluster URL using the OpenShift 4 CLI (command line interface). The URL can be retrieved from the OpenShift logs or from the checluster Custom Resource.
Prerequisites
- An instance of Red Hat CodeReady Workspaces running on OpenShift.
- User is located in a CodeReady Workspaces installation namespace.
Procedure
To retrieve the CodeReady Workspaces cluster URL from the
checlusterCR (Custom Resource), run:oc get checluster --output jsonpath='{.items[0].status.cheURL}'$ oc get checluster --output jsonpath='{.items[0].status.cheURL}'Copy to Clipboard Copied! Toggle word wrap Toggle overflow Alternatively, to retrieve the CodeReady Workspaces 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/"//'$ oc logs --tail=10 `(oc get pods -o name | grep operator)` | \ grep "available at" | \ awk -F'available at: ' '{print $2}' | sed 's/"//'Copy to Clipboard Copied! Toggle word wrap Toggle overflow