-
Che is deployed in an OpenShift cluster. To verify the state of the deployment, see [viewing-the-state-of-the-che-cluster-deployment-using-openshift-4-cli-tools_{context}].
-
User is located in a Che installation namespace. .Procedure
-
To retrieve a Che cluster URL from the
checlusterCR (Custom Resource), run:$ oc get checluster --output jsonpath='{.items[0].status.cheURL}' -
The Che cluster URL is displayed.
-
Alternatively, wait for the deployment logs as mentioned in the Prerequisites section to display the message: Eclipse Che is now available at: followed by the Che cluster URL:
+
time="2019-07-12T09:50:13Z" level=info msg="Custom resource eclipse-che updated" time="2019-07-12T09:50:13Z" level=info msg="Eclipse Che is now available at: http://che-che.apps.cluster-fre-f0a2.fre-f0a2.openshiftworkshop.com" time="2019-07-12T09:50:13Z" level=info msg="Updating eclipse-che CR with version: 7.8.0-RC-2.0"
+ After the deployment is finished, in the log output, click the Che cluster URL to start the Che instance, or use the following command to isolate it:
+
$ oc logs --tail=10 `oc get pods -o name | grep operator` | \
grep "available at" | \
awk -F'available at: ' '{print $2}' | sed 's/"//'