Installing Che on OpenShift using the web console
If you have trouble installing Che on the command line, you can install it through the OpenShift web console.
-
An OpenShift web console session by a cluster administrator. See Accessing the web console.
-
An active
oc
session with administrative permissions to the OpenShift cluster. See Getting started with the OpenShift CLI. -
For a repeat installation on the same OpenShift cluster: you uninstalled the previous Che instance according to Uninstalling Che.
-
In the Administrator view of the OpenShift web console, go to Operators → OperatorHub and search for
Eclipse Che
. -
Install the Eclipse Che Operator.
The Eclipse Che Operator depends on the DevWorkspace Operator. If you install the Eclipse Che Operator manually to a non-default namespace, ensure that the DevWorkspace Operator is also installed in the same namespace. This is required as the Operator Lifecycle Manager will attempt to install the DevWorkspace Operator as a dependency within the Eclipse Che Operator namespace, potentially resulting in two conflicting installations of the DevWorkspace Operator if the latter is installed in a different namespace.
If you want to onboard Web Terminal Operator on the cluster make sure to use the same installation namespace as Eclipse Che Operator since both depend on DevWorkspace Operator. Web Terminal Operator, Eclipse Che Operator, and DevWorkspace Operator must be installed in the same namespace. |
-
Create the
eclipse-che
project in OpenShift as follows:oc create namespace eclipse-che
-
Go to Operators → Installed Operators → Eclipse Che instance Specification → Create CheCluster → YAML view.
-
In the YAML view, replace
namespace: openshift-operators
withnamespace: eclipse-che
. -
Select Create.
-
In Eclipse Che instance Specification, go to eclipse-che, landing on the Details tab.
-
Under Message, check that there is None, which means no errors.
-
Under Eclipse Che URL, wait until the URL of the Che instance appears, and then open the URL to check the Che dashboard.
-
In the Resources tab, view the resources for the Che deployment and their status.