Prerequisites
-
chectlmanagement tool is installed. See Installing thechectlmanagement tool.
Procedure
To install Che on OpenShift using the Operator:
-
Create a new project called che:
$ oc new-project che
-
Invoke
chectl:$ chectl server:start --platform=openshift --installer=operator --domain=apps.rhpds311.openshift.opentlc.com ✔ ✈️ Openshift preflight checklist ✔ Verify if oc is installed...done. ✔ Verify if openshift is running...done. ✔ Verify domain is set...set to apps.rhpds311.openshift.opentlc.com. ✔ 🏃 Running the Che Operator ✔ Copying operator resources...done. ✔ Create Namespace (che)...It already exist. ✔ Create ServiceAccount che-operator in namespace che...done. ✔ Create Role che-operator in namespace che...done. ✔ Create RoleBinding che-operator in namespace che...done. ✔ Create CRD checlusters.org.eclipse.che...done. ✔ Waiting 5 seconds for the new Kubernetes resources to get flushed...done. ✔ Create deployment che-operator in namespace che...done. ✔ Create Che Cluster eclipse-che in namespace che...done. ✔ ✅ Post installation checklist ✔ PostgreSQL pod bootstrap ✔ scheduling...done. ✔ downloading images...done. ✔ starting...done. ✔ Keycloak pod bootstrap ✔ scheduling...done. ✔ downloading images...done. ✔ starting...done. ✔ Che pod bootstrap ✔ scheduling...done. ✔ downloading images...done. ✔ starting...done. ✔ Retrieving Che Server URL...http://che-che.apps.rhpds311.openshift.opentlc.com ✔ Che status check Command server:start has completed successfully.