Procedure
To install Che on OpenShift 3 using the operator:
-
Log in to OpenShift (copy the login command from the OpenShift console):
$ oc login https://master.rhpds311.openshift.opentlc.com:443 --token=<token>
-
Check if the latest
ocbinary tool is installed on the system:$ oc version oc v3.11.0+0cbc58b kubernetes v1.11.0+d4cacc0 features: Basic-Auth Server https://master.rhpds311.openshift.opentlc.com:443 openshift v3.11.43 kubernetes v1.11.0+d4cacc0
-
Give a domain to
chectl. This is the remote hostname that will be accessible. If it is unknown, obtain it with a new project using the following command:$ oc new-project hello-world $ oc new-app centos/httpd-24-centos7~https://github.com/openshift/httpd-ex $ oc expose svc/httpd-ex $ oc get route httpd-ex NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD httpd-ex httpd-ex-hello-world.apps.rhpds311.openshift.opentlc.com httpd-ex 8080-tcp None
-
Extract the domain from
httpd-ex-hello-world.apps.rhpds311.openshift.opentlc.com. It is the part after the first name:apps.rhpds311.openshift.opentlc.com. -
Remove the project:
$ oc delete project hello-world
