Install Che on Kubernetes using the web console
To set up cloud development environments for your team on an Kubernetes cluster, deploy Che through the web console by using OperatorHub and creating a CheCluster instance.
-
You have an Kubernetes web console session as a cluster administrator. See Accessing the web console.
-
You have an active
kubectlsession with administrative permissions to the Kubernetes cluster. See Getting started with the OpenShift CLI. -
For a repeat installation: you have uninstalled the previous Che instance according to Uninstall Che.
-
In the Administrator view of the Kubernetes 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. The Operator Lifecycle Manager installs the DevWorkspace Operator as a dependency within the Eclipse Che Operator namespace. If the DevWorkspace Operator is already installed in a different namespace, two conflicting installations can result.
If you want to onboard Web Terminal Operator on the cluster, use the same installation namespace as the Eclipse Che Operator. Both operators depend on the DevWorkspace Operator, so all three must be installed in the same namespace.
-
Create the
eclipse-cheproject in Kubernetes as follows:kubectl create namespace eclipse-che -
Go to Operators → Installed Operators → Eclipse Che instance Specification → Create CheCluster → YAML view.
-
In the YAML view, replace
namespace: openshift-operatorswithnamespace: 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.